aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarbu Paul - Gheorghe <barbu.paul.gheorghe@gmail.com>2012-12-23 20:20:19 +0200
committerBarbu Paul - Gheorghe <barbu.paul.gheorghe@gmail.com>2012-12-23 20:20:19 +0200
commit3e6c3f52a9af9de6c313df542755b93bdc1fd3ab (patch)
tree477386cee0bb9af377de484575f7d1f41a76cf1a
parent0c0074328b2b896317bf4e33378fc587f0d3dfe1 (diff)
downloadyoutube-dl-3e6c3f52a9af9de6c313df542755b93bdc1fd3ab.tar.xz
apparently the -n option is available only in ffmpeg
-rw-r--r--youtube_dl/PostProcessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/PostProcessor.py b/youtube_dl/PostProcessor.py
index e0b071a9c..6da24f986 100644
--- a/youtube_dl/PostProcessor.py
+++ b/youtube_dl/PostProcessor.py
@@ -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'