On Friday 02 March 2007 18:45, Hugo Visser wrote:
>
> On Mar 2, 2007, at 12:22 PM, Nicolas Huillard wrote:
> > Your photos seem to show what I would like, except that you're in a
> > 1024x576 window on a 4:3 device.
> >
> > We're talking about DirectFB and full-screen and output on a 16:9
> > device. The problem might be either of those 3 conditions.
That shouldn't matter :-) .
>
> Maybe it's also due to the fact that I've set softdevice to 16:9 and
> not "default". Here are my screen shots:
>
> A 16:9 broadcast shown correctly, soft device is set to 16:9 aspect
> ratio. Then the same broadcast using the "default" aspect ratio; the
> image is stretched, black bars are added on top.
>
> http://img402.imageshack.us/img402/1438/dsc00244xv7.jpg
> http://img442.imageshack.us/img442/1990/dsc00245lt9.jpg
Can't believe what I see.
Can you try attached patch to get some more infos ?
Which graphic card do you use ?
--
Stefan Lucke
Index: video.c
===================================================================
RCS file: /cvsroot/softdevice/softdevice/video.c,v
retrieving revision 1.73
diff -U3 -r1.73 video.c
--- video.c 26 Feb 2007 23:00:34 -0000 1.73
+++ video.c 2 Mar 2007 21:58:43 -0000
@@ -262,6 +262,9 @@
*/
lheight = dheight;
lwidth = (int) (0.5 + ((double) dheight * afd_aspect / p_asp));
+setupStore->softlog->Log(SOFT_LOG_DEBUG, 0,
+"[video] ++ afd = %.5f, pasp = %.5f, dasp = %.5f, sa = %d, dw = %d, dh = %d\n",
+afd_aspect, p_asp, d_asp, screenPixelAspect, dwidth, dheight);
} else {
/* ------------------------------------------------------------------------
* display aspect is taller or equal than frame aspect
@@ -269,6 +272,9 @@
*/
lwidth = dwidth;
lheight = (int) (0.5 + ((double) dwidth * p_asp / afd_aspect));
+setupStore->softlog->Log(SOFT_LOG_DEBUG, 0,
+"[video] -- afd = %.5f, pasp = %.5f, dasp = %.5f, sa = %d, dw = %d, dh = %d\n",
+afd_aspect, p_asp, d_asp, screenPixelAspect, dwidth, dheight);
}
/* -------------------------------------------------------------------------
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel