Browse Source

we don't need to run ffmpeg more times

pulpe 11 years ago
parent
commit
784763c565
1 changed files with 2 additions and 1 deletions
  1. 2 1
      youtube_dl/__init__.py

+ 2 - 1
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