From 613d380b979b96dcb55968330f14d6e713a91248 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sun, 3 Oct 2021 17:37:02 +0900 Subject: [PATCH] nvcodec: nvvp9sldec: Fix for VP9 profile2 decoding Fix for output video format to be selected correctly Part-of: --- subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.34.1