thomasvs - in flumotion/trunk: . flumotion/component
flumotion-commit at lists.fluendo.com
flumotion-commit at lists.fluendo.com
Mon Jul 30 15:55:47 CEST 2007
Author: thomasvs
Date: Mon Jul 30 15:55:41 2007
New Revision: 5377
Modified:
flumotion/trunk/ChangeLog
flumotion/trunk/flumotion/component/feedcomponent.py
Log:
* flumotion/component/feedcomponent.py
(FeedComponentMedium.remote_setGstDebug):
Fix setting the debug stream to a glob.
Tested with bin/flumotion-command -m localhost:7531 invoke
/default/http-audio setGstDebug s multi*:5
Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog (original)
+++ flumotion/trunk/ChangeLog Mon Jul 30 15:55:41 2007
@@ -1,3 +1,11 @@
+2007-07-30 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * flumotion/component/feedcomponent.py
+ (FeedComponentMedium.remote_setGstDebug):
+ Fix setting the debug stream to a glob.
+ Tested with bin/flumotion-command -m localhost:7531 invoke
+ /default/http-audio setGstDebug s multi*:5
+
2007-07-30 Michael Smith <msmith at fluendo.com>
* flumotion/component/feedcomponent.py:
Modified: flumotion/trunk/flumotion/component/feedcomponent.py
==============================================================================
--- flumotion/trunk/flumotion/component/feedcomponent.py (original)
+++ flumotion/trunk/flumotion/component/feedcomponent.py Mon Jul 30 15:55:41 2007
@@ -107,13 +107,19 @@
value = int(pair[0])
elif len(pair) == 2:
glob, value = pair
+ value = int(value)
else:
self.warning("Cannot parse GStreamer debug setting '%s'." %
part)
continue
if glob:
- gst.debug_set_threshold_for_name(glob, value)
+ try:
+ # value has to be an integer
+ gst.debug_set_threshold_for_name(glob, value)
+ except TypeError:
+ self.warning("Cannot set glob %s to value %s" % (
+ glob, value))
else:
gst.debug_set_default_threshold(value)
More information about the flumotion-commit
mailing list