diff options
author | phintuka <phintuka> | 2007-09-01 08:47:04 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-09-01 08:47:04 +0000 |
commit | f8e707a19dccf66240236a87f69c1a6f5942852c (patch) | |
tree | d64b8972339b8a97bfa3b20e7fa954a7323a5c98 /equalizer.c | |
parent | 3c57720c1ccb9626c4b3c31bd7b4e2a298baa6be (diff) | |
download | xineliboutput-f8e707a19dccf66240236a87f69c1a6f5942852c.tar.gz xineliboutput-f8e707a19dccf66240236a87f69c1a6f5942852c.tar.bz2 |
Fix OSD compilation with VDR 1.5.9.
Note: layered OSD still won't work as expected.
(Thanks to Petri Helin and Halim Sahin)
Diffstat (limited to 'equalizer.c')
-rw-r--r-- | equalizer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/equalizer.c b/equalizer.c index 9a957cdd..4114b497 100644 --- a/equalizer.c +++ b/equalizer.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: equalizer.c,v 1.2 2006-08-22 03:45:34 phintuka Exp $ + * $Id: equalizer.c,v 1.3 2007-09-01 08:47:04 phintuka Exp $ * */ @@ -46,7 +46,11 @@ void cEqualizer::Show() { tArea areas [] = { {0, 0, OSD_W - 1, OSD_H - 1, 4} }; +#if VDRVERSNUM >= 10509 + m_Osd = cOsdProvider::NewOsd(OSD_X, OSD_Y, 0); +#else m_Osd = cOsdProvider::NewOsd(OSD_X, OSD_Y); +#endif if(m_Osd) { if (m_Osd->CanHandleAreas(areas, sizeof(areas) / sizeof(tArea) ) == oeOk) { |