cudamemorycopy: Fix build when gl is disabled
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1707 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1868>
This commit is contained in:
parent
41d436e56e
commit
a63d1cf4c4
@ -908,8 +908,9 @@ gst_cuda_memory_copy_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||||||
|
|
||||||
ret = gst_cuda_memory_copy_gl_interop (self, inbuf, in_info,
|
ret = gst_cuda_memory_copy_gl_interop (self, inbuf, in_info,
|
||||||
outbuf, out_info, context, FALSE);
|
outbuf, out_info, context, FALSE);
|
||||||
} else {
|
} else
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
GST_TRACE_OBJECT (self, "CUDA <-> SYSTEM");
|
GST_TRACE_OBJECT (self, "CUDA <-> SYSTEM");
|
||||||
|
|
||||||
ret = gst_cuda_memory_copy_transform_cuda (self, inbuf, in_info, in_cuda,
|
ret = gst_cuda_memory_copy_transform_cuda (self, inbuf, in_info, in_cuda,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user