• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Brightness/contrast in NSMovieView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: [SOLVED] Re: End editing in an NSComboBox
  • Next by Date: _pthread_kill.s missing.............????????
  • Previous by thread: [SOLVED] Re: End editing in an NSComboBox
  • Next by thread: Re: Brightness/contrast in NSMovieView?
  • Index(es):
    • Date
    • Thread