mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
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:
parent
c942252430
commit
1004fb0603
2 changed files with 10 additions and 1 deletions
|
@ -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>
|
2007-09-10 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||||
|
|
|
@ -809,7 +809,7 @@ gen_preroll_element (GstPlayBaseBin * play_base_bin,
|
||||||
*/
|
*/
|
||||||
g_object_set (G_OBJECT (preroll),
|
g_object_set (G_OBJECT (preroll),
|
||||||
"max-size-buffers", 0, "max-size-bytes",
|
"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);
|
"max-size-time", play_base_bin->queue_size, NULL);
|
||||||
|
|
||||||
/* the overrun signal is always attached and serves two purposes:
|
/* the overrun signal is always attached and serves two purposes:
|
||||||
|
|
Loading…
Reference in a new issue