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
@ -2989,8 +2989,9 @@ gst_decode_chain_handle_eos (GstDecodeChain * eos_chain)
|
|||||||
CHAIN_MUTEX_UNLOCK (chain);
|
CHAIN_MUTEX_UNLOCK (chain);
|
||||||
GST_DEBUG_OBJECT (dbin,
|
GST_DEBUG_OBJECT (dbin,
|
||||||
"Current active group in chain %p is not drained yet", chain);
|
"Current active group in chain %p is not drained yet", chain);
|
||||||
/* Instruct caller to drop EOS event */
|
/* Instruct caller to drop EOS event if we have future groups */
|
||||||
forward_eos = FALSE;
|
if (chain->next_groups)
|
||||||
|
forward_eos = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return forward_eos;
|
return forward_eos;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user