Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: vdr 1.3.1 and dvd?
Hello,
Under http://www.vdrportal.de/board/thread.php?threadid=11144&sid= one
could found a simple patch to compile dvd-0.3.4-rc10 under 1.3.2, I put
here a copy pf the patch:
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;
Grégoire
________________________________________________________________________
http://magma.epfl.ch/greg ICQ:16624071 mailto:Gregoire.Favre@freesurf.ch
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index