Skip to content

Commit

Permalink
#3592 bump minimum version requirement
Browse files Browse the repository at this point in the history
use the lowest version found in Ubuntu 20.04 and Debian Bullseye
  • Loading branch information
totaam committed Oct 7, 2022
1 parent 7d2c766 commit 1f2ca64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/codecs/dec_avcodec2/decoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 1f2ca64

Please sign in to comment.