Hello,

The solution is pretty simple but very tedious when you have hundreds
of constants...
Write a Cocoa console application linked to the QTKit framework with
the following line: NSLog(@"%@", QTMediaTypeVideo);

Regards, Laurent Etiemble.

2008/9/29 Mario Alberto Chavez <[EMAIL PROTECTED]>:
> Laurent;
> Sure I can file a bug report, but my only question is what should be the
> constant values, I ask this because I found their definition on qtmedia.h
> and they are dleclared as follow:
> QTKIT_EXTERN NSString * const QTMediaTypeVideo
> Mario
>
> On Mon, Sep 29, 2008 at 12:05 AM, Laurent Etiemble
> <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> The constant you use is missing in the QuickTime wrapper.
>>
>> Can you file a bug report in the tracker ? Providing values for the
>> constants would be great. Thanks.
>>
>> Regards, Laurent Etiemble.
>>
>> 2008/9/28 Mario Alberto Chavez <[EMAIL PROTECTED]>:
>> > Hello;
>> > Hope that some one can help me on this, I'm trying to get a list
>> > of QTMediaTypeVideo devices on my MBP, but with monobjc NSArray always
>> > come
>> > zero:
>> > NSArray sourceDevices =
>> > QTCaptureDevice.InputDevicesWithMediaType("QTMediaTypeVideo");
>> > But if I code it on Xcode and obj-c NSArray come with the right number
>> > of
>> > devices (which is one in my case, isight)
>> >
>> > NSArray* sourceDevices =
>> >
>> > [QTCaptureDevice inputDevicesWithMediaType:QTMediaTypeVideo];
>> >
>> > Seems to be a bug in monobjc
>> > Thanks in advance
>> >
>> > --
>> > Mario Alberto Chavez
>> > [EMAIL PROTECTED]
>> > http://mario-chavez.blogspot.com/
>> >
>
>
>
> --
> Mario Alberto Chavez
> [EMAIL PROTECTED]
> http://mario-chavez.blogspot.com/
>

Reply via email to