decodebin: Return immediately from checking if a chain is complete if we're shutting down
This commit is contained in:
parent
83f2476976
commit
062246fc6e
@ -3320,6 +3320,9 @@ gst_decode_chain_is_complete (GstDecodeChain * chain)
|
|||||||
gboolean complete = FALSE;
|
gboolean complete = FALSE;
|
||||||
|
|
||||||
CHAIN_MUTEX_LOCK (chain);
|
CHAIN_MUTEX_LOCK (chain);
|
||||||
|
if (chain->dbin->shutdown)
|
||||||
|
goto out;
|
||||||
|
|
||||||
if (chain->deadend) {
|
if (chain->deadend) {
|
||||||
complete = TRUE;
|
complete = TRUE;
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user