[Mplayer-cvslog] CVS: main/libvo spuenc.c,1.1,1.2 vo_dxr3.c,1.78,1.79

David Holm mswitch at mplayer.dev.hu
Thu Apr 4 18:35:06 CEST 2002


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

Modified Files:
	spuenc.c vo_dxr3.c 
Log Message:
Removed blinking effect from spuenc


Index: spuenc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/spuenc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- spuenc.c	3 Apr 2002 10:05:35 -0000	1.1
+++ spuenc.c	4 Apr 2002 16:35:03 -0000	1.2
@@ -61,17 +61,17 @@
 	/* start at x0+2*/
 	i= controlstart;
 	/* display duration... */
-	ed->data[i++]= 0x00;
-	ed->data[i++]= 0x00; //durration before turn off command occurs
+//	ed->data[i++]= 0x00;
+//	ed->data[i++]= 0x00; //durration before turn off command occurs
 			     //in 90000/1024 units
 	
 	/* x1 */
-	x1=i+4;
-	ed->data[i++]= x1 >> 8;//location of next command block
-	ed->data[i++]= x1 & 0xff;
+//	x1=i+4;
+//	ed->data[i++]= x1 >> 8;//location of next command block
+//	ed->data[i++]= x1 & 0xff;
 	/* finish it */
-	ed->data[i++]= 0x02;//turn off command
-	ed->data[i++]= 0xff;//end of command block
+//	ed->data[i++]= 0x02;//turn off command
+//	ed->data[i++]= 0xff;//end of command block
 	x1= i; //marker for last command block address 
 	
 	/* display duration... */

Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- vo_dxr3.c	4 Apr 2002 16:11:09 -0000	1.78
+++ vo_dxr3.c	4 Apr 2002 16:35:03 -0000	1.79
@@ -499,7 +499,7 @@
 {
 	if (img_format != IMGFMT_MPEGPES) {
 		vo_draw_text(osd_w, osd_h, draw_alpha);
-	} else if ((disposd % 30) == 0) {
+	} else if ((disposd % 15) == 0) {
 		vo_draw_text(osd_w, osd_h, draw_alpha);
 		memset(osdpicbuf, 0, s_width * s_height);
 




More information about the MPlayer-cvslog mailing list