Re: [Pyobjc-dev] Problem with signature for QTKit Delegate (CVImageBufferRef)
Brought to you by:
ronaldoussoren
|
From: Adam A. <ad...@at...> - 2009-04-20 02:00:49
|
This probably isn't related to the problem you're having, but it's
something you'd have to fix eventually, so I thought I'd point it out...
> settings = dict(kCVPixelBufferWidthKey=640.0,
> kCVPixelBufferHeightKey=480.0,
>
> kCVPixelBufferPixelFormatTypeKey=k32ARGBPixelFormat,
> )
This creates a dictionary where the keys are the literal strings
"kCVPixelBufferWidthKey", "kCVPixelBufferHeightKey", etc. You should
be using {kCVPixelBufferWidthKey: 640.0, ...} instead, so the keys are
the values of those constants.
|