Skip navigation.
 
mlRe: QTKit: QTMovieTimeDidChangeNotification
FROM : Christian Schneider
DATE : Tue May 17 10:47:37 2005

On 5/16/05, Tim Monroe <<email_removed>> wrote:
>
> On May 11, 2005, at 10:25 AM, Christian Schneider wrote:
>
> >
> > The reason for my asking is that I need to display the movie's current
> > time (plus a certain offset) in a text field.
>
> Sorry to take so long to answer this; the
> QTMovieTimeDidChangeNotification is fired whenever the movie time
> changes to a time ***other than what it would be during normal
> playback***. So it's not fired every frame. Some examples are: the user
> clicks in the movie controller bar to change the movie time, or a wired
> action changes the movie time.
>


Thanks for clearing that up.

> I think an NSTimer is the solution you are looking for.
>


Really? I am quite happy with the movie controller's callbacks. Is
there any reason not to use those?

chris

Related mailsAuthorDate
mlQTKit: QTMovieTimeDidChangeNotification Christian Schneide… May 11, 14:08
mlRe: QTKit: QTMovieTimeDidChangeNotification Marco Scheurer May 11, 20:58
mlRe: QTKit: QTMovieTimeDidChangeNotification Christian Schneide… May 11, 21:14
mlRe: QTKit: QTMovieTimeDidChangeNotification Tim Monroe May 16, 03:51
mlRe: QTKit: QTMovieTimeDidChangeNotification Christian Schneide… May 17, 10:47