summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vosub_vidix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c
index cbcc6cc393..c5b10f2ff2 100644
--- a/libvo/vosub_vidix.c
+++ b/libvo/vosub_vidix.c
@@ -544,7 +544,7 @@ 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=NUM_FRAMES;
+ vidix_play.num_frames=vo_doublebuffering?NUM_FRAMES:1;
vidix_play.src.pitch.y = vidix_play.src.pitch.u = vidix_play.src.pitch.v = 0;
if(info)
{