]> 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 308e3103bfd6be6c068406f166971bc24cc17994..7dc03c546fdce57079aa3d2203175bbdbd70edc9 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -13,6 +13,9 @@ struct Flags {
        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;