diff options
author | Bastien Nocera <hadess@hadess.net> | 2007-04-18 13:54:44 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2007-04-18 13:54:44 +0000 |
commit | d358bfb611d2544d3d735a095762377c52ed2ba7 (patch) | |
tree | b19e7e61fc5a51888ca46756d8adf7fcd7c6aef2 | |
parent | 7f0af00d11022d8faf3080ec6f9ba3560aa45fcd (diff) | |
download | totem-d358bfb611d2544d3d735a095762377c52ed2ba7.tar.gz |
Backport from Tim-Philipp Müller <tim at centricular dot net> to keep the
2007-04-18 Bastien Nocera <hadess@hadess.net>
* src/backend/bacon-video-widget-gst-0.10.c:
(bacon_video_widget_new): Backport from Tim-Philipp Müller
<tim at centricular dot net> to keep the seekbar in tune
when using a fakesink for the output (Closes: #425458)
svn path=/branches/gnome-2-16/; revision=4237
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/backend/bacon-video-widget-gst-0.10.c | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2007-04-18 Bastien Nocera <hadess@hadess.net> + + * src/backend/bacon-video-widget-gst-0.10.c: + (bacon_video_widget_new): Backport from Tim-Philipp Müller + <tim at centricular dot net> to keep the seekbar in tune + when using a fakesink for the output (Closes: #425458) + 2007-04-11 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c: diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c index 3083af4b7..fd1ecf7e7 100644 --- a/src/backend/bacon-video-widget-gst-0.10.c +++ b/src/backend/bacon-video-widget-gst-0.10.c @@ -4331,6 +4331,8 @@ bacon_video_widget_new (int width, int height, } } else { audio_sink = gst_element_factory_make ("fakesink", "audio-fake-sink"); + if (audio_sink) + g_object_set (audio_sink, "sync", TRUE, NULL); } if (type == BVW_USE_TYPE_VIDEO) { |