From 37242e56f22af4dfc45cf34784f25782f52610fc Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 13 Aug 2021 20:40:13 +0530 Subject: [PATCH] Fix bug during subtitle conversion --- yt_dlp/postprocessor/ffmpeg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 1d21ffaf2..be6cc9f09 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -802,7 +802,7 @@ def run(self, info): } info['__files_to_move'][new_file] = replace_extension( - info['__files_to_move'][old_file], new_ext) + info['__files_to_move'][sub['filepath']], new_ext) return sub_filenames, info