diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | ovgosd.c | 8 |
2 files changed, 8 insertions, 1 deletions
@@ -2,6 +2,7 @@ VDR Plugin 'rpihddevice' Revision History ----------------------------------------- - fixed: + - displaying subtitles when OSD is active (fix by Klaus Schmidinger) - default quality when grabbing jpeg image (reported by Klaus Schmidinger) - suppress buffer stall when clock is halted - set clock latency target according omxplayer @@ -271,11 +271,17 @@ cOvgOsd::cOvgOsd(int Left, int Top, uint Level, cOvg *ovg) : cOvgOsd::~cOvgOsd() { - m_ovg->Clear(); + if (Active()) + m_ovg->Clear(); + + SetActive(false); } void cOvgOsd::Flush(void) { + if (!Active()) + return; + if (IsTrueColor()) { LOCK_PIXMAPS; |