mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
decoder: vp9: Fill the VADecPictureParameterBufferVP9 width/height from frame header
Always fill width/height of VADecPictureParameterBufferVP9 from frame header. Preliminary fix for supproting multi resolution video decode.
This commit is contained in:
parent
b9feff206f
commit
4aa523f8b4
1 changed files with 2 additions and 2 deletions
|
@ -254,8 +254,8 @@ fill_picture (GstVaapiDecoderVp9 * decoder, GstVaapiPicture * picture)
|
|||
GstVp9FrameHdr *frame_hdr = &priv->frame_hdr;
|
||||
|
||||
/* Fill in VAPictureParameterBufferVP9 */
|
||||
pic_param->frame_width = priv->width;
|
||||
pic_param->frame_height = priv->height;
|
||||
pic_param->frame_width = frame_hdr->width;
|
||||
pic_param->frame_height = frame_hdr->height;
|
||||
|
||||
/* Fill in ReferenceFrames */
|
||||
vaapi_fill_ref_frames (decoder, picture, frame_hdr, pic_param);
|
||||
|
|
Loading…
Reference in a new issue