From 9fd565fc7ab950ac61f7ea7c0376936aa04aa2ea Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Fri, 20 Sep 2024 15:47:05 +0200 Subject: Recovering hevc encoding with va (WIP) --- video_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video_context.c') diff --git a/video_context.c b/video_context.c index 5d2a2fd..5b157fe 100644 --- a/video_context.c +++ b/video_context.c @@ -170,8 +170,8 @@ static void OnExportDmabufFrameFrame( struct VideoContext* video_context = data; if (!video_context->encode_context) { - video_context->encode_context = - EncodeContextCreate(video_context->io_context, width, height); + video_context->encode_context = EncodeContextCreate( + video_context->io_context, width, height, video_context->display); if (!video_context->encode_context) { LOG("Failed to create encode context"); // TODO(mburakov): Now what?.. -- cgit v1.2.3