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

Commit 7fcf43dd authored by Qiwei Liu's avatar Qiwei Liu Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: modify v4l2 mbaff flag to avoid conflict



Currently V4L2_MSM_BUF_FLAG_MBAFF is defined using the same
value as V4L2_BUF_FLAG_LAST, this will cause H264 MBAFF clips
can't playback successfully.
Modify to use another bit for V4L2_MSM_BUF_FLAG_MBAFF.

CRs-Fixed: 2213243
Change-Id: I31cbc79dad55f391d7a0509f9e918b94d22f32ea
Signed-off-by: default avatarQiwei Liu <qiweil@codeaurora.org>
parent c0690fe0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1023,7 +1023,7 @@ struct v4l2_buffer {
#define V4L2_QCOM_BUF_FLAG_CODECCONFIG		0x00020000
#define V4L2_QCOM_BUF_FLAG_CODECCONFIG		0x00020000
#define V4L2_QCOM_BUF_FLAG_EOSEQ		0x00040000
#define V4L2_QCOM_BUF_FLAG_EOSEQ		0x00040000
#define V4L2_QCOM_BUF_TIMESTAMP_INVALID		0x00080000
#define V4L2_QCOM_BUF_TIMESTAMP_INVALID		0x00080000
#define V4L2_MSM_BUF_FLAG_MBAFF			0x00100000
#define V4L2_MSM_BUF_FLAG_MBAFF			0x00000200
#define V4L2_QCOM_BUF_FLAG_DECODEONLY		0x00200000
#define V4L2_QCOM_BUF_FLAG_DECODEONLY		0x00200000
#define V4L2_QCOM_BUF_DATA_CORRUPT		0x00400000
#define V4L2_QCOM_BUF_DATA_CORRUPT		0x00400000
#define V4L2_QCOM_BUF_DROP_FRAME		0x00800000
#define V4L2_QCOM_BUF_DROP_FRAME		0x00800000