mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
fix[test]: Fix mpi_enc_mt_test error
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I7a566766972e8e279f48ac4b6f9dc54195ba1ea5
This commit is contained in:
@@ -717,10 +717,10 @@ void *enc_test_input(void *arg)
|
|||||||
} else {
|
} else {
|
||||||
if (p->cam_ctx == NULL) {
|
if (p->cam_ctx == NULL) {
|
||||||
ret = MPP_OK;
|
ret = MPP_OK;
|
||||||
// ret = fill_image((RK_U8 *)buf, p->width, p->height, p->hor_stride,
|
ret = fill_image((RK_U8 *)buf, p->width, p->height, p->hor_stride,
|
||||||
// p->ver_stride, p->fmt, p->frm_cnt_in);
|
p->ver_stride, p->fmt, p->frm_cnt_in);
|
||||||
// if (ret)
|
if (ret)
|
||||||
// break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
cam_frm_idx = camera_source_get_frame(p->cam_ctx);
|
cam_frm_idx = camera_source_get_frame(p->cam_ctx);
|
||||||
mpp_assert(cam_frm_idx >= 0);
|
mpp_assert(cam_frm_idx >= 0);
|
||||||
|
Reference in New Issue
Block a user