mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
uridecodebin: use 0 for max buffer size
This commit is contained in:
parent
1fa7f049f1
commit
d5add83976
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue