summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 15:34:51 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 15:34:51 +0000
commit2a0ebb47ce6f440f8379ae8a026d12d06a51c208 (patch)
treea87828d086f9aa07cfcd692a10ef73cddf24d401 /libvo
parent943904865ff0af25172c788601a585cf2cc590b4 (diff)
downloadmpv-2a0ebb47ce6f440f8379ae8a026d12d06a51c208.tar.bz2
mpv-2a0ebb47ce6f440f8379ae8a026d12d06a51c208.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/aspect.c7
1 files changed, 6 insertions, 1 deletions
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);