diff --git a/ChangeLog b/ChangeLog index bc346b4..a53f749 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +User johns +Date: + + Fix for compile with vdr 2.1.10, for older vdr versions. + User jinx Date: Mon Feb 16 09:58:06 CET 2015 diff --git a/softhddevice.cpp b/softhddevice.cpp index ba0cb2f..310855b 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -513,7 +513,11 @@ void cSoftOsd::Flush(void) #endif OsdDrawARGB(x, y, w, h, pm->Data()); +#if APIVERSNUM >= 20110 DestroyPixmap(pm); +#else + delete pm; +#endif } Dirty = 0; }