[MPlayer-dev-eng] [PATCH] dsize negative scale values

RC rcooley at spamcop.net
Sun Jul 3 21:25:32 CEST 2005


On Sat, 2 Jul 2005 23:28:58 +0300
Oded Shimon <ods15 at ods15.dyndns.org> wrote:

> dsize=w:h:keepaspect:round
> 
> for w,h, -1 means d_w/d_h, and 0 means original w/h
> 
> for keepaspect, 0 means nothing, 1 means force d_w/d_h aspect, by 
> downscaling, 2 means the same, but upscaling, 3 and 4 mean the same,
> but with w/h aspect.

I'm still not sure what you want "keepaspect" for.  Using -1
and/ or -2 you can maintain the aspect, either upscaling or downscaling.

"round" wouldn't be difficult to adapt from vf_scale, but I can't find
any reason it would be at all useful for dsize.




More information about the MPlayer-dev-eng mailing list