diff --git a/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c b/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c index 0368961005..8f13451c7b 100644 --- a/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c +++ b/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c @@ -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;