la, 2006-09-16 kello 20:31 +0200, Stefan Lucke kirjoitti:
> On Samstag 16 September 2006 19:21, Heikki Lindholm wrote:
> > I didn't like the need to have "primary-layer=2" in /etc/directfbrc, and
> > I also think mgatv output should always go to TV regardless of the
> > primary layer. The included patch always defaults both OSD and video
> > layers to crtc2 when mgatv option is used.
>
> Good to know, that even of my previous replies your are still interested
> in some improvements of softdevice.
>
> In case of option mgatv, there are some other parameters of directfbrc
> obsolete, like:
>
> depth = 32
> pixelformat=ARGB
>
> and pal implies:
> matrox-tv-standard=pal
> mode=720x576
> ntsc implies:
> matrox-tv-standard=ntsc
> mode=720x480
>
> Passing these parameters to directfb could be done via the Init() call.
>
> char *matroxTvArgs[6] = {
> "depth = 32",
> "pixelformat = ARGB",
> "matrox-crtc2",
> NULL,
> NULL,
> NULL};
>
> dfbInitArgc = 0
> dfbInitArgv = NULL;
> if (setupstore->useMGAtv) {
> dfbInitArgc = 3;
> dfbInitArgv = matroxTvArgs;
> }
>
> DirectFB::Init(dfbInitARgc, dfbInitArgv);
>
> What do you think of such a way ?
> I guess we need a way to switch TV-norm on the fly.
> Going from PAL to PAL60 depending on current frame duration.
Just for the record, my motivation for the patch was easy switching
between a CRT TV in the second head and an LCD in the first head.
Actually, it'd be splendid if the output device could be configured
runtime from the VDR menu, similar to what many DVB settop boxes allow.
-- Heikki Lindholm
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel