mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
decodebin2: Allow all EOS to go through if we don't have a next group
Only drop them if the current group isn't drained .. AND there is a next group to switch to. Should Fix #655268
This commit is contained in:
parent
059db89633
commit
38a6919a7b
1 changed files with 3 additions and 2 deletions
|
@ -2989,8 +2989,9 @@ gst_decode_chain_handle_eos (GstDecodeChain * eos_chain)
|
|||
CHAIN_MUTEX_UNLOCK (chain);
|
||||
GST_DEBUG_OBJECT (dbin,
|
||||
"Current active group in chain %p is not drained yet", chain);
|
||||
/* Instruct caller to drop EOS event */
|
||||
forward_eos = FALSE;
|
||||
/* Instruct caller to drop EOS event if we have future groups */
|
||||
if (chain->next_groups)
|
||||
forward_eos = FALSE;
|
||||
}
|
||||
|
||||
return forward_eos;
|
||||
|
|
Loading…
Reference in a new issue