From: Barbu Paul - Gheorghe Date: Sun, 23 Dec 2012 18:20:19 +0000 (+0200) Subject: apparently the -n option is available only in ffmpeg X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3e6c3f52a9af9de6c313df542755b93bdc1fd3ab;p=youtube-dl apparently the -n option is available only in ffmpeg --- 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'