Lucian Muresan wrote: ...
#DirectFB-extra/samples/df_xine# diff context.c context.c.original 54d53 < ratio = (double) width / height;
So xine returns ratio value incorrectly and that reason df_xine make StretchBlit function even surface is same side that video source.
Prelude
Hi,
this is all VERY great news for me, as I was looking for this too, for a long, long time. But please tell again, what line and exactly how it should be changed in context.c, eventually in which version of DirectFB-extra, because there are several members "ratio" in tah file, but never alone like you posted it.
Thanks in advance, can't wait to see this happen on my G400 TV-out, too! Lucian
Never mind,
I found the place, and the results are really amazing for VDR-xine (I've tested vdr-1.3.22 and vdr-xine-0.7.1 so far, now I have a wrong aspect ratio on channels broadcasting 544x576, but I'll upgrade to vdr-xine-0.7.3 and see if the problems persist).
I've attached the same diff but issued in a more human readable way, against current DirectFB-extra CVS.
Cheers, Lucian
--- context.c.orig 2005-04-11 12:37:27.000000000 +0200
+++ context.c 2005-04-17 10:37:17.291425752 +0200
@@ -51,6 +51,7 @@
{
DFXCore *this = (DFXCore*) data;
DFXVideoContext *ctx = &this->ctx;
+ ratio = (double) width / height;
bool update_area = (ctx->video.ratio != ratio);
if (ctx->update ||
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
