Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QCRenderer color space inconsistent state



How are you creating the composition? Could it be a non-nil pointer to a un-initialized QCComposition object?

On Feb 1, 2008, at 7:44 PM, Benjamin Dunton wrote:

All,

I am trying to configure a QCCompositionParameterView via the pickerView selection delegate method:

CGColorSpaceRef colorspace;


@try {
/* Create a processing-only QCRenderer that wraps the selected composition if any - We use the main display colorspace as we render on screen */
[_renderer release];
if(composition) {
colorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
_renderer = [[QCRenderer alloc] initWithComposition:composition colorSpace:colorspace];
if(_renderer == nil) {
NSLog(@"Cannot create QCRenderer");
[NSApp terminate:nil];
}
}
else
_renderer = nil;


/* Make sure the QCCompositionParameterView targets the QCRenderer */
[parameterView setCompositionRenderer:_renderer];

This fails with the following error 

Exception when loading parameter view: -[QCRenderer initWithComposition:colorSpace:]: Inconsistent state

Any thougths?

Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden

References: 
 >QCRenderer color space inconsistent state (From: "Benjamin Dunton" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.