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 <josep@fluendo.com>
* 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).
This commit is contained in:
Josep Torra Valles 2007-09-11 11:29:12 +00:00 committed by Tim-Philipp Müller
parent c942252430
commit 1004fb0603
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Josep Torra Valles <josep@fluendo.com>
* 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 <wim.taymans@gmail.com>
* gst-libs/gst/audio/gstbaseaudiosrc.c:

View file

@ -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: