mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-01 01:33:52 +00:00
decodebin: Pass through the seekability information when setting multiqueue limits
This commit is contained in:
parent
db771185ed
commit
2d2aa02b77
1 changed files with 2 additions and 1 deletions
|
@ -3653,7 +3653,8 @@ gst_decode_group_reset_buffering (GstDecodeGroup * group)
|
||||||
"low-percent", group->dbin->low_percent,
|
"low-percent", group->dbin->low_percent,
|
||||||
"high-percent", group->dbin->high_percent, NULL);
|
"high-percent", group->dbin->high_percent, NULL);
|
||||||
}
|
}
|
||||||
decodebin_set_queue_size (group->dbin, group->multiqueue, FALSE, FALSE);
|
decodebin_set_queue_size (group->dbin, group->multiqueue, FALSE,
|
||||||
|
(group->parent ? group->parent->seekable : TRUE));
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (group->dbin, "Setting %s buffering to %d",
|
GST_DEBUG_OBJECT (group->dbin, "Setting %s buffering to %d",
|
||||||
GST_ELEMENT_NAME (group->multiqueue), !ret);
|
GST_ELEMENT_NAME (group->multiqueue), !ret);
|
||||||
|
|
Loading…
Reference in a new issue