[MPlayer-dev-eng] patch for set right aspect ratio on playing with "-fs -vo vesa"

Attila Kinali attila at kinali.ch
Sun Sep 19 08:47:30 CEST 2004


On Thu, Jul 22, 2004 at 10:19:34AM +0300, Alexander Buloichik wrote:

> Index: vo_vesa.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
> retrieving revision 1.100
> diff -u -r1.100 vo_vesa.c
> --- vo_vesa.c	25 Jun 2004 17:29:18 -0000	1.100
> +++ vo_vesa.c	22 Jul 2004 07:16:08 -0000
> @@ -803,6 +803,11 @@
>  		      {
>  			dstW = video_mode_info.XResolution;
>  			dstH = video_mode_info.YResolution;
> +
> +		        aspect_save_orig(width,height);
> +			aspect_save_prescale(d_width,d_height);
> +			aspect_save_screenres(video_mode_info.XResolution,video_mode_info.YResolution);
> +			aspect(&dstW,&dstH,A_ZOOM);


Anyone out there who would like to maintain vo vesa ?


			Attila Kinali




More information about the MPlayer-dev-eng mailing list