diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index 260fac8455..77942609d0 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -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;