mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
977a59a3fb
commit
ce45e63dcc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue