• 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
QuickTime stops to play
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuickTime stops to play


  • Subject: QuickTime stops to play
  • From: Lorenzo <email@hidden>
  • Date: Mon, 04 Aug 2003 14:32:48 +0200

Hi list,
I put a movie into an NSMovieView this way:

movieUrl = [NSURL fileURLWithPath:filePath];
gNSMovie = [[NSMovie alloc] initWithURL:movieUrl byReference:YES];
if(gNSMovie){
[theQTView setMovie:gNSMovie];
}

Then I start the playing pressing the little button in the standard default
QT control panel, but after some seconds I cannot here/see the movie
anymore. I realized that the movie is still running but anyway I cannot
heard and see it. I can see and heard the movie again if I resize the
Window.

I even tried "byReference = NO", but the problem is still there.


# Any solution to this trouble?
# did I forget to set something?
# And please, when should I relase the gNSMovie allocated?
Just after I set the movie to the NSMovieView?
[theQTView setMovie:gNSMovie];
[gNSMovie release];
Or is it enough to relase it just before loading the next movie?
if(gNSMovie != nil) [gNSMovie release];
gNSMovie = [[NSMovie alloc] initWithURL:movieUrl byReference:YES];


Thank you.


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: QuickTime stops to play
      • From: "Douglas A. Welton" <email@hidden>
    • Re: QuickTime stops to play
      • From: Stéphane Sudre <email@hidden>
    • Re: QuickTime stops to play
      • From: Mathew Peterson <email@hidden>
  • Prev by Date: Re: Checking if a modifier key is pressed
  • Next by Date: Re: Checking if a modifier key is pressed
  • Previous by thread: Re: Checking if a modifier key is pressed
  • Next by thread: Re: QuickTime stops to play
  • Index(es):
    • Date
    • Thread