Commit 4bfec925 authored by Arnaud Blanchard's avatar Arnaud Blanchard

add forward channel

parent e3c77873
......@@ -95,11 +95,12 @@ int main(int argc, char *argv[])
blc_program_add_option(&max_str, 'M', "max", "FL32", "maximal value", NULL);
// blc_program_add_option(&mouse_name, 'm', "mouse", "blc_channel-out", "return the mouse coordinates and status in the channel", NULL);
blc_program_add_option(&fullscreen_option, 'F', "fullscreen", NULL, "Set the window in fullscreen", NULL);
blc_program_add_option(&g_debug, ' ', "g-fatal-warnings", NULL, "Debug gtk.", NULL);
blc_program_add_option(&g_debug, 'g', "g-fatal-warnings", NULL, "Debug gtk.", NULL);
// This function is not yer operaiotnal blc_program_add_multiple_parameters(&input_names, "blc_channel", 1, "channel name you want to display");
blc_program_add_parameter(&input_name, "blc_channel-in", 1, "channel name you want to display", NULL);
blc_program_init(&argc, &argv, ask_quit);
blc_command_forward_blc_channels();
input.open(input_name, mode);
......@@ -110,7 +111,6 @@ int main(int argc, char *argv[])
max=128;
}
if (input.type=='FL32' && input.format=='Y800'){
if (min_str) SSCANF(1, min_str, "%f", &min);
else min=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment