From 1f2ca64ddc20a5219f0db6f3489bfdd80b5cb17c Mon Sep 17 00:00:00 2001 From: totaam Date: Fri, 7 Oct 2022 20:29:30 +0700 Subject: [PATCH] #3592 bump minimum version requirement use the lowest version found in Ubuntu 20.04 and Debian Bullseye --- xpra/codecs/dec_avcodec2/decoder.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpra/codecs/dec_avcodec2/decoder.pyx b/xpra/codecs/dec_avcodec2/decoder.pyx index f2db18bf93..5b3d0566fd 100644 --- a/xpra/codecs/dec_avcodec2/decoder.pyx +++ b/xpra/codecs/dec_avcodec2/decoder.pyx @@ -553,8 +553,8 @@ def get_version(): return (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO) v = get_version() -if v<(3,): - raise ImportError("ffmpeg version %s is too old" % v) +if v<(4, 2): + raise ImportError(f"ffmpeg version {v} is too old") register_all() CODECS = []