diff options
Diffstat (limited to 'setup_menu.c')
-rw-r--r-- | setup_menu.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/setup_menu.c b/setup_menu.c index 77a2ea28..7f77046a 100644 --- a/setup_menu.c +++ b/setup_menu.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: setup_menu.c,v 1.34 2007-06-19 06:06:22 phintuka Exp $ + * $Id: setup_menu.c,v 1.35 2007-09-01 08:47:04 phintuka Exp $ * */ @@ -1537,7 +1537,11 @@ void cTestGrayscale::Show() int i; if(!m_Osd) +#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) { @@ -1636,7 +1640,11 @@ void cTestBitmap::Show() int x, y, bit = 0; if(!m_Osd) { +#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) { |