]> git.sesse.net Git - nageru/blobdiff - flags.h
Make it possible to set width/height on the command line, instead of compiling it...
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index 8e68a66893d766a8f6223be1c351a5b935d8802d..5abc9530470cc0ac9b086c21661f22d2a1c75df6 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -8,6 +8,7 @@
 #include "defs.h"
 
 struct Flags {
+       int width = 1280, height = 720;
        int num_cards = 2;
        std::string va_display;
        bool fake_cards_audio = false;
@@ -36,7 +37,9 @@ struct Flags {
        std::vector<std::string> x264_extra_param;  // In “key[,value]” format.
        bool enable_alsa_output = true;
        std::map<int, int> default_stream_mapping;
+       bool multichannel_mapping_mode = false;  // Implicitly true if input_mapping_filename is nonempty.
        std::string input_mapping_filename;  // Empty for none.
+       std::string midi_mapping_filename;  // Empty for none.
 };
 extern Flags global_flags;