]> git.sesse.net Git - nageru/blobdiff - flags.h
Make it possible for file and HTTP streams to use different audio codecs.
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index b2dedb6c05a1ca689b1d5b588b994142da552f20..7dc03c546fdce57079aa3d2203175bbdbd70edc9 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -14,6 +14,8 @@ struct Flags {
        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;