diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-13 01:50:20 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-13 01:50:20 +0000 |
commit | 57b2503b004ce37b7de9cc62682dcfd58ff2a33a (patch) | |
tree | e46cb0b2c7b0c063a5efd466965d03463c473a09 /libvo | |
parent | 6d2e21b2735098d4491ad5c47fdb6f2d2a770c37 (diff) | |
download | mpv-57b2503b004ce37b7de9cc62682dcfd58ff2a33a.tar.bz2 mpv-57b2503b004ce37b7de9cc62682dcfd58ff2a33a.tar.xz |
debug++
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8937 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/aspect.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libvo/aspect.c b/libvo/aspect.c index b32414b272..371dc16f8a 100644 --- a/libvo/aspect.c +++ b/libvo/aspect.c @@ -29,16 +29,25 @@ static struct { } aspdat; void aspect_save_orig(int orgw, int orgh){ +#ifdef ASPECT_DEBUG + printf("aspect_save_orig %dx%d \n",orgw,orgh); +#endif aspdat.orgw = orgw; aspdat.orgh = orgh; } void aspect_save_prescale(int prew, int preh){ +#ifdef ASPECT_DEBUG + printf("aspect_save_prescale %dx%d \n",prew,preh); +#endif aspdat.prew = prew; aspdat.preh = preh; } void aspect_save_screenres(int scrw, int scrh){ +#ifdef ASPECT_DEBUG + printf("aspect_save_screenres %dx%d \n",scrw,scrh); +#endif aspdat.scrw = scrw; aspdat.scrh = scrh; } @@ -51,7 +60,8 @@ void aspect(int *srcw, int *srch, int zoom){ int tmpw; #ifdef ASPECT_DEBUG - printf("aspect(0) fitin: %dx%d zoom: %d \n",aspdat.scrw,aspdat.scrh,zoom); + printf("aspect(0) fitin: %dx%d zoom: %d screenaspect: %.2f\n",aspdat.scrw,aspdat.scrh, + zoom,monitor_aspect); printf("aspect(1) wh: %dx%d (org: %dx%d)\n",*srcw,*srch,aspdat.prew,aspdat.preh); #endif if(zoom){ |