• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QTKit: handle movie playback progress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTKit: handle movie playback progress


  • Subject: Re: QTKit: handle movie playback progress
  • From: Shamyl Zakariya <email@hidden>
  • Date: Tue, 10 Apr 2007 13:22:48 -0400

You can use the NSTimer method without the blocking during a window- resize if you pass NSEventTrackingRunLoopMode when you add it to your run-loop.

I don't know if that will solve the specific issue with QTKit, but it's worked plenty well for me when I've had timer-based animations that I want to keep running during window-resizes, mouse-dragging, menu-clicking, etc.

email@hidden
	"authentic frontier gibberish"



On Apr 10, 2007, at 1:52 AM, Sergey Shapovalov wrote:


On Apr 9, 2007, at 6:49 PM, Michael Watson wrote:

Well, when you say, "As far as I know, X is not a good thing," what do you expect people to think you mean?

I don't see anything in that technote that says QT + QTKit is not recommended. In fact, the entire technote exists to show you how to gain additional media functionality by mixing QuickTime's C API with the Cocoa QTKit API.

All right, I admit that my original phrase was not exact and I apologize if it has been misleading.

However, my question at the moment is not about pros and cons of mixing QT C and Obj-C API. As already mentioned, it is: what's the recommended approach to updating UI while QT plays a movie (to handling movie playback progress) in Cocoa? Timer? Delegate? Notifications? SetMovieProgressProc? (see previous posts to the thread for details).
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >QTKit: handle movie playback progress (From: Sergey Shapovalov <email@hidden>)
 >Re: QTKit: handle movie playback progress (From: Sergey Shapovalov <email@hidden>)
 >Re: QTKit: handle movie playback progress (From: Michael Watson <email@hidden>)
 >Re: QTKit: handle movie playback progress (From: Sergey Shapovalov <email@hidden>)
 >Re: QTKit: handle movie playback progress (From: Michael Watson <email@hidden>)
 >Re: QTKit: handle movie playback progress (From: Sergey Shapovalov <email@hidden>)

  • Prev by Date: Stateful, "Stickies" like behavior for a document-based app
  • Next by Date: Re: Stateful, "Stickies" like behavior for a document-based app
  • Previous by thread: Re: QTKit: handle movie playback progress
  • Next by thread: Re: QTKit: handle movie playback progress
  • Index(es):
    • Date
    • Thread