1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

we don't need to run ffmpeg more times

This commit is contained in:
pulpe 2014-02-22 18:31:54 +01:00 committed by Jaime Marquínez Ferrándiz
parent 39c68260c0
commit 784763c565

View file

@ -808,6 +808,7 @@ def _real_main(argv=None):
if opts.xattrs: if opts.xattrs:
ydl.add_post_processor(XAttrMetadataPP()) ydl.add_post_processor(XAttrMetadataPP())
if opts.embedthumbnail: if opts.embedthumbnail:
if not opts.addmetadata:
ydl.add_post_processor(FFmpegAudioFixPP()) ydl.add_post_processor(FFmpegAudioFixPP())
ydl.add_post_processor(AtomicParsleyPP()) ydl.add_post_processor(AtomicParsleyPP())