[Mplayer-cvslog] CVS: main/libvo vosub_vidix.c,1.33,1.34

Nick Kurshev nick at mplayer.dev.hu
Sun Mar 3 17:53:16 CET 2002


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

Modified Files:
	vosub_vidix.c 
Log Message:
Use as much buffers as possible

Index: vosub_vidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vosub_vidix.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- vosub_vidix.c	28 Feb 2002 16:24:55 -0000	1.33
+++ vosub_vidix.c	3 Mar 2002 16:53:12 -0000	1.34
@@ -29,7 +29,7 @@
 #include "osd.h"
 #include "video_out.h"
 
-#define NUM_FRAMES 10 /* Temporary: driver will overwrite it */
+#define NUM_FRAMES VID_PLAY_MAXFRAMES /* Temporary: driver will overwrite it */
 #define UNUSED(x) ((void)(x)) /* Removes warning about unused arguments */
 
 static VDL_HANDLE vidix_handler = NULL;
@@ -571,7 +571,7 @@
 	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;
+	vidix_play.num_frames=vo_doublebuffering?NUM_FRAMES-1:1;
 	vidix_play.src.pitch.y = vidix_play.src.pitch.u = vidix_play.src.pitch.v = 0;
 	if(info)
 	{




More information about the MPlayer-cvslog mailing list