mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
decodebin2: still report chain as drained when not 'handled'
Even if the chain hasn't been 'handled' in this switching round, report it as drained so upper chains/groups know abou it. This makes switching happen on upper levels of the groups/chain trees
This commit is contained in:
parent
ce20bc1dc0
commit
42db7c7b08
1 changed files with 3 additions and 0 deletions
|
@ -3397,6 +3397,9 @@ drain_and_switch_chains (GstDecodeChain * chain, GstDecodePad * drainpad,
|
||||||
chain->drained = TRUE;
|
chain->drained = TRUE;
|
||||||
/* We're drained ! */
|
/* We're drained ! */
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (subdrained && !chain->next_groups)
|
||||||
|
*drained = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue