Add resolve library path and refactor vdpau tests
This is a followup from the pressure-vessel discussion https://gitlab.steamos.cloud/steam/pressure-vessel/issues/1
-
Add srt_vdpau_driver_resolve_library_path: "srt_vdpau_driver_get_library_path" might return a relative path. Instead with this new function we will be sure to receive an absolute path to the driver.
-
Refactor vdpau tests into a single function: Reduce code duplication and improve readability.
While I'm at it I'll also add a function DONE.srt_va_api_driver_resolve_library_path
in this MR.
/cc @smcv @jpwhiting
Edited by Ludovico de Nittis