diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-30 05:22:52 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-30 05:22:52 +0200 |
commit | 6fadab748d182e73fd9de13f2cee988b58b0a755 (patch) | |
tree | e6124de59006c523102bd4321a41d1401094c7d7 /src/main.cpp | |
parent | d8550f91830312a166097475e783b6f2b346a10e (diff) |
Set ideal qmax value
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f85dc9b..5c97877 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -461,7 +461,7 @@ static AVStream *add_video_stream(AVFormatContext *av_format_context, AVCodec ** break; case VideoQuality::ULTRA: codec_context->qmin = 16; - codec_context->qmax = 25; + codec_context->qmax = 26; av_opt_set(codec_context->priv_data, "preset", "slow", 0); av_opt_set(codec_context->priv_data, "profile", "high", 0); codec_context->profile = FF_PROFILE_H264_HIGH; |