[Mplayer-cvslog] CVS: main/libvo aspect.c,1.11,1.12
Atmosfear
atmos4 at mplayerhq.hu
Mon Jan 13 02:50:34 CET 2003
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv29576/libvo
Modified Files:
aspect.c
Log Message:
debug++
Index: aspect.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/aspect.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- aspect.c 10 Jun 2002 18:40:19 -0000 1.11
+++ aspect.c 13 Jan 2003 01:50:20 -0000 1.12
@@ -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){
More information about the MPlayer-cvslog
mailing list