What happens in runModalForDirectory:file:types
What happens in runModalForDirectory:file:types
- Subject: What happens in runModalForDirectory:file:types
- From: Richard Salvatierra <email@hidden>
- Date: Thu, 16 Nov 2006 14:05:46 -0500
I have an app that opens movie files and plays them out through a
Component. (i.e.. firewire)
During my setup, if I select a movie file using an openPanel, all
works fine. If I try to programatically select a file (or hardcode),
the output will not display until I actually open an openPanel. I
have tried to illuminate all variables, but the openPanel seems to be
the problem.
(or something there in)
I do not know a lot about gWorlds or window ports. Does anyone have
a suggestion?
I am using an echoPort and Component out to Firewire:
CGrafPtr inEchoPort = GetWindowPort( [window windowRef] );
rc = QTVideoOutputSetEchoPort( mComponentInstance, inEchoPort );
if ( rc == noErr ) {
if ( mVideoOutputInUse ) {
SetMovieGWorld( mMovie, inEchoPort, NULL );
}
}
-Rich
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden