aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorpulpe <Pulpan3@gmail.com>2014-02-22 18:31:54 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-03-26 15:22:52 +0100
commit784763c56500bfcdd6b539dffdffeae8dfb6b91e (patch)
treeeadfc1fc3b5317e7a370ed55164718671a6d9f2c /youtube_dl/__init__.py
parent39c68260c0b308e250119fa136c7e4f76d14dfea (diff)
we don't need to run ffmpeg more times
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 8b95a6d9b..4f4ec3871 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -808,7 +808,8 @@ def _real_main(argv=None):
if opts.xattrs:
ydl.add_post_processor(XAttrMetadataPP())
if opts.embedthumbnail:
- ydl.add_post_processor(FFmpegAudioFixPP())
+ if not opts.addmetadata:
+ ydl.add_post_processor(FFmpegAudioFixPP())
ydl.add_post_processor(AtomicParsleyPP())
# Update version