dont prepend path when doing which ffmpeg

This commit is contained in:
Lex Berezhny 2020-03-02 21:11:11 -05:00
parent ebd33f1869
commit 1b850b8a2b

View file

@ -47,7 +47,7 @@ class VideoFileAnalyzer:
return
await self._verify_executable("ffprobe")
version = await self._verify_executable("ffmpeg")
self._which = shutil.which(f"{self._conf.ffmpeg_folder}ffmpeg")
self._which = shutil.which("ffmpeg")
self._ffmpeg_installed = True
log.debug("Using %s at %s", version.splitlines()[0].split(" Copyright")[0], self._which)