gstreamer: force qos on videosink, it make audio/video sync on full hd/h264 video on osx.

This commit is contained in:
Mathieu Virbel 2012-12-04 15:52:21 +01:00
parent 9b402de1bd
commit dfb8987270
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ class VideoGStreamer(VideoBase):
self._videosink.set_property('caps', gst.Caps(_VIDEO_CAPS))
self._videosink.set_property('async', True)
self._videosink.set_property('drop', True)
self._videosink.set_property('qos', True)
self._videosink.set_property('emit-signals', True)
self._videosink.connect('new-buffer', partial(
_gst_new_buffer, ref(self)))