1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 11:37:15 +08:00

temporarily clear _pps

This commit is contained in:
johnpatch 2016-09-14 11:28:19 +02:00 committed by GitHub
parent 8151ec217d
commit 8bf86c82c7

View File

@ -1762,11 +1762,14 @@ class YoutubeDL(object):
new_info['__postprocessors'] = []
self.add_fixup_post_processors(fname, new_info, protocol_only=True)
_pps = self._pps
self._pps = []
try:
self.post_process(fname, new_info)
except (PostProcessingError) as err:
self.report_error('fixup postprocessing: %s' % str(err))
success = False
self._pps = _pps
info_dict['__postprocessors'] = postprocessors
info_dict['__files_to_merge'] = downloaded