diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-13 20:40:13 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-15 00:26:33 +0530 |
commit | 37242e56f22af4dfc45cf34784f25782f52610fc (patch) | |
tree | 39eda4481c7d4ad4df2f4cc5a78215bb17da5f97 | |
parent | 6c7274ecd2c91a30166cfcd003e7d5de409f9fc7 (diff) | |
download | hypervideo-pre-37242e56f22af4dfc45cf34784f25782f52610fc.tar.lz hypervideo-pre-37242e56f22af4dfc45cf34784f25782f52610fc.tar.xz hypervideo-pre-37242e56f22af4dfc45cf34784f25782f52610fc.zip |
Fix bug during subtitle conversion
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor): } 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 |