diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2024-09-20 15:47:05 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2024-09-20 15:47:05 +0200 |
commit | 9fd565fc7ab950ac61f7ea7c0376936aa04aa2ea (patch) | |
tree | 50060388c84e116f84113ea315a536729fc4c379 /video_context.c | |
parent | b376d179dbf7645d356db52e56e7851f382d2092 (diff) |
Recovering hevc encoding with va (WIP)
Diffstat (limited to 'video_context.c')
-rw-r--r-- | video_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
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?.. |