mirror of https://github.com/yt-dlp/yt-dlp.git
Fix bug in 66cf3e1001
This commit is contained in:
parent
66cf3e1001
commit
743f39750c
|
@ -187,8 +187,7 @@ class FFmpegPostProcessor(PostProcessor):
|
||||||
yield from ('-dn', '-ignore_unknown')
|
yield from ('-dn', '-ignore_unknown')
|
||||||
if copy:
|
if copy:
|
||||||
yield from ('-c', 'copy')
|
yield from ('-c', 'copy')
|
||||||
# For some reason, '-c copy -map 0' is not enough to copy subtitles
|
if ext in ('mp4', 'mov', 'm4a'):
|
||||||
if ext in ('mp4', 'mov'):
|
|
||||||
yield from ('-c:s', 'mov_text')
|
yield from ('-c:s', 'mov_text')
|
||||||
|
|
||||||
def get_audio_codec(self, path):
|
def get_audio_codec(self, path):
|
||||||
|
|
Loading…
Reference in New Issue