diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-16 12:55:33 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-16 12:55:33 +0100 |
commit | 3ecbdd489e19a1844843fc1e5e60a689908ffc02 (patch) | |
tree | 20fe31906255dcb9150b01ca1d636d2f179e469c /dvbapi.c | |
parent | 4c018b1c3603a65edce32e7b311bbe53c63cc9ab (diff) | |
download | vdr-3ecbdd489e19a1844843fc1e5e60a689908ffc02.tar.gz vdr-3ecbdd489e19a1844843fc1e5e60a689908ffc02.tar.bz2 |
Fixed a crash when replaying with DEBUG_OSD=1
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -7,7 +7,7 @@ * DVD support initially written by Andreas Schultz <aschultz@warp10.net> * based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si> * - * $Id: dvbapi.c 1.147 2002/02/02 13:04:00 kls Exp $ + * $Id: dvbapi.c 1.148 2002/02/16 12:55:33 kls Exp $ */ //#define DVDDEBUG 1 @@ -3017,7 +3017,9 @@ void cDvbApi::Text(int x, int y, const char *s, eDvbColor colorFg, eDvbColor col void cDvbApi::Flush(void) { -#ifndef DEBUG_OSD +#ifdef DEBUG_OSD + refresh(); +#else if (osd) osd->Flush(); #endif |