fix[utils]: fix convert format error

Change-Id: I9994ab4671dbf9c0f7b0b0476c9fd2710294805d
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
This commit is contained in:
xueman.ruan
2023-08-11 16:42:57 +08:00
parent 5d00860530
commit c83da7de68
5 changed files with 88 additions and 27 deletions

View File

@@ -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;
}
}