mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
decodebin2: also remove the bytes limit
Remove the byte limit for adaptive http streaming. Because some fragments might be very big, we might need a lot of buffering. I also suspect another problem where data is actually missing and things go out of sync somehow.
This commit is contained in:
parent
26c5bc1ce4
commit
c5840ebbd9
1 changed files with 3 additions and 1 deletions
|
@ -3128,7 +3128,9 @@ decodebin_set_queue_size (GstDecodeBin * dbin, GstElement * multiqueue,
|
|||
} else {
|
||||
/* update runtime limits. At runtime, we try to keep the amount of buffers
|
||||
* in the queues as low as possible (but at least 5 buffers). */
|
||||
if ((max_bytes = dbin->max_size_bytes) == 0)
|
||||
if (dbin->use_buffering)
|
||||
max_bytes = 0;
|
||||
else if ((max_bytes = dbin->max_size_bytes) == 0)
|
||||
max_bytes = AUTO_PLAY_SIZE_BYTES;
|
||||
if ((max_buffers = dbin->max_size_buffers) == 0)
|
||||
max_buffers = AUTO_PLAY_SIZE_BUFFERS;
|
||||
|
|
Loading…
Reference in a new issue