changeset 4654:227365bd93c7

tell to driver doublebuffering
author nick
date Mon, 11 Feb 2002 07:19:18 +0000
parents d2a7fcfeec6f
children 364cf7cc77be
files libvo/vosub_vidix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vosub_vidix.c	Mon Feb 11 05:19:11 2002 +0000
+++ b/libvo/vosub_vidix.c	Mon Feb 11 07:19:18 2002 +0000
@@ -544,7 +544,7 @@
 	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)
 	{