aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-05-25 22:04:12 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-05-25 22:07:03 +0800
commit5192ee17e79ec103abf1e5a06faa0b0019ab00f2 (patch)
tree11df635003de525d23f5dce29afcdc680aca4169 /youtube_dl/postprocessor
parente834f04400ba419b842743224510ca8abaf933c8 (diff)
[postprocessor/ffmpeg] Fix metadata filename handling on Python 2
Fixes #13182
Diffstat (limited to 'youtube_dl/postprocessor')
-rw-r--r--youtube_dl/postprocessor/ffmpeg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py
index c91ec8588..f021ea8fd 100644
--- a/youtube_dl/postprocessor/ffmpeg.py
+++ b/youtube_dl/postprocessor/ffmpeg.py
@@ -444,7 +444,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
chapters = info.get('chapters', [])
if chapters:
- metadata_filename = encodeFilename(replace_extension(filename, 'meta'))
+ metadata_filename = replace_extension(filename, 'meta')
with io.open(metadata_filename, 'wt', encoding='utf-8') as f:
def ffmpeg_escape(text):
return re.sub(r'(=|;|#|\\|\n)', r'\\\1', text)