mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-03 10:59:47 -05:00
fix ffmpeg error, if youtube-dl runs more than once with --embed-thumbnail with same video
This commit is contained in:

committed by
Jaime Marquínez Ferrándiz

parent
0c14e2fbe3
commit
149254d0d5
@@ -91,7 +91,7 @@ from .version import __version__
|
||||
from .YoutubeDL import YoutubeDL
|
||||
from .postprocessor import (
|
||||
AtomicParsleyPP,
|
||||
FFmpegMediaFixPP,
|
||||
FFmpegAudioFixPP,
|
||||
FFmpegMetadataPP,
|
||||
FFmpegVideoConvertor,
|
||||
FFmpegExtractAudioPP,
|
||||
@@ -808,7 +808,7 @@ def _real_main(argv=None):
|
||||
if opts.xattrs:
|
||||
ydl.add_post_processor(XAttrMetadataPP())
|
||||
if opts.embedthumbnail:
|
||||
ydl.add_post_processor(FFmpegMediaFixPP())
|
||||
ydl.add_post_processor(FFmpegAudioFixPP())
|
||||
ydl.add_post_processor(AtomicParsleyPP())
|
||||
|
||||
# Update version
|
||||
|
Reference in New Issue
Block a user