changeset 8936:7c28736ebf2c

debug++
author atmos4
date Mon, 13 Jan 2003 01:50:20 +0000
parents 3c50e662d588
children afca652cb0e5
files libvo/aspect.c
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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){