]> jfr.im git - yt-dlp.git/commitdiff
Fix bug in 66cf3e1001b6d9a2829fe834c3f9103b0890918e
authorpukkandan <redacted>
Tue, 12 Apr 2022 14:27:08 +0000 (19:57 +0530)
committerpukkandan <redacted>
Tue, 12 Apr 2022 14:27:08 +0000 (19:57 +0530)
yt_dlp/postprocessor/ffmpeg.py

index 4b61693a206cd1a7001599da4459248010f08845..6fe1b6cdd618c185fbf5322c6641ddd585ac6a4d 100644 (file)
@@ -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):