Skip to content

Commit

Permalink
Merge "mm-video-v4l2: Initialize clip to progressive by default."
Browse files Browse the repository at this point in the history
  • Loading branch information
Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 8, 2018
2 parents e81e397 + c88ab1b commit 83e7f1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 83e7f1d

Please sign in to comment.