From 743f39750cccf53bc320e057a6ed05e301e8ed48 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Tue, 12 Apr 2022 19:57:08 +0530 Subject: [PATCH] Fix bug in 66cf3e1001b6d9a2829fe834c3f9103b0890918e --- yt_dlp/postprocessor/ffmpeg.py | 3 +-- 1 file changed, 1 insertion(+), 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):