mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-13 12:53:41 +08:00
[legacy]: fix error on setup default width/height
Change-Id: I95e3e7cfb04063a81e5ab9e1dae261f2ed4957f3 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -1325,7 +1325,7 @@ RK_S32 VpuApiLegacy::control(VpuCodecContext *ctx, VPU_API_CMD cmd, void *param)
|
|||||||
mpp_frame_set_ver_stride(frame, p->ImgVerStride);
|
mpp_frame_set_ver_stride(frame, p->ImgVerStride);
|
||||||
mpp_frame_set_fmt(frame, (MppFrameFormat)p->CodecType);
|
mpp_frame_set_fmt(frame, (MppFrameFormat)p->CodecType);
|
||||||
|
|
||||||
ret = mpi->control(mpp_ctx, mpicmd, (MppParam)param);
|
ret = mpi->control(mpp_ctx, mpicmd, (MppParam)frame);
|
||||||
|
|
||||||
mpp_frame_deinit(&frame);
|
mpp_frame_deinit(&frame);
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user