mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
vp9decoder: Copy system_frame_number in duplicate_picture
Just like AV1, copy the system_frame_number from the original picture to make it clear they reference the same data. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1992>
This commit is contained in:
parent
80107d4a86
commit
a7ceac50b2
1 changed files with 2 additions and 0 deletions
|
@ -468,6 +468,8 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
|
||||||
GST_ERROR_OBJECT (self, "subclass didn't provide duplicated picture");
|
GST_ERROR_OBJECT (self, "subclass didn't provide duplicated picture");
|
||||||
goto unmap_and_error;
|
goto unmap_and_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
picture->system_frame_number = pic_to_dup->system_frame_number;
|
||||||
} else {
|
} else {
|
||||||
picture = gst_vp9_picture_new ();
|
picture = gst_vp9_picture_new ();
|
||||||
picture->frame_hdr = frame_hdr;
|
picture->frame_hdr = frame_hdr;
|
||||||
|
|
Loading…
Reference in a new issue