[MPlayer-dev-eng] Direct3D OSD discussion

Jim Hauxwell james at dattrax.co.uk
Sat Nov 29 00:15:12 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reimar Döffinger wrote:
> On Fri, Nov 28, 2008 at 08:29:27PM +0000, Jim Hauxwell wrote:
>> I have a fix for the OSD and the display size issue
>>
>> -aspect etc.
>>
>> It basically adjusts the texture coordinates to maximize the OSD in the
>> viewable area, keeping square pixel ratio for the OSD.
> 
> Well, just replacing
> (float)priv->src_width / priv->src_height
> with
> (float)vo_dwidth / vo_dheight
> should do it I think...
> 
>> Do you want another patch with those other cleanups and this?
> 
> If it is no effort for you. But I am not in a hurry...

Actually, can we defer as I think some discussion is needed for this?

Currently the OSD is rendered at the movie aspect not the display
aspect.  The fix I have (which seems to work) modifies the x or y
texture coordinates to map the movie aspect to the display aspect.

OSD is a big patch and has required many goes from me to get the
formatting correct etc.  I think it would be better to have a small
patch to enhance the OSD later.

Jim

> 
> Greetings,
> Reimar Döffinger
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkwe4AACgkQhrNWoHjgI1BYQwCeJQWuta9Ylvu+oqmDK/vTcrXx
TlgAn3vkoItlQwpkNRLVokKWmjiUYbSQ
=IPYZ
-----END PGP SIGNATURE-----




More information about the MPlayer-dev-eng mailing list