• 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
Re: NSMovieView controller troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView controller troubles


  • Subject: Re: NSMovieView controller troubles
  • From: Chris Meyer <email@hidden>
  • Date: Tue, 29 May 2001 10:01:59 -0700

Hi Vince,

In my NSDocumentController's WindowDidLoad method, I do:

[movieView showController:YES adjustingSize:NO];

My application requires a list of movie clips in a table view. When I click on a row in the table, I set a new movie into the movieView with the following code:

[movieView setMovie: movie];
[movieView setNeedsDisplay: YES];

When I run my application and click on one of the movies in the table, nothing happens until I click in the movieView space in the window. Then the movie updates and displays the first frame of the movie. But the controller still doesn't draw until I click in the space where the controller should be. Then when I play the movie, the thumb doesn't update.

Anyway, do you have any work around solutions or any other suggestions? Maybe I need to do something to the movie before I setMovie: with it?

Also, is there any estimated fix time for these known bugs? Or should I try to rewrite a movie viewer from scratch using low-level QT code?

Thanks for any help!

Chris

At 9:51 PM -0700 5/25/01, Vince DeMarco wrote:
On Friday, May 25, 2001, at 01:06 PM, Chris Meyer wrote:

I'm using an NSMovieView and setting the movie to a movie initialized with a URL on the local hard drive.

I cannot get the movie controller to reliably appear and draw correctly. In particular, it rarely shows up unless I click where it is supposed to be. Then if it finally does appear, it only intermittently updates during a playing movie. Finally, if I resize the window, the controller is blotted out with garbage.

Is there anything special I have to do or is this a known bug?

Its a known bug, The problem is that it takes a bit of time for all of the QuickTime code to be initialized. Are you doing the setting of the movie in the movieview in the awakeFromNib???

The updating during playing should work, what doesn't update sometimes is when you scrub the controller.

vince


--


References: 
 >Re: NSMovieView controller troubles (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: Simple Port Traffic?
  • Next by Date: NSWindows95InterfaceStyle
  • Previous by thread: Re: NSMovieView controller troubles
  • Next by thread: renaming files
  • Index(es):
    • Date
    • Thread