X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fflags.h;h=dc9c585d0efb5ae718687110b0d9c76683919345;hb=11b2ae4ae768b87a4af6f0f50ba39bd75133dbb4;hp=c1fcdff01f4b60731162c3a7b7c6452f09b6aa4e;hpb=4df45e479ddbc8e2247be8aab7f2bab5ddaa1b74;p=nageru diff --git a/nageru/flags.h b/nageru/flags.h index c1fcdff..dc9c585 100644 --- a/nageru/flags.h +++ b/nageru/flags.h @@ -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.