diff options
author | N.N. <sevyves@users.sourceforge.net> | 2003-10-29 02:29:45 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2003-10-29 02:29:45 +0000 |
commit | b04c38b5353d7340d500a7152cf21a28ea5098c8 (patch) | |
tree | 0675e2c10e8623a85364e9b5066250c9b31fb406 /modules/pdp_fcqt.c | |
parent | b24c8007a5228960b6bd407737064981446ec677 (diff) |
The Real PiDiP 0.12.10
svn path=/trunk/externals/pidip/; revision=1149
Diffstat (limited to 'modules/pdp_fcqt.c')
-rw-r--r-- | modules/pdp_fcqt.c | 6 |
1 files changed, 2 insertions, 4 deletions
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) |