mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +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)
|
if ((max_time = decoder->buffer_duration) == -1)
|
||||||
max_time = 2 * GST_SECOND;
|
max_time = 2 * GST_SECOND;
|
||||||
|
|
||||||
g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-time",
|
g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-buffers",
|
||||||
max_time, NULL);
|
(guint) 0, "max-size-time", max_time, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue