From 1d06c5ba59ff4175b9144764f9750f9143c066fb Mon Sep 17 00:00:00 2001 From: Johns Date: Thu, 12 Feb 2015 10:30:50 +0100 Subject: Compile with vdr 2.1.10 --- ChangeLog | 7 +++++++ softhddevice.cpp | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 79bf45a..6538b99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +User johns +Date: + + Compile with vdr 2.1.10. + Fix bug: AVCodecContext.framerate not supported. + Use video stream frame rate for A/V sync. + User Antti Seppälä Date: Thu Oct 16 14:15:15 CEST 2014 diff --git a/softhddevice.cpp b/softhddevice.cpp index b3467a5..eb07e48 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -496,7 +496,7 @@ void cSoftOsd::Flush(void) } LOCK_PIXMAPS; - while ((pm = RenderPixmaps())) { + while ((pm = (dynamic_cast < cPixmapMemory * >(RenderPixmaps())))) { int x; int y; int w; @@ -513,7 +513,7 @@ void cSoftOsd::Flush(void) #endif OsdDrawARGB(x, y, w, h, pm->Data()); - delete pm; + DestroyPixmap(pm); } Dirty = 0; } -- cgit v1.2.3