uridecodebin: use 0 for max buffer size
This commit is contained in:
parent
1fa7f049f1
commit
d5add83976
@ -1297,8 +1297,8 @@ make_decoder (GstURIDecodeBin * decoder)
|
||||
if ((max_time = decoder->buffer_duration) == -1)
|
||||
max_time = 2 * GST_SECOND;
|
||||
|
||||
g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-time",
|
||||
max_time, NULL);
|
||||
g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-buffers",
|
||||
(guint) 0, "max-size-time", max_time, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user