Re: QTKit: QTMovieTimeDidChangeNotification
Re: QTKit: QTMovieTimeDidChangeNotification
- Subject: Re: QTKit: QTMovieTimeDidChangeNotification
- From: Tim Monroe <email@hidden>
- Date: Sun, 15 May 2005 18:51:56 -0700
On May 11, 2005, at 10:25 AM, Christian Schneider wrote:
can anybody tell me, when QTMovieTimeDidChangeNotification is fired? I
was hoping it will be posted, when the timecode of a movie is changed,
that is as a new frame is being displayed but that doesn't seem to be
the case.
Is there another way (*except using the callback mechanism in the
standard quicktime controller*) to be notified of a movie's progress?
Also, I'd prefer not to use an NSTimer as that will fire even when the
movie's not playing.
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.
I think an NSTimer is the solution you are looking for.
I'll make sure the documentation is updated to reflect this more
refined notion of time-did-change.
HTH,
Tim Monroe
QuickTime Engineering
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden