aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/ffmpeg.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 19:57:08 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 19:57:08 +0530
commit743f39750cccf53bc320e057a6ed05e301e8ed48 (patch)
tree38cfaf917e9b317518165b731866b455e65d7fb0 /yt_dlp/postprocessor/ffmpeg.py
parent66cf3e1001b6d9a2829fe834c3f9103b0890918e (diff)
downloadhypervideo-pre-743f39750cccf53bc320e057a6ed05e301e8ed48.tar.lz
hypervideo-pre-743f39750cccf53bc320e057a6ed05e301e8ed48.tar.xz
hypervideo-pre-743f39750cccf53bc320e057a6ed05e301e8ed48.zip
Fix bug in 66cf3e1001b6d9a2829fe834c3f9103b0890918e
Diffstat (limited to 'yt_dlp/postprocessor/ffmpeg.py')
-rw-r--r--yt_dlp/postprocessor/ffmpeg.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py
index 4b61693a2..6fe1b6cdd 100644
--- a/yt_dlp/postprocessor/ffmpeg.py
+++ b/yt_dlp/postprocessor/ffmpeg.py
@@ -187,8 +187,7 @@ class FFmpegPostProcessor(PostProcessor):
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):