--- API ENTRY POINT
--- Returns the name for each additional channel (starting from 2).
--- Called at the start of the program, and then each frame for live
--- channels in case they change resolution.
-function channel_name(channel)
- local signal_num = channel - 2
- if is_plain_signal(signal_num) then
- if last_resolution[signal_num] then
- return "Input " .. (signal_num + 1) .. " (" .. last_resolution[signal_num].human_readable_resolution .. ")"
- else
- return "Input " .. (signal_num + 1)
- end
- elseif signal_num == SBS_SIGNAL_NUM then
- return "Side-by-side"
- elseif signal_num == STATIC_SIGNAL_NUM then
- return "Static picture"
- end
-end
+-- Set whether a given channel supports setting white balance. (Default is false.)
+Nageru.set_supports_wb(2, true)
+Nageru.set_supports_wb(3, true)