Default ffmpeg version to current btbn version so unit tests pass

This commit is contained in:
Andrew Reiter 2023-07-05 16:32:00 -04:00
parent 955823f135
commit 6bf05a8d1b

View File

@ -43,7 +43,9 @@ class LibvaGpuSelector:
TIMEOUT_PARAM = ( TIMEOUT_PARAM = (
"-timeout" if int(os.environ["LIBAVFORMAT_VERSION_MAJOR"]) >= 59 else "-stimeout" "-timeout"
if int(os.getenv("LIBAVFORMAT_VERSION_MAJOR", "59")) >= 59
else "-stimeout"
) )
_gpu_selector = LibvaGpuSelector() _gpu_selector = LibvaGpuSelector()