QTMovieLayer never being released?
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