summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTong Wu <tong1.wu@intel.com>2023-05-10 14:34:32 +0800
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-05-10 07:57:45 +0000
commitb05659859ab83b4739f2640d313383058ea3089f (patch)
tree4769230799d26ef3d9e50911998352807a3f15d3
parent1fb4a76c3505224082e5479ff5f21e73c2984e00 (diff)
downloadgstreamer-b05659859ab83b4739f2640d313383058ea3089f.tar.gz
msdk: fix a not referenced build error
Error Type: error C4189: ‘dma_caps’: local variable is initialized but not referenced Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4587>
-rw-r--r--subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c1
1 files changed, 1 insertions, 0 deletions
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,