Hi,
I would like to know whether at the current time the playing movie
changed
the current frame shown. I mean, I have a loop that 60 times per
seconds
calls
MovieTasks(qtMovie, 0);
then I load the offScreen buffer to the GPU. But the movie could even
have a
FPS as 24, so in this case I copy the offscreen data to the GPU 46
unuseful
times more.
I tried to store the currentTime with
oldTimeUpdated = GetMovieTime(qtMovie, &currTime);
in order to test later
if(oldTimeUpdated != GetMovieTime(qtMovie, &currTime)){
[self CopyBufferToGPU];
}
but GetMovieTime() returns the currentTime and not the index of the
current
frame shown. So after calling MovieTasks() the currentTime is always
in sync
with the oldTimeUpdated.
How can I get the index of the current frame shown after calling
MovieTasks() ?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden