media/gpu/v4l2: use upstream control V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR
Replace our own custom V4L2_CID_MPEG_VIDEO_H264_SPS_PPS_BEFORE_IDR with V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR that serves the same purpose, but is available upstream. Since this control is not necessarily defined for older kernels, keep our own definition in case it is missing to avoid breaking builds. The control will just be reported as unavailable in this case. BUG=b:167992324 TEST=Chromium builds for arm-generic Change-Id: I5f210f76ea0cccf4f7efe606dc8b873c3d254bea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409058Reviewed-by:David Staessens <dstaessens@chromium.org> Reviewed-by:
Chih-Yu Huang <akahuang@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#808769}
Showing
Please register or sign in to comment