mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
decodebin: Return immediately from checking if a chain is complete if we're shutting down
This commit is contained in:
parent
83f2476976
commit
062246fc6e
1 changed files with 3 additions and 0 deletions
|
@ -3320,6 +3320,9 @@ gst_decode_chain_is_complete (GstDecodeChain * chain)
|
|||
gboolean complete = FALSE;
|
||||
|
||||
CHAIN_MUTEX_LOCK (chain);
|
||||
if (chain->dbin->shutdown)
|
||||
goto out;
|
||||
|
||||
if (chain->deadend) {
|
||||
complete = TRUE;
|
||||
goto out;
|
||||
|
|
Loading…
Reference in a new issue