]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
Add support for V4L2 output.
[nageru] / nageru / flags.h
index a401dbf53a3e875572d48a9dbf1862935f60bc2f..5758d884c01620765b1d0df770246d18ef1134f7 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.
@@ -66,7 +67,6 @@ struct Flags {
        bool enable_audio = true;  // Kaeru only. If false, then transcode_audio is also false.
        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.
 };