mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
nvcodec: nvvp9sldec: Fix for VP9 profile2 decoding
Fix for output video format to be selected correctly Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1026>
This commit is contained in:
parent
baf252b48b
commit
613d380b97
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ gst_nv_vp9_dec_new_sequence (GstVp9Decoder * decoder,
|
|||
|
||||
self->width = frame_hdr->width;
|
||||
self->height = frame_hdr->height;
|
||||
self->profile = frame_hdr->profile;
|
||||
|
||||
if (self->profile == GST_VP9_PROFILE_0) {
|
||||
out_format = GST_VIDEO_FORMAT_NV12;
|
||||
|
|
Loading…
Reference in a new issue