diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-05-03 14:12:10 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-05-03 14:12:10 +0200 |
commit | 39bc110a2015f9dba8ee707ecd2c9c2901d8c2ff (patch) | |
tree | f5cb8ff188603bc9e3326b3a35bc9143bff9b02c | |
parent | b4bbed2402bc3a35f880679f45229157720f831a (diff) |
Fix h264 software encoding not working
-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 74b713c..0be3768 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -658,7 +658,7 @@ static void open_video_software(AVCodecContext *codec_context, const args_parser av_dict_set(&options, "preset", "veryfast", 0); av_dict_set(&options, "tune", "film", 0); - dict_set_profile(codec_context, GSR_GPU_VENDOR_INTEL, color_depth, GSR_VIDEO_CODEC_H264, &options); + av_dict_set(&options, "profile", "high", 0); if(codec_context->codec_id == AV_CODEC_ID_H264) { av_dict_set(&options, "coder", "cabac", 0); // TODO: cavlc is faster than cabac but worse compression. Which to use? |