mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-27 19:10:21 +08:00
[mpp_enc]: Fix stuck on reset async mode encoder
Change-Id: I11ff972d9dccd81ea4d274443c920710379f1aff Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -920,6 +920,9 @@ MPP_RET Mpp::reset()
|
||||
mFrmOut->flush();
|
||||
mFrmOut->unlock();
|
||||
} else {
|
||||
mFrmIn->lock();
|
||||
mFrmIn->flush();
|
||||
mFrmIn->unlock();
|
||||
mFrmOut->lock();
|
||||
mFrmOut->flush();
|
||||
mFrmOut->unlock();
|
||||
@@ -929,6 +932,9 @@ MPP_RET Mpp::reset()
|
||||
mPktIn->lock();
|
||||
mPktIn->flush();
|
||||
mPktIn->unlock();
|
||||
mPktOut->lock();
|
||||
mPktOut->flush();
|
||||
mPktOut->unlock();
|
||||
}
|
||||
|
||||
return MPP_OK;
|
||||
|
||||
Reference in New Issue
Block a user