File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -351,6 +351,8 @@ def get_extensions():
351
351
352
352
ffmpeg_exe = distutils .spawn .find_executable ('ffmpeg' )
353
353
has_ffmpeg = ffmpeg_exe is not None
354
+ if sys .platform != 'linux' :
355
+ has_ffmpeg = False
354
356
if has_ffmpeg :
355
357
try :
356
358
# this splits on both dots and spaces as the output format differs across versions / platforms
@@ -360,7 +362,7 @@ def get_extensions():
360
362
if StrictVersion (ffmpeg_version ) >= StrictVersion ('4.3' ):
361
363
print (f'ffmpeg { ffmpeg_version } not supported yet, please use ffmpeg 4.2.' )
362
364
has_ffmpeg = False
363
- except (IndexError , ValueError ):
365
+ except (subprocess . CalledProcessError , IndexError , ValueError ):
364
366
print ('Error fetching ffmpeg version, ignoring ffmpeg.' )
365
367
has_ffmpeg = False
366
368
You can’t perform that action at this time.
0 commit comments