Re: QTMovieLayer and QCCompositionLayer Don't Start
Re: QTMovieLayer and QCCompositionLayer Don't Start
- Subject: Re: QTMovieLayer and QCCompositionLayer Don't Start
- From: Gordon Apple <email@hidden>
- Date: Tue, 06 Jan 2009 17:29:54 -0600
- Thread-topic: QTMovieLayer and QCCompositionLayer Don't Start
No, I'm not messing with the asynchronous property.
I went into essentials and had no problem playing a (even my own)
composition. Just for testing, I created a hierarchy,
viewlayer:layer:layer:compositionLayer. No problem. Essentials still
played it.
The only differences I can figure out is that Essentials loads it in
awakeFromNib and I am loading it much later under user command. Also, my
layer hierarchy uses your suggested CATiledLayer installed as a subview of
the view's layer, what I call my "content" layer. My "attention" layer (a
CALayer) is a sublayer of the content layer. The composition layer gets
created and installed (by command) in the attention layer. Is there
anything here that could break some essential link with the view/window that
would prevent it from playing?
Is there anything I could be missing in the environment?
On 1/6/09 3:03 PM, "David Duncan" <email@hidden> wrote:
> On Jan 6, 2009, at 11:53 AM, Gordon Apple wrote:
>
>> Note: There is no equivalent to "play" for a composition (at least
>> that I
>> am aware of). I get the initial frame and no play. My composition
>> layer is
>> four levels deep:
>> viewLayer:contentLayer:attentionLayer:compositionLayer.
>> Other stuff, including movieLayers, work fine at that level. I'm
>> using
>> standard compositions (plus one of my own derived from the tutorial)
>> which
>> all play just fine independently and in Quartz Composer.
>
> Are you changing the asynchronous property of the QCCompositionLayer?
>
>> Is there something about " composition tracks the Core Animation
>> layer time"
>> that I am missing, on need to include? I notice that all of the
>> sample code
>> includes animating some parameter. I just want the composition to
>> play. Do
>> I need to be feeding it an animation "clock" signal to make it play?
>
>
> Try replacing the composition in the CALayerEssentials sample
> <http://developer.apple.com/samplecode/CALayerEssentials/index.html
>>
>
> If it fails there, then there may be something stranger going on. If
> not, determining how to replicate the issue from there and filing a
> bug report may be your best option.
> --
> David Duncan
> Apple DTS Animation and Printing
>
G. Apple
_______________________________________________
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