• 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
QTMovieLayer never being released?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTMovieLayer never being released?


  • Subject: QTMovieLayer never being released?
  • From: Freddie Tilley <email@hidden>
  • Date: Mon, 16 Jun 2008 17:42:13 +0200

I have a simple playlist playing qt movies in coreanimation, playing quicktime movies using the QTMovieLayer class.
After I swap the qtmovielayer with another, the replaced layer never gets released.


Garbage collection is off, and I'm working with quicktime 7.5 and osx 10.5.3

Every qt movie is used only once, after that it is (or should be) released.
If I try to release the qtmovielayer manually, it gives the following warning:


"attempting to modify layer that is being finalized - <QTMovieLayer: "

The layer is allocated with + (id)layerWithMovie:(QTMovie *)movie

Is it correct to allocate a new qtmovielayer for every movie, or should I keep the movielayer count
low, and only have 2 qt movielayers max. during the swapping of layers.


Freddie Tilley
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Prev by Date: Re: launching finder with optionschi
  • Next by Date: Re: awakeFromNib
  • Previous by thread: Re: awakeFromNib
  • Next by thread: FULLTIME Santa Monica COCOA gig.....
  • Index(es):
    • Date
    • Thread