[MPlayer-dev-eng] bogus d_width/d_height behavior in vf_scale

D Richard Felker III dalias at aerifal.cx
Sun Apr 27 11:50:34 CEST 2003


On Sat, Apr 26, 2003 at 12:26:15PM -0400, D Richard Felker III wrote:
> The other fix is to scale both d_width and d_height by the *same*
> number, either vf->priv->w/width or vf->priv->h/height, or even their
> average or something. This will ensure that aspect does not get
> trashed, while also adjusting the display width and height
> appropriately. IMO it makes the most sense to choose the bigger of
> vf->priv->w/width and vf->priv->h/height and use this as the display
> size scaling factor...
> 
> Comments? If no one strongly objects I'll implement fix 2 sometime
> soon.

Just committed a better fix. Now vf_scale works properly when the vo
has hardware scaling (aspect correction doesn't get "doubled"), and
the new -lavcopts autoaspect works perfect with or without vf_scale
(so you can make autoaspect your default if you like).

Rich



More information about the MPlayer-dev-eng mailing list