mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
Fix return ffmpeg
This commit is contained in:
parent
a794355f53
commit
71d6a95aef
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user