[Mplayer-cvslog] CVS: main/libvo vosub_vidix.c,1.56,1.57

Alex Beregszaszi alex at mplayerhq.hu
Sun Dec 15 19:18:59 CET 2002


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

Modified Files:
	vosub_vidix.c 
Log Message:
this isn't mplayerxp...3 buffers are enough for double(triple)buffering (instead of 28 buffers ;)

Index: vosub_vidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vosub_vidix.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- vosub_vidix.c	23 Nov 2002 10:58:07 -0000	1.56
+++ vosub_vidix.c	15 Dec 2002 18:18:41 -0000	1.57
@@ -491,7 +491,9 @@
 	vidix_play.dest.y = y_org;
 	vidix_play.dest.w = dst_width;
 	vidix_play.dest.h = dst_height;
-	vidix_play.num_frames=vo_doublebuffering?NUM_FRAMES-1:1;
+//	vidix_play.num_frames=vo_doublebuffering?NUM_FRAMES-1:1;
+	/* we aren't mad...3 buffers are more than enough */
+	vidix_play.num_frames=vo_doublebuffering?3:1;
 	vidix_play.src.pitch.y = vidix_play.src.pitch.u = vidix_play.src.pitch.v = 0;
 
 	if((err=vdlConfigPlayback(vidix_handler,&vidix_play))!=0)




More information about the MPlayer-cvslog mailing list