diff --git a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp index af481d1f..a128afea 100644 --- a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp +++ b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp @@ -2407,6 +2407,8 @@ OMX_ERRORTYPE omx_vdec::component_init(OMX_STRING role) eRet = OMX_ErrorInvalidComponentName; } + m_progressive = MSM_VIDC_PIC_STRUCT_PROGRESSIVE; + if (eRet == OMX_ErrorNone) { OMX_COLOR_FORMATTYPE dest_color_format; if (m_disable_ubwc_mode) { @@ -2426,7 +2428,6 @@ OMX_ERRORTYPE omx_vdec::component_init(OMX_STRING role) } dpb_bit_depth = MSM_VIDC_BIT_DEPTH_8; - m_progressive = MSM_VIDC_PIC_STRUCT_PROGRESSIVE; is_flexible_format = FALSE; if (m_disable_ubwc_mode) {