summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_update_image.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-11 11:43:39 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-11 13:36:42 -0700
commit5b7026676952fffe82ece362f21d190f8aac66a0 (patch)
tree040cf88df64edb774b5ee8193d07293e09cf60c9 /recordmydesktop/src/rmd_update_image.c
parent94e08c4fb86eed1351faedd903e4707a490414c3 (diff)
*: no more enc_data->[xy]_offset
With no rrect alignment adjustment happening, there's no need for this fuckery anymore. The theora encoding offsets will always be left at 0, the frame_{width, height} will clip to rrect.{width,height}, and the yuv buffer dimensions are the only thing 16x16 aligned.
Diffstat (limited to 'recordmydesktop/src/rmd_update_image.c')
-rw-r--r--recordmydesktop/src/rmd_update_image.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/recordmydesktop/src/rmd_update_image.c b/recordmydesktop/src/rmd_update_image.c
index b48e96b..343e1bb 100644
--- a/recordmydesktop/src/rmd_update_image.c
+++ b/recordmydesktop/src/rmd_update_image.c
@@ -84,8 +84,8 @@ void rmdUpdateImage( Display * dpy,
yuv,
(unsigned char *)image->ximage->data,
NULL,
- temp->rect.x - brwin->rrect.x + enc->x_offset,
- temp->rect.y - brwin->rrect.y + enc->y_offset,
+ temp->rect.x - brwin->rrect.x,
+ temp->rect.y - brwin->rrect.y,
temp->rect.width,
temp->rect.height,
no_quick_subsample,
@@ -93,4 +93,3 @@ void rmdUpdateImage( Display * dpy,
);
}
}
-
© All Rights Reserved