[ffmpeg] convert the video even if in the same downloaded format if postprocessor args are provided
This commit is contained in:
parent
d7c3af7a72
commit
7e73a3e5c1
@ -325,7 +325,8 @@ class FFmpegVideoConvertorPP(FFmpegPostProcessor):
|
||||
|
||||
def run(self, information):
|
||||
path = information['filepath']
|
||||
if information['ext'] == self._preferedformat:
|
||||
# if the ext is the same and there are no additional postprocessor args
|
||||
if information['ext'] == self._preferedformat and not self._configuration_args():
|
||||
self._downloader.to_screen('[ffmpeg] Not converting video file %s - already is in target format %s' % (path, self._preferedformat))
|
||||
return [], information
|
||||
options = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user