mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 12:55:53 +00:00
decodebin2: Set the multiqueue limits to the playing limits after overrun too
We don't expect any new pads anymore and prerolling is finished now.
This commit is contained in:
parent
494b2cb1a7
commit
a5535e76e0
1 changed files with 6 additions and 0 deletions
|
@ -2754,6 +2754,12 @@ multi_queue_overrun_cb (GstElement * queue, GstDecodeGroup * group)
|
||||||
queue);
|
queue);
|
||||||
|
|
||||||
group->overrun = TRUE;
|
group->overrun = TRUE;
|
||||||
|
/* this group has prerolled enough to not need more pads,
|
||||||
|
* we can probably set its buffering state to playing now */
|
||||||
|
GST_DEBUG_OBJECT (group->dbin, "Setting group %p multiqueue to "
|
||||||
|
"'playing' buffering mode", group);
|
||||||
|
decodebin_set_queue_size (group->dbin, group->multiqueue, FALSE,
|
||||||
|
(group->parent ? group->parent->seekable : TRUE));
|
||||||
|
|
||||||
/* FIXME: We should make sure that everything gets exposed now
|
/* FIXME: We should make sure that everything gets exposed now
|
||||||
* even if child chains are not complete because the will never
|
* even if child chains are not complete because the will never
|
||||||
|
|
Loading…
Reference in a new issue