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

Re: QuickTime stops to play


  • Subject: Re: QuickTime stops to play
  • From: Lorenzo <email@hidden>
  • Date: Mon, 15 Sep 2003 15:58:40 +0200

Hi,
after so long time, the problem changed.
If my timer fires every 0.1 seconds, the playback works fine,
there are no more breaks.
But in the control panel ([theQTView showController:YES adjustingSize:YES];)
the thumb of the current frame doesn't move anymore.

If my timer fires every 0.5 seconds, the thumb of the current frame moves
properly, but sometimes the song/movie stops to play.

You wrote "I call the function MovieTasks() "
So, please what did you mean with MovieTasks()? What does this call do?
I checked at the SimpleCocoaMovie sample, but it doesn't report any timer
nor any MovieTasks routine.


I have this timer
-------------------
timerForRefreshingQTView = [[NSTimer scheduledTimerWithTimeInterval:0.1
target:self selector:@selector(refreshView) userInfo:nil repeats:YES]
retain];
[[NSRunLoop currentRunLoop] addTimer:timerForRefreshingQTView
forMode:NSModalPanelRunLoopMode];
[[NSRunLoop currentRunLoop] addTimer:timerForRefreshingQTView
forMode:NSEventTrackingRunLoopMode];


and the refresh routine does:
-------------------
- (void)refreshView
{
if([theQTView isPlaying]){
[theQTView setNeedsDisplayInRect:NSMakeRect(0,0,1,1)];
}
}

even with a full bounds rect, it stops to play.
Also, while I am resizing the window, I cannot hear/see the movie play.


Any help?


Best Regards
--
Lorenzo
email: email@hidden

> From: "Douglas A. Welton" <email@hidden>
> Date: Mon, 04 Aug 2003 11:41:14 -0400
> To: Lorenzo <email@hidden>, email@hidden
> Subject: Re: QuickTime stops to play
>
> Lorenzo,
>
> You might want to check the archives. Several people have reported having
> issues with QuickTime playback. I have never had this problem, but then
> again my applications have associated a timer with movie playback. When the
> timer is called, I call the function MovieTasks() and life is good (an
> example of this is the SimpleCocoaMovie sample code).
>
> Check the archives at cocoa.mamasam.com. If I remember correctly, Ben
> Haller posted a second-hand pointer to a reply that someone got from Apple
> regarding this issue. I believe it referenced a "bug to be fixed"
>
> later,
>
> douglas
_______________________________________________
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>
  • Prev by Date: Reverse engineering Distributed Objects
  • Next by Date: Re: QuickTime stops to play
  • Previous by thread: Reverse engineering Distributed Objects
  • Next by thread: Re: QuickTime stops to play
  • Index(es):
    • Date
    • Thread