From b04c38b5353d7340d500a7152cf21a28ea5098c8 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 29 Oct 2003 02:29:45 +0000 Subject: The Real PiDiP 0.12.10 svn path=/trunk/externals/pidip/; revision=1149 --- modules/pdp_fcqt.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/pdp_fcqt.c') diff --git a/modules/pdp_fcqt.c b/modules/pdp_fcqt.c index e7be248..e3659e3 100644 --- a/modules/pdp_fcqt.c +++ b/modules/pdp_fcqt.c @@ -273,13 +273,11 @@ static void pdp_fcqt_frame_cold(t_pdp_fcqt *x, t_floatarg frameindex) if (!(x->initialized)) return; - length = quicktime_video_length(x->qt,0); - - frame = (frame >= length) ? length-1 : frame; + frame = (frame >= x->x_length) ? x->x_length-1 : frame; frame = (frame < 0) ? 0 : frame; // post("pdp_fcqt : frame cold : setting video position to : %d", frame ); - quicktime_set_video_position(x->qt, frame, 0); + x->x_current_frame = frame; } static void pdp_fcqt_frame(t_pdp_fcqt *x, t_floatarg frameindex) -- cgit v1.2.1