[farsight2/master] Set latency of 100ms (to match the jb)
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:37 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 5d851f6..ebc6a88 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -121,6 +121,7 @@ class FsUIPipeline:
self.previewsink.set_state(gst.STATE_PLAYING)
self.videosource.tee.link(self.previewsink)
self.pipeline.set_state(gst.STATE_PLAYING)
+ self.pipeline.send_event(gst.event_new_latency(100*gst.MSECOND))
return self.previewsink
def have_size(self, pad, buffer, callback):
@@ -348,6 +349,7 @@ class FsUIParticipant:
self.videosink.set_state(gst.STATE_PLAYING)
self.funnel.set_state(gst.STATE_PLAYING)
+ self.pipeline.pipeline.send_event(gst.event_new_latency(100*gst.MSECOND))
self.outcv.notifyAll()
finally:
self.outcv.release()
--
1.5.6.5
More information about the farsight-commits
mailing list