uridecodebin: Always use buffering in multiqueue for adaptive streams

This commit is contained in:
Sebastian Dröge 2014-02-19 10:21:16 +01:00
parent a2837a22a5
commit ad51b38b7c

View file

@ -1826,9 +1826,10 @@ make_decoder (GstURIDecodeBin * decoder)
/* propagate the use-buffering property but only when we are not already
* doing stream buffering with queue2. FIXME, we might want to do stream
* buffering with the multiqueue buffering instead of queue2. */
g_object_set (decodebin, "use-buffering", decoder->use_buffering, NULL);
g_object_set (decodebin, "use-buffering", decoder->use_buffering
|| decoder->is_adaptive, NULL);
if (decoder->use_buffering) {
if (decoder->use_buffering || decoder->is_adaptive) {
guint max_bytes;
guint64 max_time;