From 5390079b4a2bfb5cbf565e654424ee372ad630fd Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 18 Dec 2018 16:01:12 +0100 Subject: [PATCH] video-src: set valid cursor id --- src/examples/video-src.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/video-src.c b/src/examples/video-src.c index d756ba0e0..dbc639fde 100644 --- a/src/examples/video-src.c +++ b/src/examples/video-src.c @@ -141,7 +141,7 @@ static void on_timeout(void *userdata, uint64_t expirations) struct spa_meta_bitmap *mb; uint32_t *bitmap, color; - mcs->id = 0; + mcs->id = 1; /* 0 is invalid cursor, anything else is valid */ mcs->position.x = (sin(data->accumulator) + 1.0) * 160.0 + 80; mcs->position.y = (cos(data->accumulator) + 1.0) * 100.0 + 50; mcs->hotspot.x = 0;