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