# HG changeset patch # User atmos4 # Date 1042422620 0 # Node ID 7c28736ebf2c505e56fa597997fbcf1d039b22c3 # Parent 3c50e662d58870de72390a1d9138c2485591d815 debug++ diff -r 3c50e662d588 -r 7c28736ebf2c libvo/aspect.c --- a/libvo/aspect.c Mon Jan 13 01:20:21 2003 +0000 +++ b/libvo/aspect.c Mon Jan 13 01:50:20 2003 +0000 @@ -29,16 +29,25 @@ } 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 @@ 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){