From 2a0ebb47ce6f440f8379ae8a026d12d06a51c208 Mon Sep 17 00:00:00 2001 From: atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> Date: Sun, 21 Sep 2003 15:34:51 +0000 Subject: [PATCH] temporary fix for attilas 10l, until better solution is found git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10919 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/aspect.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libvo/aspect.c b/libvo/aspect.c index bfba2a1afa..ae86290761 100644 --- a/libvo/aspect.c +++ b/libvo/aspect.c @@ -60,7 +60,12 @@ 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 + if(!zoom && movie_aspect == 0) { +#ifdef ASPECT_DEBUG + printf("aspect(0) no aspect forced!\n"); +#endif + 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);