Re: [Pyobjc-dev] Problem with signature for QTKit Delegate (CVImageBufferRef)
Brought to you by:
ronaldoussoren
|
From: Ulrich E. <li...@ne...> - 2009-04-20 10:24:04
|
Adam,
thanks for your hint! i had it initially like this - but then i wasn't
yet able to import CoreVideo
(needed to comment out 2 @encode(CVTImeStamp) declarations to make it
work - svn yesterday)
i'll fix this .. but first i need to get to the buffer - data .. then
i will think and check the rest of the application ;-)
thanks .. and still hoping for a nice little trick to make it work !
cheers Ulrich
Am 20.04.2009 um 11:30 schrieb Adam Atlas:
> 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.
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Pyobjc-dev mailing list
> Pyo...@li...
> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev
|