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