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:
Sebastian Dröge 2011-11-25 11:11:12 +01:00
parent 494b2cb1a7
commit a5535e76e0

View file

@ -2754,6 +2754,12 @@ multi_queue_overrun_cb (GstElement * queue, GstDecodeGroup * group)
queue);
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
* even if child chains are not complete because the will never