[MPlayer-dev-eng] aspect ratio: container vs vd_ffmpeg

Moritz Bunkus moritz at bunkus.org
Tue May 6 16:54:22 CEST 2003


Hi.

> //    if(ctx->last_aspect>=0.01 && ctx->last_aspect<100)
>           sh->aspect = ctx->last_aspect;

I've just committed a small change to main that converts this to...

     if(sh->aspect==0.0)
        sh->aspect = ctx->last_aspect;

This way the container aspect ration, if set, takes precedence over the
stream's AR. As this only affects Matroska (the other demuxers that set
sh_v->aspect are mov, nuv and y4m) I hope you don't mind. If you do (or
if I've fucked up), then I'm ready to drink my share ;)

-- 
 ==> Ciao, Mosu (Moritz Bunkus)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030506/b84a5e38/attachment.pgp>


More information about the MPlayer-dev-eng mailing list