Skip to content

Commit

Permalink
[core] Fix filepath being copied to underlying format dict
Browse files Browse the repository at this point in the history
Closes #6536
  • Loading branch information
pukkandan committed Jun 21, 2023
1 parent ad54c91 commit 84078a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yt_dlp/YoutubeDL.py
Expand Up @@ -3212,6 +3212,8 @@ def correct_ext(filename, ext=new_ext):
dl_filename = existing_video_file(full_filename, temp_filename)

info_dict['__real_download'] = False
# NOTE: Copy so that original format dicts are not modified
info_dict['requested_formats'] = list(map(dict, info_dict['requested_formats']))

merger = FFmpegMergerPP(self)
downloaded = []
Expand Down

0 comments on commit 84078a8

Please sign in to comment.