summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encode.c b/encode.c
index c3751b1..243a72a 100644
--- a/encode.c
+++ b/encode.c
@@ -126,7 +126,7 @@ struct EncodeContext* EncodeContextCreate(struct GpuContext* gpu_context,
return NULL;
}
- static const char codec_name[] = "h264_vaapi";
+ static const char codec_name[] = "hevc_vaapi";
const AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
if (!codec) {
LOG("Failed to find %s encoder", codec_name);