Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: dvd plugin on 1.3.6



Lauri Tischler wrote:

Ummm... ???

control-dvd.c: In member function `void cDvdPlayerControl::OsdOpen(int, int)':
control-dvd.c:175: error: no matching function for call to `cFont::cFont(
eDvbFont)'
../../../include/vdr/font.h:29: error: candidates are: cFont::cFont(const
cFont&)
../../../include/vdr/font.h:42: error: cFont::cFont(void*)

I found this solution von vdrportal.de
It worked for me.

André.



diff -Nru dvd-0.3.4-rc10/control-dvd.c vdr-dvd-0.3.4-rc10-patched/control-dvd.c
--- dvd-0.3.4-rc10/control-dvd.c Tue Nov 11 14:43:29 2003
+++ vdr-dvd-0.3.4-rc10-patched/control-dvd.c Sun Jan 4 18:43:35 2004
@@ -172,8 +172,8 @@
{
DEBUG_OSDPOS("*** OSD Open\n");
if(!osdPosOffsetSet && player!=NULL) {
- cFont font(fontOsd);
- int h = font.Height('X');
+ const cFont *font = cFont::GetFont(fontOsd);
+ int h = font->Height('X');
osdPosOffset = ( player->getHeight()/h - Setup.OSDheight ) - 3 ;
osdPosOffsetSet = true;
osdPos += osdPosOffset;




--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index