Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with FFmpeg version with no pacth version
FFmpeg uses MAYOR.MINOR.PATCH version semantics. When patch version is 0, the reported version is only MAYOR.MINOR. For instace, when ``` $ ffmpeg -version ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers ``` Error: ``` Traceback (most recent call last): File "/home/rgonzalez/src/github.com/fluendo/fluster/./fluster.py", line 23, in <module> fluster_main() File "/home/rgonzalez/src/github.com/fluendo/fluster/fluster/main.py", line 41, in fluster_main main.run() File "/home/rgonzalez/src/github.com/fluendo/fluster/fluster/main.py", line 85, in run args.func(args, fluster) File "/home/rgonzalez/src/github.com/fluendo/fluster/fluster/main.py", line 371, in _list_cmd fluster.list_decoders(check=args.check, verbose=args.verbose) File "/home/rgonzalez/src/github.com/fluendo/fluster/fluster/fluster.py", line 204, in list_decoders if decoder.check(verbose) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/rgonzalez/src/github.com/fluendo/fluster/fluster/decoders/ffmpeg.py", line 158, in check self.ffmpeg_version = tuple(map(int, version.groups())) if version else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ```
- Loading branch information