rip-py: Fix leftover PEP8 errors
This commit is contained in:
parent
074b368b82
commit
cf53e5dd3d
|
@ -172,7 +172,7 @@ def _get_parameterized_ffmpeg_cmd(media_type, quality, extra_opts, use_gpu,
|
|||
ffmpeg_cmd[-1].extend([
|
||||
'-map', map_target,
|
||||
'-metadata:s:a:{}'.format(i), 'language={}'.format(lang)
|
||||
])
|
||||
])
|
||||
else:
|
||||
ffmpeg_cmd[-1].extend(['-map', '0:a:0', '-metadata:s:a:0', 'language=de'])
|
||||
|
||||
|
@ -185,7 +185,7 @@ def _get_parameterized_ffmpeg_cmd(media_type, quality, extra_opts, use_gpu,
|
|||
ffmpeg_cmd[-1].extend([
|
||||
'-map', map_target,
|
||||
'-metadata:s:s:{}'.format(i), 'language={}'.format(lang)
|
||||
])
|
||||
])
|
||||
|
||||
# TODO we are probably able to do forced subtitles. we probably want that
|
||||
|
||||
|
@ -657,7 +657,7 @@ def split_file(output_dir, input_file, chapters_file, number, reencode,
|
|||
'-c:v', 'copy',
|
||||
'-movflags', '+faststart',
|
||||
out_path
|
||||
]
|
||||
]
|
||||
else:
|
||||
use_gpu = False
|
||||
ffmpeg_cmd = _get_ffmpeg_cmd(out_path, input_file, media_type,
|
||||
|
|
Loading…
Reference in New Issue