Skip to content

Commit

Permalink
compile with vdr 2.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
flensrocker committed Feb 11, 2015
1 parent 3811ddc commit b18fe82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dbus2vdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include "avahi-helper.h"


static const char *VERSION = "22";
static const char *VERSION = "23";
static const char *DESCRIPTION = trNOOP("control vdr via D-Bus");
static const char *MAINMENUENTRY = NULL;

Expand Down
4 changes: 2 additions & 2 deletions osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void cDBusOsd::Flush(void)
int x, y;
const uint8_t *pixel;
png::image<png::rgba_pixel> *pngfile;
while (cPixmapMemory *pm = RenderPixmaps()) {
while (cPixmapMemory *pm = dynamic_cast<cPixmapMemory*>(RenderPixmaps())) {
/*write = true;*/
vp = &pm->ViewPort();
vx = vp->X();
Expand All @@ -83,7 +83,7 @@ void cDBusOsd::Flush(void)

counter++;
delete pngfile;
delete pm;
DestroyPixmap(pm);
}
}
#endif
Expand Down

0 comments on commit b18fe82

Please sign in to comment.