]> git.sesse.net Git - nageru/blobdiff - futatabi/flags.h
Factor out estimated time left calculation into its own function.
[nageru] / futatabi / flags.h
index 5e9d34b2c24b969e36859343c64675c46e2ae234..23be12ccf8f6ea239dfa9f7b4fe287d4cce05afb 100644 (file)
@@ -6,11 +6,13 @@
 #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;
        uint16_t http_port = DEFAULT_HTTPD_PORT;
+       double output_framerate = 60000.0 / 1001.0;
 };
 extern Flags global_flags;