From a63d1cf4c446569c13e6da3a34360ad4fd7476ab Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 7 Mar 2022 18:59:37 +0900 Subject: [PATCH] cudamemorycopy: Fix build when gl is disabled Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1707 Part-of: --- subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c b/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c index c165090..cc4c111 100644 --- a/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c +++ b/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c @@ -908,8 +908,9 @@ gst_cuda_memory_copy_transform (GstBaseTransform * trans, GstBuffer * inbuf, ret = gst_cuda_memory_copy_gl_interop (self, inbuf, in_info, outbuf, out_info, context, FALSE); - } else { + } else #endif + { GST_TRACE_OBJECT (self, "CUDA <-> SYSTEM"); ret = gst_cuda_memory_copy_transform_cuda (self, inbuf, in_info, in_cuda, -- 2.7.4