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: Qiwei Liu <qiweil@codeaurora.org>
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 29c10b8..e01f0da 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -1023,7 +1023,7 @@
#define V4L2_QCOM_BUF_FLAG_CODECCONFIG 0x00020000
#define V4L2_QCOM_BUF_FLAG_EOSEQ 0x00040000
#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_DATA_CORRUPT 0x00400000
#define V4L2_QCOM_BUF_DROP_FRAME 0x00800000