mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpi_dec_multi_test] fix output frame_count > frame_num issue
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com> Change-Id: I87601b91cbbb3561ec022cb5e8e936876f2f6202
This commit is contained in:
@@ -237,15 +237,15 @@ static int multi_dec_simple(MpiDecMultiCtx *data)
|
||||
break;
|
||||
} while (1);
|
||||
|
||||
if (pkt_done)
|
||||
break;
|
||||
|
||||
if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) ||
|
||||
((data->frame_num == 0) && frm_eos)) {
|
||||
data->loop_end = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
if (pkt_done)
|
||||
break;
|
||||
|
||||
/*
|
||||
* why sleep here:
|
||||
* mpi->decode_put_packet will failed when packet in internal queue is
|
||||
|
Reference in New Issue
Block a user