1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 07:43:08 +00:00

apparently the -n option is available only in ffmpeg

This commit is contained in:
Barbu Paul - Gheorghe 2012-12-23 20:20:19 +02:00
parent 0c0074328b
commit 3e6c3f52a9

View file

@ -108,7 +108,7 @@ class FFmpegExtractAudioPP(PostProcessor):
acodec_opts = [] acodec_opts = []
else: else:
acodec_opts = ['-acodec', codec] acodec_opts = ['-acodec', codec]
if self._nopostoverwrites: if self._nopostoverwrites and self._exes['ffmpeg']:
overwrite_opts = '-n' overwrite_opts = '-n'
else: else:
overwrite_opts = '-y' overwrite_opts = '-y'