mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 02:55:17 +00:00
apparently the -n option is available only in ffmpeg
This commit is contained in:
parent
0c0074328b
commit
3e6c3f52a9
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ def run_ffmpeg(self, path, out_path, codec, more_opts):
|
|||
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 a new issue