From b05659859ab83b4739f2640d313383058ea3089f Mon Sep 17 00:00:00 2001 From: Tong Wu Date: Wed, 10 May 2023 14:34:32 +0800 Subject: [PATCH] msdk: fix a not referenced build error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Error Type: error C4189: ‘dma_caps’: local variable is initialized but not referenced Part-of: --- subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c b/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c index 5d9988aa51..d23db0c28f 100644 --- a/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c +++ b/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c @@ -1702,6 +1702,7 @@ gst_msdkcaps_dec_create_static_caps (GstMsdkContext * context, gst_caps_from_string ("video/x-raw(memory:VAMemory), format=(string){ NV12 }")); #else + VAR_UNUSED (dma_caps); VAR_UNUSED (dma_caps_str); VAR_UNUSED (dma_fmts); gst_caps_append (out_caps,