-local transition_start = -2.0
-local transition_end = -1.0
-local transition_type = 0
-local transition_src_signal = 0
-local transition_dst_signal = 0
-
-local neutral_colors = {
- {0.5, 0.5, 0.5}, -- Input 0.
- {0.5, 0.5, 0.5}, -- Input 1.
- {0.5, 0.5, 0.5}, -- Input 2.
- {0.5, 0.5, 0.5}, -- Input 3.
- {0.5, 0.5, 0.5}, -- Input 4.
- {0.5, 0.5, 0.5} -- Input 5.
- -- Will also be filled with VIDEO_SIGNAL_NUM below.
+local state = {
+ transition_start = -2.0,
+ transition_end = -1.0,
+ transition_type = 0,
+ transition_src_signal = 0,
+ transition_dst_signal = 0,
+
+ neutral_colors = {
+ {0.5, 0.5, 0.5}, -- Input 0.
+ {0.5, 0.5, 0.5}, -- Input 1.
+ {0.5, 0.5, 0.5}, -- Input 2.
+ {0.5, 0.5, 0.5}, -- Input 3.
+ {0.5, 0.5, 0.5}, -- Input 4.
+ {0.5, 0.5, 0.5} -- Input 5.
+ -- Will also be filled with VIDEO_SIGNAL_NUM below.
+ },
+
+ overlay_transition_start = -2.0,
+ overlay_transition_end = -1.0,
+ overlay_alpha_src = 0.0,
+ overlay_alpha_dst = 1.0,
+ overlay_enabled = false,
+
+ live_signal_num = 0,
+ preview_signal_num = 1