[Mplayer-cvslog] CVS: main/libvo aspect.c,1.12,1.13

Felix Buenemann atmosfear at users.sourceforge.net
Sun Sep 21 16:53:20 CEST 2003


On Sunday 21 September 2003 13:56, Attila Kinali CVS wrote:
> Update of /cvsroot/mplayer/main/libvo
> In directory mail:/var/tmp.root/cvs-serv18814
>
> Modified Files:
> 	aspect.c
> Log Message:
> make aspect recognize -noaspect
1000l this change breaks fullscreen calculations eg. for SDL totally, what's 
the sense of it?

>
> Index: aspect.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libvo/aspect.c,v
> retrieving revision 1.12
> retrieving revision 1.13
> diff -u -r1.12 -r1.13
> --- aspect.c	13 Jan 2003 01:50:20 -0000	1.12
> +++ aspect.c	21 Sep 2003 11:56:09 -0000	1.13
> @@ -17,6 +17,7 @@
>  #include "video_out.h"
>
>  float monitor_aspect=4.0/3.0;
> +extern float movie_aspect;
>
>  static struct {
>    int orgw; // real width
> @@ -59,6 +60,7 @@
>  void aspect(int *srcw, int *srch, int zoom){
>    int tmpw;
>
> +  if(movie_aspect == 0) return; // the user doesnt want to fix aspect
>  #ifdef ASPECT_DEBUG
>    printf("aspect(0) fitin: %dx%d zoom: %d screenaspect:
> %.2f\n",aspdat.scrw,aspdat.scrh, zoom,monitor_aspect);
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-cvslog mailing list