X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=flags.h;h=cfef0fa5ae1c22b18646403079a23e64d3757097;hb=cf939d7e65533771a8f242f0283c7c55d91a5100;hp=f1755918c14209622abaf3cfe4bcbd50630bcdc2;hpb=a7e2ac88533d4a24b740c9fcf2b911c7b07541e0;p=nageru diff --git a/flags.h b/flags.h index f175591..cfef0fa 100644 --- a/flags.h +++ b/flags.h @@ -3,11 +3,20 @@ #include +#include "defs.h" + struct Flags { int num_cards = 2; std::string va_display; bool uncompressed_video_to_http = false; + bool x264_video_to_http = false; std::string theme_filename = "theme.lua"; + bool flat_audio = false; + bool flush_pbos = true; + std::string stream_mux_name = DEFAULT_STREAM_MUX_NAME; + bool stream_coarse_timebase = false; + std::string stream_audio_codec_name; // Blank = use the same as for the recording. + int stream_audio_codec_bitrate = DEFAULT_AUDIO_OUTPUT_BIT_RATE; // Ignored if stream_audio_codec_name is blank. }; extern Flags global_flags;