diff options
author | Johns <johns98@gmx.net> | 2015-06-30 10:12:09 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2015-06-30 10:12:09 +0200 |
commit | ec58e456072d962a18cb50f4324d266ba4a2aae8 (patch) | |
tree | 1dab1b0faa267b7b73de336f5a5876a2632608ec /softhddev.c | |
parent | 396d5fac055aae8afeb4626d2b56e4bf989f8fd6 (diff) | |
download | vdr-plugin-softhddevice-ec58e456072d962a18cb50f4324d266ba4a2aae8.tar.gz vdr-plugin-softhddevice-ec58e456072d962a18cb50f4324d266ba4a2aae8.tar.bz2 |
Fix bug: wrong and crash, if vdr draws pixmaps outside OSD.
Diffstat (limited to 'softhddev.c')
-rw-r--r-- | softhddev.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/softhddev.c b/softhddev.c index a44f020..bc0a3a4 100644 --- a/softhddev.c +++ b/softhddev.c @@ -2866,17 +2866,21 @@ void OsdClose(void) /** ** Draw an OSD pixmap. ** +** @param xi x-coordinate in argb image +** @param yi y-coordinate in argb image +** @paran height height in pixel in argb image +** @paran width width in pixel in argb image +** @param pitch pitch of argb image +** @param argb 32bit ARGB image data ** @param x x-coordinate on screen of argb image ** @param y y-coordinate on screen of argb image -** @paran height height in pixel of argb image -** @paran width width in pixel of argb image -** @param argb height * width 32bit ARGB image data */ -void OsdDrawARGB(int x, int y, int height, int width, const uint8_t * argb) +void OsdDrawARGB(int xi, int yi, int height, int width, int pitch, + const uint8_t * argb, int x, int y) { // wakeup display for showing remote learning dialog VideoDisplayWakeup(); - VideoOsdDrawARGB(x, y, height, width, argb); + VideoOsdDrawARGB(xi, yi, height, width, pitch, argb, x, y); } ////////////////////////////////////////////////////////////////////////////// |