Merge pull request #716 from elezar/discover-vdpau-libraries

Also search for driver libraries in vdpau
This commit is contained in:
Evan Lezar 2024-09-30 11:18:49 +02:00 committed by GitHub
commit f126877254
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,7 +200,10 @@ func getVersionLibs(logger logger.Interface, driver *root.Driver, version string
libraries := lookup.NewFileLocator( libraries := lookup.NewFileLocator(
lookup.WithLogger(logger), lookup.WithLogger(logger),
lookup.WithSearchPaths(libRoot), lookup.WithSearchPaths(
libRoot,
filepath.Join(libRoot, "vdpau"),
),
lookup.WithOptional(true), lookup.WithOptional(true),
) )