diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-04-06 03:08:58 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-04-06 03:08:58 +0200 |
commit | 6770bac05b39f930db40c50dcb969685cf821e2b (patch) | |
tree | 6dcd81a68b1f7acca655ac32ff14b2f9bce87880 /src/main.cpp | |
parent | a1cc0688226e7216007521bfe83bce3bd70d8dc5 (diff) |
vaapi h264: dont set quality parameter
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 c2417ee..3c6fba6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -779,7 +779,7 @@ static void open_video(AVCodecContext *codec_context, VideoQuality video_quality if(codec_context->codec_id == AV_CODEC_ID_H264) { av_dict_set(&options, "profile", "high", 0); - av_dict_set_int(&options, "quality", 5, 0); // quality preset + //av_dict_set_int(&options, "quality", 5, 0); // quality preset } else if(codec_context->codec_id == AV_CODEC_ID_AV1) { av_dict_set(&options, "profile", "main", 0); // TODO: use professional instead? av_dict_set(&options, "tier", "main", 0); |