diff options
author | Daniel Drake <dsd@laptop.org> | 2008-06-30 21:25:52 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2008-06-30 21:26:11 (GMT) |
commit | 523edc15322b9af8d99a79e5e809dfae7222eeaa (patch) | |
tree | ac82a61dc47137f72bb6e296b2bc5aed5b6cbd31 /glive.py | |
parent | 9a8768ce915e14a5a9a00297cfeb907f76ad0a2c (diff) |
Remove gst signal watch before disabling sync message emission
A gstreamer assertion suggests this is the correct order of operations.
Diffstat (limited to 'glive.py')
-rw-r--r-- | glive.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -450,8 +450,8 @@ class Glive: gobject.source_remove(self.TRANSCODE_ID) self.TRANSCODE_ID = 0 pipe.set_state(gst.STATE_NULL) - pipe.get_bus().disable_sync_message_emission() pipe.get_bus().remove_signal_watch() + pipe.get_bus().disable_sync_message_emission() wavFilepath = os.path.join(Instance.instancePath, "output.wav") oggFilepath = os.path.join(Instance.instancePath, "output.ogg") #ogv @@ -476,8 +476,8 @@ class Glive: gobject.source_remove(self.TRANSCODE_ID) self.TRANSCODE_ID = 0 pipe.set_state(gst.STATE_NULL) - pipe.get_bus().disable_sync_message_emission() pipe.get_bus().remove_signal_watch() + pipe.get_bus().disable_sync_message_emission() wavFilepath = os.path.join(Instance.instancePath, "output.wav") oggFilepath = os.path.join(Instance.instancePath, "output.ogg") |