codecs: gstvp9decoder: copy frame->system_frame_number into picture

A comment in gstvp9picture.h states that picture->system_frame_number
should get its value from frame->system_frame_number, but in fact
it was never copied at all.

Fix it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1012>
This commit is contained in:
Daniel Almeida 2021-04-08 10:40:03 -03:00 committed by GStreamer Marge Bot
parent 98dc7a64a0
commit a2b0837bc5

View file

@ -433,7 +433,7 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
} else {
picture = gst_vp9_picture_new ();
picture->frame_hdr = frame_hdr;
picture->system_frame_number = frame->system_frame_number;
picture->data = map.data;
picture->size = map.size;