Fix return ffmpeg

This commit is contained in:
Lovi 2025-01-12 17:36:09 +01:00
parent a794355f53
commit 71d6a95aef

View File

@ -336,6 +336,8 @@ def check_ffmpeg() -> Tuple[Optional[str], Optional[str], Optional[str]]:
['where', 'ffplay'], stderr=subprocess.DEVNULL, text=True
).strip().split('\n')[0]
return ffmpeg_path, ffprobe_path, ffplay_path
except subprocess.CalledProcessError:
logging.warning("One or more FFmpeg binaries were not found with command where")