]> git.sesse.net Git - nageru/blobdiff - flags.h
Support 4:2:2 v210 (10-bit) output for DeckLink.
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index b840c15de32084bc674aeee4d08e9bbe44e0cf3a..6ca9794359904acbb73712440dc3b740a326f170 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -35,7 +35,6 @@ 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;
@@ -53,6 +52,8 @@ struct Flags {
        bool display_timecode_in_stream = false;
        bool display_timecode_on_stdout = false;
        bool ten_bit_input = false;
+       bool ten_bit_output = false;  // Implies x264_video_to_disk == true and x264_bit_depth == 10.
+       int x264_bit_depth = 8;  // Not user-settable.
 };
 extern Flags global_flags;