From 1004fb0603b1062687d2f9df82525f115490714e Mon Sep 17 00:00:00 2001 From: Josep Torra Valles Date: Tue, 11 Sep 2007 11:29:12 +0000 Subject: [PATCH] gst/playback/gstplaybasebin.c: Increase upper limit for audio queue a bit; fixes preroll problem with playbin and dec... Original commit message from CVS: Patch by: Josep Torra Valles * gst/playback/gstplaybasebin.c: Increase upper limit for audio queue a bit; fixes preroll problem with playbin and decodebin2 when playing a quicktime trailer with multichannel audio via http (#464666). --- ChangeLog | 9 +++++++++ gst/playback/gstplaybasebin.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9ac3ebf..14fb52e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-09-11 Tim-Philipp Müller + + Patch by: Josep Torra Valles + + * gst/playback/gstplaybasebin.c: + Increase upper limit for audio queue a bit; fixes preroll problem + with playbin and decodebin2 when playing a quicktime trailer with + multichannel audio via http (#464666). + 2007-09-10 Wim Taymans * gst-libs/gst/audio/gstbaseaudiosrc.c: diff --git a/gst/playback/gstplaybasebin.c b/gst/playback/gstplaybasebin.c index c84e6cc..5c3a111 100644 --- a/gst/playback/gstplaybasebin.c +++ b/gst/playback/gstplaybasebin.c @@ -809,7 +809,7 @@ gen_preroll_element (GstPlayBaseBin * play_base_bin, */ g_object_set (G_OBJECT (preroll), "max-size-buffers", 0, "max-size-bytes", - ((type == GST_STREAM_TYPE_VIDEO) ? 25 : 1) * 1024 * 1024, + ((type == GST_STREAM_TYPE_VIDEO) ? 25 : 2) * 1024 * 1024, "max-size-time", play_base_bin->queue_size, NULL); /* the overrun signal is always attached and serves two purposes: -- 2.7.4