[farsight2/master] Lock state of videosink and funnel to prevent race condition
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:23:02 PST 2008
---
tests/gui/fs2-gui.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/gui/fs2-gui.py b/tests/gui/fs2-gui.py
index 97354e2..0b79372 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -588,6 +588,8 @@ class FsUIParticipant:
self.glade.get_widget("user_drawingarea").disconnect_by_func(self.exposed)
del self.streams
self.outcv.acquire()
+ self.videosink.set_locked_state(True)
+ self.funnel.set_locked_state(True)
self.videosink.set_state(gst.STATE_NULL)
self.funnel.set_state(gst.STATE_NULL)
self.pipeline.pipeline.remove(self.videosink)
--
1.5.6.5
More information about the farsight-commits
mailing list