summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_update_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src/rmd_update_image.c')
-rw-r--r--recordmydesktop/src/rmd_update_image.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/recordmydesktop/src/rmd_update_image.c b/recordmydesktop/src/rmd_update_image.c
index 657868d..3b5c39f 100644
--- a/recordmydesktop/src/rmd_update_image.c
+++ b/recordmydesktop/src/rmd_update_image.c
@@ -73,10 +73,12 @@ void rmdUpdateImage( Display * dpy,
temp->rect.height);
}
- UPDATE_YUV_BUFFER(
- yuv,dtap,NULL,
- temp->rect.x-brwin->rrect.x+enc->x_offset,
- temp->rect.y-brwin->rrect.y+enc->y_offset,
+ rmdUpdateYuvBuffer(
+ yuv,
+ dtap,
+ NULL,
+ temp->rect.x - brwin->rrect.x + enc->x_offset,
+ temp->rect.y - brwin->rrect.y + enc->y_offset,
temp->rect.width,
temp->rect.height,
no_quick_subsample,
© All Rights Reserved