improvements on flake8 (#200)

This commit is contained in:
Markos Gogoulos
2021-05-27 17:40:52 +03:00
committed by GitHub
parent 6df942ac4e
commit 110695ae2f
5 changed files with 9 additions and 12 deletions

View File

@@ -660,13 +660,13 @@ def produce_ffmpeg_commands(media_file, media_info, resolution, codec, output_fi
if codec == "h264":
encoder = "libx264"
ext = "mp4"
# ext = "mp4"
elif codec in ["h265", "hevc"]:
encoder = "libx265"
ext = "mp4"
# ext = "mp4"
elif codec == "vp9":
encoder = "libvpx-vp9"
ext = "webm"
# ext = "webm"
else:
return False