[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.69,1.70

David Holm mswitch at mplayer.dev.hu
Sat Mar 23 19:16:25 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv377/libvo

Modified Files:
	vo_dxr3.c 
Log Message:
Aspect code reenabled, apparently users didn't like running movies
hi-res ;)


Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- vo_dxr3.c	23 Mar 2002 16:36:42 -0000	1.69
+++ vo_dxr3.c	23 Mar 2002 18:16:22 -0000	1.70
@@ -245,7 +245,7 @@
 	monitor_aspect = (float) width / (float) height;
 	
 	/* libavcodec requires a width and height that is x|16 */
-	/*aspect_save_orig(width, height);
+	aspect_save_orig(width, height);
 	aspect_save_prescale(d_width, d_height);
 	ioctl(fd_control, EM8300_IOCTL_GET_VIDEOMODE, &ioval);
 	if (ioval == EM8300_VIDEOMODE_NTSC) {
@@ -257,9 +257,7 @@
 	}
 	aspect(&s_width, &s_height, A_ZOOM);
 	s_width -= s_width % 16;
-	s_height -= s_height % 16;*/
-	s_width = ((v_width + 15) / 16) * 16;
-	s_height = ((height + 15) / 16) * 16;
+	s_height -= s_height % 16;
 	
 	/* Try to figure out whether to use widescreen output or not */
 	/* Anamorphic widescreen modes makes this a pain in the ass */




More information about the MPlayer-cvslog mailing list