[MPlayer-dev-eng] [PATCH] -forceaspect option

Diego Biurrun diego at biurrun.de
Fri Jul 1 17:24:55 CEST 2005


On Fri, Jul 01, 2005 at 05:42:35PM +0300, Oded Shimon wrote:
> 
> --- cfg-common.h	13 May 2005 14:45:28 -0000	1.145
> +++ cfg-common.h	1 Jul 2005 14:33:29 -0000
> @@ -199,6 +199,8 @@
>          {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0, NULL},
>  	{"aspect", &movie_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0, NULL},
>  	{"noaspect", &movie_aspect, CONF_TYPE_FLAG, 0, 0, 0, NULL},
> +        {"forceaspect", &force_aspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
> +        {"noforceaspect", &force_aspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
>  	{"xy", &screen_size_xy, CONF_TYPE_FLOAT, CONF_RANGE, 0.001, 4096, NULL},

I was going to complain that you are messing up indentation here, but
probably it is indented via random() already...

> --- DOCS/man/en/mplayer.1	20 Jun 2005 18:28:46 -0000	1.1022
> +++ DOCS/man/en/mplayer.1	1 Jul 2005 14:33:37 -0000
> @@ -3184,6 +3184,10 @@
>  Disable automatic movie aspect ratio compensation.
>  .
>  .TP
> +.B \-forceaspect
> +Force keeping movie aspect ratio even when -x or -y are set, by downscaling.
> +.
> +.TP
>  .B \-flip \ 

Options need to go in alphabetical order.

Diego




More information about the MPlayer-dev-eng mailing list