mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-09-28 14:25:29 +00:00
[postprocessor/ffmpeg] minor improvement to delete source on -x --no-post-overwrites
This commit is contained in:
parent
8fe5d54eb7
commit
4a5419750e
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ class FFmpegExtractAudioPP(FFmpegPostProcessor):
|
|||
if (new_path == path
|
||||
or (self._nopostoverwrites and os.path.exists(encodeFilename(new_path)))):
|
||||
self._downloader.to_screen('[ffmpeg] Post-process file %s exists, skipping' % new_path)
|
||||
return [], information
|
||||
return [] if new_path == path else [path], information
|
||||
|
||||
try:
|
||||
self._downloader.to_screen('[ffmpeg] Destination: ' + new_path)
|
||||
|
|
Loading…
Reference in a new issue