From e774129b24f2e736bd7b2f6d5f88b792adfaac0b Mon Sep 17 00:00:00 2001 From: columbarius Date: Thu, 17 Sep 2020 07:46:10 +0200 Subject: [PATCH] EXPERIMENTAL: Use SCP_DMABUF2MemPtr screencast instance --- src/screencast/screencast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screencast/screencast.c b/src/screencast/screencast.c index 2039a2d2..c97e96db 100644 --- a/src/screencast/screencast.c +++ b/src/screencast/screencast.c @@ -25,7 +25,7 @@ void xdpw_screencast_instance_init(struct xdpw_screencast_context *ctx, cast->framerate = out->framerate; cast->with_cursor = with_cursor; cast->refcount = 1; - cast->type = XDPW_INSTANCE_SCP_DMABUF; + cast->type = XDPW_INSTANCE_SCP_DMABUF2MemPtr; logprint(INFO, "xdpw: screencast instance %p has %d references", cast, cast->refcount); wl_list_insert(&ctx->screencast_instances, &cast->link); logprint(INFO, "xdpw: %d active screencast instances",