Mailing List archive

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

[vdr] Re: [ANNOUNCE] plugin vdr-softdevice-0.0.6pre3



Quoting Vadim Catana <vcatana@registru.md>:

> Stefan Lucke wrote:
> >>   2004-05-20 : softdevice-0.0.6pre3
> >>     - fb output is now running with vdr-1.3.7 too
> >>     - merged softdevice-0.0.5-fb-patch01
> >>       (its intentionaly in the vdr-1.2.x section only)
> >>     - fix OSD positioning fb-out + vidix-out for vdr-1.3.7
>  >
>  > The OSD position in vdr-1.3.7 is adjustable from the menu in
>  > Setup/OSD, so no need to fix it. With this fix, if i set
>  > from the menu Left=0 and Right=0 the OSD is in the center
>  > of the screen, when it should be in the left upper corner.

Ahh, so that is a feature. So I'll have to revert, right? (video.c):

@@ -23,15 +23,79 @@
 
 void cVideoOut::OpenOSD(int X, int Y)
 {
-    OSDxOfs = X;
-    OSDyOfs = Y;
-
-    OSDpresent=true;
+  OSDxOfs = (Xres - 720) / 2 + X;
+  OSDyOfs = (Yres - 576) / 2 + Y;
+  OSDpresent=true;
 }


Stefan Lucke


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



Home | Main Index | Thread Index