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
@ -468,6 +468,8 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
|
||||
GST_ERROR_OBJECT (self, "subclass didn't provide duplicated picture");
|
||||
goto unmap_and_error;
|
||||
}
|
||||
|
||||
picture->system_frame_number = pic_to_dup->system_frame_number;
|
||||
} else {
|
||||
picture = gst_vp9_picture_new ();
|
||||
picture->frame_hdr = frame_hdr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user