summaryrefslogtreecommitdiff
path: root/encode.c
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-03-25 12:03:26 +0100
committerMikhail Burakov <mburakov@mailbox.org>2023-03-25 12:03:26 +0100
commit1382cb25811afbcbc7ec0f7a7b9bdd58174bae72 (patch)
treec39d647110fd8094c36676d5fa003e492e399938 /encode.c
parent60088b93999c1e93617a7221e571460c2e7d2883 (diff)
Switch streamer to HEVC
Diffstat (limited to 'encode.c')
-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);