summaryrefslogtreecommitdiff
path: root/equalizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'equalizer.c')
-rw-r--r--equalizer.c6
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) {