From ce45e63dccb229e1ce62c8cf9db5923574c8ebcf Mon Sep 17 00:00:00 2001 From: Kamal Mostafa Date: Sat, 17 Feb 2024 13:19:15 -0800 Subject: [PATCH] tests: cudafilter: actually check for cudascale Actually check for availability of 'cudascale' instead of accidentally checking for 'cudadownload' twice. Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3327 Part-of: --- subprojects/gst-plugins-bad/tests/check/elements/cudafilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/tests/check/elements/cudafilter.c b/subprojects/gst-plugins-bad/tests/check/elements/cudafilter.c index 8c3fd5061f..753c1e65c5 100644 --- a/subprojects/gst-plugins-bad/tests/check/elements/cudafilter.c +++ b/subprojects/gst-plugins-bad/tests/check/elements/cudafilter.c @@ -130,7 +130,7 @@ check_cuda_available (void) } gst_object_unref (elem); - elem = gst_element_factory_make ("cudadownload", NULL); + elem = gst_element_factory_make ("cudascale", NULL); if (!elem) { GST_WARNING ("cudascale is not available, possibly driver load failure"); return FALSE;