diff options
-rw-r--r-- | libvo/aspect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/aspect.c b/libvo/aspect.c index 371dc16f8a..bfba2a1afa 100644 --- a/libvo/aspect.c +++ b/libvo/aspect.c @@ -17,6 +17,7 @@ float vo_panscan_amount = 0; #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_save_screenres(int scrw, int scrh){ 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); |