gst/playback/gstplaybin2.c: Fix buffer-duration property.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (activate_group):
Fix buffer-duration property.
This commit is contained in:
Wim Taymans 2008-11-25 11:00:55 +00:00
parent 6983c1c85b
commit db785a1f52
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-11-25 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/playback/gstplaybin2.c: (activate_group):
Fix buffer-duration property.
2008-11-25 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/audio/gstbaseaudiosink.c:

View file

@ -2131,7 +2131,8 @@ activate_group (GstPlayBin * playbin, GstSourceGroup * group)
g_object_set (uridecodebin, "subtitle-encoding", playbin->encoding, NULL);
/* configure uri */
g_object_set (uridecodebin, "uri", group->uri, NULL);
g_object_set (uridecodebin, "buffer-time", playbin->buffer_duration, NULL);
g_object_set (uridecodebin, "buffer-duration", playbin->buffer_duration,
NULL);
g_object_set (uridecodebin, "buffer-size", playbin->buffer_size, NULL);
/* connect pads and other things */