fix[h264d]: fix no output for mvc stream

By default, the frame of view 0 is decoded and output.

Change-Id: I26287147548620f733712d4ab044df7c830dbd7f
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
This commit is contained in:
Yandong Lin
2024-09-24 14:32:15 +08:00
committed by Herman Chen
parent 61d34ba1d1
commit c16dfcea7d

View File

@@ -234,7 +234,8 @@ static MPP_RET parser_one_nalu(H264_SLICE_t *currSlice)
return MPP_OK; return MPP_OK;
} }
//!< check whether supprot mvc //!< check whether supprot mvc
if (currSlice->mvcExt.valid && !currSlice->p_Dec->cfg->base.enable_mvc) { if (currSlice->mvcExt.view_id && currSlice->mvcExt.valid &&
!currSlice->p_Dec->cfg->base.enable_mvc) {
currSlice->p_Dec->nalu_ret = MvcDisAble; currSlice->p_Dec->nalu_ret = MvcDisAble;
return MPP_OK; return MPP_OK;
} }