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
This commit is contained in:
alex 2002-12-15 18:18:41 +00:00
parent f10afcba44
commit 2e0f15e0c8
1 changed files with 3 additions and 1 deletions

View File

@ -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)