diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-02-28 17:46:40 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-02-28 17:46:40 +0100 |
commit | 3553cd14f157fc133a2ffda4743aa93ca90f57d1 (patch) | |
tree | d51dec9af559119f67f17d20055a3e3b00044277 /src/main.cpp | |
parent | f0450c5bfe24e7f2e2bf1eabb4b0e5e3abd45395 (diff) |
vaapi quality configure
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8fd4344..3b750a7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -746,7 +746,7 @@ static void open_video(AVCodecContext *codec_context, VideoQuality video_quality av_dict_set_int(&options, "qp", 26, 0); break; case VideoQuality::ULTRA: - av_dict_set_int(&options, "qp", 20, 0); + av_dict_set_int(&options, "qp", 22, 0); break; } } else { @@ -761,7 +761,7 @@ static void open_video(AVCodecContext *codec_context, VideoQuality video_quality av_dict_set_int(&options, "qp", 28, 0); break; case VideoQuality::ULTRA: - av_dict_set_int(&options, "qp", 22, 0); + av_dict_set_int(&options, "qp", 24, 0); break; } } |