From dfb89872704e82ee9dcc2bb7ad7e356f717cf56d Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 4 Dec 2012 15:52:21 +0100 Subject: [PATCH] gstreamer: force qos on videosink, it make audio/video sync on full hd/h264 video on osx. --- kivy/core/video/video_gstreamer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kivy/core/video/video_gstreamer.py b/kivy/core/video/video_gstreamer.py index 5552f8c5e..b5bd038c6 100644 --- a/kivy/core/video/video_gstreamer.py +++ b/kivy/core/video/video_gstreamer.py @@ -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)))