Fix [#21351] PROPERTIES: Resolution changes based solely on changing
[blender.git] / release / scripts / presets / ffmpeg / DV.py
1 is_ntsc = (bpy.context.scene.render.fps != 25)
2
3 bpy.context.scene.render.ffmpeg_format = "DV"
4 bpy.context.scene.render.resolution_x = 720
5
6 if is_ntsc:
7     bpy.context.scene.render.resolution_y = 480
8 else:
9     bpy.context.scene.render.resolution_y = 576