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():
351351
352352 ffmpeg_exe = distutils .spawn .find_executable ('ffmpeg' )
353353 has_ffmpeg = ffmpeg_exe is not None
354+ if sys .platform != 'linux' :
355+ has_ffmpeg = False
354356 if has_ffmpeg :
355357 try :
356358 # this splits on both dots and spaces as the output format differs across versions / platforms
@@ -360,7 +362,7 @@ def get_extensions():
360362 if StrictVersion (ffmpeg_version ) >= StrictVersion ('4.3' ):
361363 print (f'ffmpeg { ffmpeg_version } not supported yet, please use ffmpeg 4.2.' )
362364 has_ffmpeg = False
363- except (IndexError , ValueError ):
365+ except (subprocess . CalledProcessError , IndexError , ValueError ):
364366 print ('Error fetching ffmpeg version, ignoring ffmpeg.' )
365367 has_ffmpeg = False
366368
You can’t perform that action at this time.
0 commit comments