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
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 mails | Author | Date |
|---|---|---|
| Christian Schneide… | May 11, 14:08 | |
| Marco Scheurer | May 11, 20:58 | |
| Christian Schneide… | May 11, 21:14 | |
| Tim Monroe | May 16, 03:51 | |
| Christian Schneide… | May 17, 10:47 |






Cocoa mail archive

