mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 19:10:15 +08:00
[mpp_dec]: Fix stuck issue on decoder control
Signed-off-by: Chen Jinsen <kevin.chen@rock-chips.com> Change-Id: I563a899fdfa428f6204934248e0f9b60cc61a186
This commit is contained in:
@@ -137,6 +137,10 @@ static MPP_RET check_task_wait(MppDecImpl *dec, DecTask *task)
|
|||||||
if (dec->reset_flag)
|
if (dec->reset_flag)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// NOTE: User control should always be processed
|
||||||
|
if (notify & MPP_DEC_CONTROL)
|
||||||
|
break;
|
||||||
|
|
||||||
// NOTE: When condition is not fulfilled check nofify flag again
|
// NOTE: When condition is not fulfilled check nofify flag again
|
||||||
if (!curr_wait || (curr_wait & notify))
|
if (!curr_wait || (curr_wait & notify))
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user