From 4fe6bc1afea6e09613b2a13c4b535d3b74959e71 Mon Sep 17 00:00:00 2001 From: Daniel Almeida Date: Tue, 6 Apr 2021 16:42:54 -0300 Subject: [PATCH] v4l2codecs: mpeg2: update to the new uAPI The mpeg2 stateless api has undergone changes as it is being destage. Update the v4l2-controls header to match. Part-of: --- subprojects/gst-plugins-bad/sys/v4l2codecs/linux/videodev2.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subprojects/gst-plugins-bad/sys/v4l2codecs/linux/videodev2.h b/subprojects/gst-plugins-bad/sys/v4l2codecs/linux/videodev2.h index bdd39c404c..d49536a084 100644 --- a/subprojects/gst-plugins-bad/sys/v4l2codecs/linux/videodev2.h +++ b/subprojects/gst-plugins-bad/sys/v4l2codecs/linux/videodev2.h @@ -1713,6 +1713,9 @@ struct v4l2_ext_control { struct v4l2_ctrl_h264_slice_params *p_h264_slice_params; struct v4l2_ctrl_h264_decode_params *p_h264_decode_params; struct v4l2_ctrl_fwht_params *p_fwht_params; + struct v4l2_ctrl_mpeg2_sequence *p_mpeg2_sequence; + struct v4l2_ctrl_mpeg2_picture *p_mpeg2_picture; + struct v4l2_ctrl_mpeg2_quantisation *p_mpeg2_quantisation; void *ptr; }; } __attribute__ ((packed));