Deletes temp files after postprocess merge unless -k option is specified

This commit is contained in:
rupertbaxter2 2014-07-23 02:53:44 +02:00 committed by Philipp Hagemeister
parent 6db274e057
commit b7f8116406
2 changed files with 6 additions and 2 deletions

View file

@ -999,7 +999,7 @@ class YoutubeDL(object):
if info_dict.get('requested_formats') is not None:
downloaded = []
success = True
merger = FFmpegMergerPP(self)
merger = FFmpegMergerPP(self, not self.params.get('keepvideo'))
if not merger._get_executable():
postprocessors = []
self.report_warning('You have requested multiple '