Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f79da1ba authored by Praveen Kumar Dwivedi's avatar Praveen Kumar Dwivedi Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE



For V4L2_CID_MPEG_VIDC_VIDEO_PICTYPE_DEC_MODE ioctl the valid
ctrl values are V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_ON and
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF. But for
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF case
we are sending wrong enable_picture.picture_type value. We are
also oring HAL_PICTURE_IDR, whereas only
HAL_PICTURE_I | HAL_PICTURE_P | HAL_PICTURE_B should be sent.

Change-Id: I96103d068b3e6e5f23da07d9a4c20e92ed55557c
Signed-off-by: default avatarPraveen Kumar Dwivedi <pkd@codeaurora.org>
parent 959abd17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment