mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Fix bug in 66cf3e1001
This commit is contained in:
parent
66cf3e1001
commit
743f39750c
1 changed files with 1 additions and 2 deletions
|
@ -187,8 +187,7 @@ def stream_copy_opts(copy=True, *, ext=None):
|
|||
yield from ('-dn', '-ignore_unknown')
|
||||
if copy:
|
||||
yield from ('-c', 'copy')
|
||||
# For some reason, '-c copy -map 0' is not enough to copy subtitles
|
||||
if ext in ('mp4', 'mov'):
|
||||
if ext in ('mp4', 'mov', 'm4a'):
|
||||
yield from ('-c:s', 'mov_text')
|
||||
|
||||
def get_audio_codec(self, path):
|
||||
|
|
Loading…
Reference in a new issue