mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +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
|
['where', 'ffplay'], stderr=subprocess.DEVNULL, text=True
|
||||||
).strip().split('\n')[0]
|
).strip().split('\n')[0]
|
||||||
|
|
||||||
|
return ffmpeg_path, ffprobe_path, ffplay_path
|
||||||
|
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
logging.warning("One or more FFmpeg binaries were not found with command where")
|
logging.warning("One or more FFmpeg binaries were not found with command where")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user