From 2e0f15e0c82cc1b7c88984ab67fe88501f9d90cd Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 15 Dec 2002 18:18:41 +0000 Subject: [PATCH] this isn't mplayerxp...3 buffers are enough for double(triple)buffering (instead of 28 buffers ;) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8460 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vosub_vidix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c index 8a23c9585a..370ce64ec5 100644 --- a/libvo/vosub_vidix.c +++ b/libvo/vosub_vidix.c @@ -491,7 +491,9 @@ int vidix_init(unsigned src_width,unsigned src_height, 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)