aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 020deb7..c6b0e8d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -900,9 +900,9 @@ static void open_video_hardware(AVCodecContext *codec_context, VideoQuality vide
} else if(codec_context->codec_id == AV_CODEC_ID_HEVC) {
//av_dict_set(&options, "pix_fmt", "yuv420p16le", 0);
if(color_depth == GSR_COLOR_DEPTH_10_BITS)
- av_dict_set_int(&options, "profile", AV_PROFILE_HEVC_MAIN_10, 0);
+ av_dict_set(&options, "profile", "main10", 0);
else
- av_dict_set_int(&options, "profile", AV_PROFILE_HEVC_MAIN, 0);
+ av_dict_set(&options, "profile", "main", 0);
}
} else {
// TODO: More quality options