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",