Mercurial > mplayer.hg
changeset 8459:2ce7bbdcee15
this isn't mplayerxp...3 buffers are enough for double(triple)buffering (instead of 28 buffers ;)
author | alex |
---|---|
date | Sun, 15 Dec 2002 18:18:41 +0000 |
parents | 92a7bf835d98 |
children | d09c74452323 |
files | libvo/vosub_vidix.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vosub_vidix.c Sun Dec 15 17:05:35 2002 +0000 +++ b/libvo/vosub_vidix.c Sun Dec 15 18:18:41 2002 +0000 @@ -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)