Brightness/contrast in NSMovieView?
Brightness/contrast in NSMovieView?
- Subject: Brightness/contrast in NSMovieView?
- From: Michael Watson <email@hidden>
- Date: Wed, 12 Jul 2006 15:35:47 -0400
I've got a QuickTime movie loaded into an NSMovieView, and now I'd
like to be able to adjust the brightness, a la QuickTime Player's A/V
controls. I'm attempting to use SetMovieVisualBrightness() but am
having little luck. Here's a snippet that *should* turn the image
completely white:
NSMovie *viewMovie = [myNSMovieView movie];
Movie moov = [viewMovie QTMovie];
Float32 brightness = 1.0;
OSStatus err = SetMovieVisualBrightness(moov, brightness, 0);
if (err != noErr)
{
NSLog(@"error");
}
else
{
NSLog(@"no error");
}
myNSMovieView is an IBOutlet pointing to the NSMovieView instance in
question.
The console shows "no error", which suggests things are moving along
correctly. It's starting to look like it's not actually possible to
change brightness/contrast/etc with NSMovieView-based movies. Has
anyone been able to do this?
--
Mikey
_______________________________________________
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