summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-07-14 11:05:30 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-07-14 11:05:30 +0200
commit562dbb818be511f93a15f26ea9c21989cd5b171f (patch)
treec8be945493202636b09fbd57d3eedbedaa522c69 /osd.c
parent8be5a7b7b2617ec0eb8b2ad038c7b60b416c62f3 (diff)
downloadvdr-562dbb818be511f93a15f26ea9c21989cd5b171f.tar.gz
vdr-562dbb818be511f93a15f26ea9c21989cd5b171f.tar.bz2
Added cOsd::OpenRaw() to create a raw OSD (needed for displaying SPUs) (con't, fix in case of DEBUG_OSD)
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index fd5abcc2..6541560a 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 1.30 2002/07/13 12:46:30 kls Exp $
+ * $Id: osd.c 1.31 2002/07/14 11:05:30 kls Exp $
*/
#include "osd.h"
@@ -70,7 +70,11 @@ void cOsd::SetColor(eDvbColor colorFg, eDvbColor colorBg)
cOsdBase *cOsd::OpenRaw(int x, int y)
{
+#ifdef DEBUG_OSD
+ return NULL;
+#else
return osd ? NULL : new cDvbOsd(cDevice::PrimaryDevice()->OsdDeviceHandle(), x, y);
+#endif
}
void cOsd::Open(int w, int h)