It is true.
After looking at what exactly was needed, I reduced it to a very simple
bridgesupport file :D
At first I thought it would be a bunch of inter-dependant bridgesupport files,
but looks like it was way easier than that :-)
<?xml version="1.0"?>
<!DOCTYPE signatures SYSTEM
"file://localhost/System/Library/DTDs/BridgeSupport.dtd">
<signatures version="0.9">
<cftype name='CVBufferRef' type='^{__CVBuffer=}'/>
</signatures>
Add this into a file like QTKit-capturefix.bridgesupport, and call this line
just after QTKit:
framework 'QTKit'
# Fixes the call to
captureOutput:didOutputVideoFrame:withSampleBuffer:fromConnection:
load_bridge_support_file '/path/to/QTKit-capturefix.bridgesupport'
Hope this helps :-)
--
Thibault Martin-Lagardette
On Aug 24, 2010, at 17:31, Paul Howson wrote:
> On 24/08/2010, at 8:49 AM, Thibault Martin-Lagardette wrote:
>
>> It is a problem in the QTKit bridgesupport, where
>> `captureOutput:didOutputVideoFrame:withSampleBuffer:fromConnection` is not
>> defined.
>> This means it's defintely not something you are doing wrong (and it's not
>> MacRuby's fault either – it has no way, without proper BridgeSupport
>> support, to know the actual type of the parameter)
>>
>> This has been fixed in BridgeSupport already, and should be released
>> soon(-ish).
>> However, I don't think there is any workaround in the meantime, except
>> waiting for the BridgeSupport update.
>
> Previous BridgeSupport errors and omissions have been fixed by manual editing
> of the BridgeSupport file pending an updated version. Can you supply a copy
> of the fix in this case?
>
> Paul Howson
>
> _______________________________________________
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel