X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=flags.h;h=6ca9794359904acbb73712440dc3b740a326f170;hb=aa472f3f2fcf37701198deb330d3169636151060;hp=b840c15de32084bc674aeee4d08e9bbe44e0cf3a;hpb=7297850cec443cb0c02f82d7301a30583744627d;p=nageru diff --git a/flags.h b/flags.h index b840c15..6ca9794 100644 --- 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 (CBR). int x264_vbv_buffer_size = -1; // In kilobits. 0 = one-frame VBV, -1 = same as (one-second VBV). - int x264_bit_depth = 8; std::vector x264_extra_param; // In “key[,value]” format. bool enable_alsa_output = true; std::map 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;