mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
av1decoder: Store display resolution for duplicated picture
Target display resolution might be required by subclass implementation Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2365>
This commit is contained in:
parent
7a1effc499
commit
c3b26de1f2
1 changed files with 2 additions and 0 deletions
|
@ -361,6 +361,8 @@ gst_av1_decoder_decode_frame_header (GstAV1Decoder * self,
|
|||
|
||||
picture->system_frame_number = priv->current_frame->system_frame_number;
|
||||
picture->frame_hdr = *frame_header;
|
||||
picture->frame_hdr.render_width = ref_picture->frame_hdr.render_width;
|
||||
picture->frame_hdr.render_height = ref_picture->frame_hdr.render_height;
|
||||
priv->current_picture = picture;
|
||||
} else {
|
||||
picture = gst_av1_picture_new ();
|
||||
|
|
Loading…
Reference in a new issue