forked from LBRYCommunity/lbry-sdk
dont prepend path when doing which ffmpeg
This commit is contained in:
parent
ebd33f1869
commit
1b850b8a2b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class VideoFileAnalyzer:
|
||||||
return
|
return
|
||||||
await self._verify_executable("ffprobe")
|
await self._verify_executable("ffprobe")
|
||||||
version = await self._verify_executable("ffmpeg")
|
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
|
self._ffmpeg_installed = True
|
||||||
log.debug("Using %s at %s", version.splitlines()[0].split(" Copyright")[0], self._which)
|
log.debug("Using %s at %s", version.splitlines()[0].split(" Copyright")[0], self._which)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue