mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
fix[utils]: fix convert format error
Change-Id: I9994ab4671dbf9c0f7b0b0476c9fd2710294805d Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
This commit is contained in:
parent
5d00860530
commit
c83da7de68
5 changed files with 88 additions and 27 deletions
|
|
@ -499,7 +499,7 @@ void *thread_decode(void *arg)
|
|||
if (MPP_FRAME_FMT_IS_YUV(cmd->format) || MPP_FRAME_FMT_IS_RGB(cmd->format)) {
|
||||
MPP_RET ret = mpi->control(ctx, MPP_DEC_SET_OUTPUT_FORMAT, &cmd->format);
|
||||
if (ret) {
|
||||
mpp_err("Failed to set output format %d\n", cmd->format);
|
||||
mpp_err("Failed to set output format 0x%x\n", cmd->format);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue