]> git.sesse.net Git - nageru/blobdiff - futatabi/flags.h
Release Nageru and Futatabi 1.8.0.
[nageru] / futatabi / flags.h
index 5e9d34b2c24b969e36859343c64675c46e2ae234..5b7d32e729374f304823063e7aa0e0d29a580a95 100644 (file)
@@ -6,14 +6,23 @@
 #include "defs.h"
 
 struct Flags {
+       int width = 1280, height = 720;
        std::string stream_source;
        std::string working_directory = ".";
        bool slow_down_input = false;
-       int interpolation_quality = 2;
+       int interpolation_quality = 2;  // Can be changed in the menus.
+       bool interpolation_quality_set = false;
        uint16_t http_port = DEFAULT_HTTPD_PORT;
+       double output_framerate = 60000.0 / 1001.0;
+       std::string tally_url;
 };
 extern Flags global_flags;
 
+// The quality setting that VideoStream was initialized to. The quality cannot
+// currently be changed, except turning interpolation completely off, so we compare
+// against this to give a warning.
+extern int flow_initialized_interpolation_quality;
+
 void usage();
 void parse_flags(int argc, char * const argv[]);