[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.66,1.67

David Holm mswitch at mplayer.dev.hu
Sat Mar 23 16:27:50 CET 2002


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

Modified Files:
	vo_dxr3.c 
Log Message:
Jitter-bug fixed by Marcel Hild <hild at b4mad.net>, many many thanks goes
out to him...


Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- vo_dxr3.c	20 Mar 2002 17:26:52 -0000	1.66
+++ vo_dxr3.c	23 Mar 2002 15:27:47 -0000	1.67
@@ -6,6 +6,10 @@
  */
 
 /* ChangeLog added 2002-01-10
+ * 2002-03-23:
+ *  Thanks to Marcel Hild <hild at b4mad.net> the jitter-bug experienced
+ *  with some videos have been fixed, many thanks goes to him.
+ *
  * 2002-03-16:
  *  Fixed problems with fame, it gives a better picture than avcodec,
  *  but is slightly slower. Most notably the wobbling effect is gone
@@ -193,7 +197,8 @@
 {
 	int tmp1, tmp2, size;
 	em8300_register_t reg;
-    
+	extern float monitor_aspect;
+	
 	/* Softzoom turned on, downscale */
 	/* This activates the subpicture processor, you can safely disable this and still send */
 	/* broken subpics to the em8300, if it's enabled and you send broken subpics you will end */
@@ -235,6 +240,9 @@
 	v_width = width;
 	v_height = height;
 
+	/* Set monitor_aspect to avoid jitter */
+	monitor_aspect = (float) width / (float) height;
+	
 	/* libavcodec requires a width and height that is x|16 */
 	aspect_save_orig(width, height);
 	aspect_save_prescale(d_width, d_height);




More information about the MPlayer-cvslog mailing list