]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
Fix behavior around reconfigure.
[nageru] / nageru / flags.h
index caad05a5088e4402081cbc14d2cad3414a5412c8..c1fcdff01f4b60731162c3a7b7c6452f09b6aa4e 100644 (file)
@@ -41,6 +41,7 @@ struct Flags {
        int x264_vbv_max_bitrate = -1;  // In kilobits. 0 = no limit, -1 = same as <x264_bitrate> (CBR).
        int x264_vbv_buffer_size = -1;  // In kilobits. 0 = one-frame VBV, -1 = same as <x264_bitrate> (one-second VBV).
        std::vector<std::string> x264_extra_param;  // In “key[,value]” format.
+       std::string v4l_output_device;  // Empty if none.
        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.
@@ -56,6 +57,7 @@ struct Flags {
        double output_slop_frames = 0.5;
        int max_input_queue_frames = 6;
        int http_port = DEFAULT_HTTPD_PORT;
+       int srt_port = DEFAULT_SRT_PORT;  // -1 for none.
        bool display_timecode_in_stream = false;
        bool display_timecode_on_stdout = false;
        bool enable_quick_cut_keys = false;