7 #include <unordered_map>
10 int width = 1280, height = 720;
11 std::string stream_source;
12 std::string working_directory = ".";
13 bool slow_down_input = false;
14 int interpolation_quality = 2; // Can be changed in the menus.
15 bool interpolation_quality_set = false;
16 uint16_t http_port = DEFAULT_HTTPD_PORT;
17 double output_framerate = 60000.0 / 1001.0;
18 std::string tally_url;
19 double cue_in_point_padding_seconds = 0.0; // Can be changed in the menus.
20 bool cue_in_point_padding_set = false;
21 double cue_out_point_padding_seconds = 0.0; // Can be changed in the menus.
22 bool cue_out_point_padding_set = false;
23 std::string midi_mapping_filename; // Empty for none.
24 std::unordered_map<unsigned, std::string> source_labels;
26 extern Flags global_flags;
28 // The quality setting that VideoStream was initialized to. The quality cannot
29 // currently be changed, except turning interpolation completely off, so we compare
30 // against this to give a warning.
31 extern int flow_initialized_interpolation_quality;
34 void parse_flags(int argc, char *const argv[]);
36 #endif // !defined(_FLAGS_H)