v4l2codecs: mpeg2: update to the new uAPI
authorDaniel Almeida <daniel.almeida@collabora.com>
Tue, 6 Apr 2021 19:42:54 +0000 (16:42 -0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 2 Nov 2021 16:16:29 +0000 (16:16 +0000)
The mpeg2 stateless api has undergone changes as it is being
destage. Update the v4l2-controls header to match.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>

subprojects/gst-plugins-bad/sys/v4l2codecs/linux/videodev2.h

index bdd39c4..d49536a 100644 (file)
@@ -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));