Blender Video Chunks: also allow .mp4 and .mov as container format
This commit is contained in:
parent
48c60f73d7
commit
ff9624d4f3
@ -459,8 +459,9 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin,
|
|||||||
self.report({'ERROR'}, 'Job type requires chunks of at least 10 frames.')
|
self.report({'ERROR'}, 'Job type requires chunks of at least 10 frames.')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if settings['output_file_extension'] != '.mkv':
|
if settings['output_file_extension'] not in {'.mkv', '.mp4', '.mov'}:
|
||||||
self.report({'ERROR'}, 'Job type requires rendering to Matroska files.')
|
self.report({'ERROR'}, 'Job type requires rendering to Matroska or '
|
||||||
|
'MP4 files, not %r.' % settings['output_file_extension'])
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Reference in New Issue
Block a user