v4l2slvp8dec: Copy header version
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 4 May 2020 19:33:39 +0000 (15:33 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 5 May 2020 17:57:08 +0000 (17:57 +0000)
This field was not copied.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1245>

sys/v4l2codecs/gstv4l2codecvp8dec.c

index 4ec65f6..92c102c 100644 (file)
@@ -341,6 +341,7 @@ gst_v4l2_codec_vp8_dec_fill_frame_header (GstV4l2CodecVp8Dec * self,
     .horizontal_scale = frame_hdr->horiz_scale_code,
     .vertical_scale = frame_hdr->vert_scale_code,
 
+    .version = frame_hdr->version,
     .prob_skip_false = frame_hdr->prob_skip_false,
     .prob_intra = frame_hdr->prob_intra,
     .prob_last = frame_hdr->prob_last,