From 5fbde2b49e85318d9f9acb3ea444c0177fdef974 Mon Sep 17 00:00:00 2001 From: Herman Chen Date: Wed, 29 Nov 2023 10:15:24 +0800 Subject: [PATCH] fix[test]: Fix mpi_enc_mt_test error Signed-off-by: Herman Chen Change-Id: I7a566766972e8e279f48ac4b6f9dc54195ba1ea5 --- test/mpi_enc_mt_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/mpi_enc_mt_test.cpp b/test/mpi_enc_mt_test.cpp index d82a75f9..a419ce76 100644 --- a/test/mpi_enc_mt_test.cpp +++ b/test/mpi_enc_mt_test.cpp @@ -717,10 +717,10 @@ void *enc_test_input(void *arg) } else { if (p->cam_ctx == NULL) { ret = MPP_OK; - // ret = fill_image((RK_U8 *)buf, p->width, p->height, p->hor_stride, - // p->ver_stride, p->fmt, p->frm_cnt_in); - // if (ret) - // break; + ret = fill_image((RK_U8 *)buf, p->width, p->height, p->hor_stride, + p->ver_stride, p->fmt, p->frm_cnt_in); + if (ret) + break; } else { cam_frm_idx = camera_source_get_frame(p->cam_ctx); mpp_assert(cam_frm_idx >= 0);