From f6f69d3250b323eb45136154eb357a4ab1c2f93d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 18 Jun 2012 17:10:19 -0400 Subject: [PATCH] wcap: Make recorder debug code compile again --- src/screenshooter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screenshooter.c b/src/screenshooter.c index 284111a..ecb8db0 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -328,9 +328,9 @@ weston_recorder_frame_notify(struct wl_listener *listener, void *data) fprintf(stderr, "%dx%d at %d,%d rle from %d to %d bytes (%f) total %dM\n", width, height, r[i].x1, r[i].y1, - width * height * 4, (int) (p - rect) * 4, - (float) (p - rect) / (width * height), - total / 1024 / 1024); + width * height * 4, (int) (p - recorder->rect) * 4, + (float) (p - recorder->rect) / (width * height), + recorder->total / 1024 / 1024); #endif } -- 2.7.4