aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fe00838..f85dc9b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -456,8 +456,8 @@ static AVStream *add_video_stream(AVFormatContext *av_format_context, AVCodec **
codec_context->qmin = 18;
codec_context->qmax = 27;
av_opt_set(codec_context->priv_data, "preset", "slow", 0);
- av_opt_set(codec_context->priv_data, "profile", "baseline", 0);
- codec_context->profile = FF_PROFILE_H264_BASELINE;
+ av_opt_set(codec_context->priv_data, "profile", "high", 0);
+ codec_context->profile = FF_PROFILE_H264_HIGH;
break;
case VideoQuality::ULTRA:
codec_context->qmin = 16;