projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff5a74
)
wcap: Make recorder debug code compile again
author
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 18 Jun 2012 21:10:19 +0000
(17:10 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 18 Jun 2012 21:10:19 +0000
(17:10 -0400)
src/screenshooter.c
patch
|
blob
|
history
diff --git
a/src/screenshooter.c
b/src/screenshooter.c
index
284111a
..
ecb8db0
100644
(file)
--- 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 - rec
order->rec
t) * 4,
+ (float) (p - rec
order->rec
t) / (width * height),
+
recorder->
total / 1024 / 1024);
#endif
}