mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-30 22:12:52 +08:00
apparently the -n option is available only in ffmpeg
This commit is contained in:
parent
0c0074328b
commit
3e6c3f52a9
@ -108,7 +108,7 @@ class FFmpegExtractAudioPP(PostProcessor):
|
||||
acodec_opts = []
|
||||
else:
|
||||
acodec_opts = ['-acodec', codec]
|
||||
if self._nopostoverwrites:
|
||||
if self._nopostoverwrites and self._exes['ffmpeg']:
|
||||
overwrite_opts = '-n'
|
||||
else:
|
||||
overwrite_opts = '-y'
|
||||
|
Loading…
Reference in New Issue
Block a user