aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-30 05:22:52 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-30 05:22:52 +0200
commit6fadab748d182e73fd9de13f2cee988b58b0a755 (patch)
treee6124de59006c523102bd4321a41d1401094c7d7
parentd8550f91830312a166097475e783b6f2b346a10e (diff)
Set ideal qmax value
-rw-r--r--src/main.cpp2
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;