From 3e6c3f52a9af9de6c313df542755b93bdc1fd3ab Mon Sep 17 00:00:00 2001 From: Barbu Paul - Gheorghe Date: Sun, 23 Dec 2012 20:20:19 +0200 Subject: [PATCH] apparently the -n option is available only in ffmpeg --- youtube_dl/PostProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.22.2