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

D Richard Felker III dalias at aerifal.cx
Tue May 6 17:11:55 CEST 2003


On Tue, May 06, 2003 at 04:54:22PM +0200, Moritz Bunkus wrote:
> 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 ;)

Somehow I think this whole cola business would work a lot better (and
prevent "cola inflation") if you actually had to upload a video of
yourself drinking the 10l to mphq... :))

Rich



More information about the MPlayer-dev-eng mailing list