Blender Video Chunks: also allow .mp4 and .mov as container format

This commit is contained in:
Sybren A. Stüvel 2019-03-06 13:31:30 +01:00
parent 48c60f73d7
commit ff9624d4f3

View File

@ -459,8 +459,9 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin,
self.report({'ERROR'}, 'Job type requires chunks of at least 10 frames.')
return False
if settings['output_file_extension'] != '.mkv':
self.report({'ERROR'}, 'Job type requires rendering to Matroska files.')
if settings['output_file_extension'] not in {'.mkv', '.mp4', '.mov'}:
self.report({'ERROR'}, 'Job type requires rendering to Matroska or '
'MP4 files, not %r.' % settings['output_file_extension'])
return False
return True