]> git.sesse.net Git - nageru/blobdiff - flags.h
Add an option to control the mapping of streams to export to MJPEG (or turn it off...
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index 147c62a0b1b80c3406ce69fa01bd3fdbe5e480e2..4d990f8511d7a2fb7567fb2195a0e31c5c2a2e16 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -46,6 +46,7 @@ struct Flags {
        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.
+       bool default_hdmi_input = false;
        bool print_video_latency = false;
        double audio_queue_length_ms = 100.0;
        bool ycbcr_rec709_coefficients = false;  // Will be overridden by HDMI/SDI output if ycbcr_auto_coefficients == true.
@@ -65,6 +66,8 @@ struct Flags {
        int x264_bit_depth = 8;  // Not user-settable.
        bool use_zerocopy = false;  // Not user-settable.
        bool can_disable_srgb_decoder = false;  // Not user-settable.
+       bool fullscreen = false;
+       std::map<unsigned, unsigned> card_to_mjpeg_stream_export;  // If a card is not in the map, it is not exported.
 };
 extern Flags global_flags;