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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6158>
This commit is contained in:
Kamal Mostafa 2024-02-17 13:19:15 -08:00 committed by GStreamer Marge Bot
parent 977a59a3fb
commit ce45e63dcc

View file

@ -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;