# HG changeset patch # User attila # Date 1064145369 0 # Node ID d4ec1e1c8dc8ae60e210674ee75b2a397e2389a1 # Parent e00bb9e4bac7418a6e02c877798051cf470ba1d6 make aspect recognize -noaspect diff -r e00bb9e4bac7 -r d4ec1e1c8dc8 libvo/aspect.c --- a/libvo/aspect.c Sun Sep 21 11:40:13 2003 +0000 +++ b/libvo/aspect.c Sun Sep 21 11:56:09 2003 +0000 @@ -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);