]> git.sesse.net Git - nageru/blobdiff - flags.h
Support loading 10-bit x264 dynamically.
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index 78b1f1f55577ad2680c156b53279cadc368e0644..b840c15de32084bc674aeee4d08e9bbe44e0cf3a 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -14,6 +14,7 @@ struct Flags {
        bool fake_cards_audio = false;
        bool uncompressed_video_to_http = false;
        bool x264_video_to_http = false;
+       bool x264_video_to_disk = false;  // Disables Quick Sync entirely. Implies x264_video_to_http == true.
        std::vector<std::string> theme_dirs { ".", "/usr/local/share/nageru" };
        std::string theme_filename = "theme.lua";
        bool locut_enabled = true;
@@ -34,6 +35,7 @@ struct Flags {
        int x264_bitrate = DEFAULT_X264_OUTPUT_BIT_RATE;  // In kilobit/sec.
        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).
+       int x264_bit_depth = 8;
        std::vector<std::string> x264_extra_param;  // In “key[,value]” format.
        bool enable_alsa_output = true;
        std::map<int, int> default_stream_mapping;