]> git.sesse.net Git - nageru/blobdiff - flags.h
Make it possible to set x264 preset/tune from the command line.
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index cfef0fa5ae1c22b18646403079a23e64d3757097..b157822a0a3295e974d2d18bd2f4725b7328ecb4 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -17,6 +17,8 @@ struct Flags {
        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.
+       std::string x264_preset = X264_DEFAULT_PRESET;
+       std::string x264_tune = X264_DEFAULT_TUNE;
 };
 extern Flags global_flags;