]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
Add a --no-transcode-video flag to Kaeru.
[nageru] / nageru / flags.h
index c1fcdff01f4b60731162c3a7b7c6452f09b6aa4e..dc9c585d0efb5ae718687110b0d9c76683919345 100644 (file)
@@ -12,7 +12,8 @@
 
 struct Flags {
        int width = 1280, height = 720;
-       int num_cards = 2;
+       int min_num_cards = 2;
+       int max_num_cards = MAX_VIDEO_CARDS;
        std::string va_display;
        bool fake_cards_audio = false;
        bool uncompressed_video_to_http = false;
@@ -58,12 +59,14 @@ struct Flags {
        int max_input_queue_frames = 6;
        int http_port = DEFAULT_HTTPD_PORT;
        int srt_port = DEFAULT_SRT_PORT;  // -1 for none.
+       bool enable_srt = true;  // UI toggle; not settable from the command line. See also srt_port.
        bool display_timecode_in_stream = false;
        bool display_timecode_on_stdout = false;
        bool enable_quick_cut_keys = false;
        bool ten_bit_input = false;
        bool ten_bit_output = false;  // Implies x264_video_to_disk == true and x264_bit_depth == 10.
        YCbCrInterpretation ycbcr_interpretation[MAX_VIDEO_CARDS];
+       bool transcode_video = true;  // Kaeru only.
        bool transcode_audio = true;  // Kaeru only.
        bool enable_audio = true;  // Kaeru only. If false, then transcode_audio is also false.
        int x264_bit_depth = 8;  // Not user-settable.