• 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
QTMovieView and glView crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTMovieView and glView crash


  • Subject: QTMovieView and glView crash
  • From: Lorenzo <email@hidden>
  • Date: Wed, 27 Feb 2008 18:05:14 +0100

Hi,
I can quite load a QT movie on a QTMovieView with setMovie: and play it.
This works well unless I simultaneously refresh an openGL view at 60 FPS.
The 2 views are on 2 different windows of my Cocoa application, built on
10.4 SDK.

So if I don't call the [glView drawRect:rect]; the QT movie plays properly
in the QTMovieView. If I call the [glView drawRect:rect]; the QT movie looks
black and if I try to play it, my machine freezes. I have to reboot.

In the drawRect method I do stuffs like
    glClear(mClearMask);
    [[NSOpenGLContext currentContext] flushBuffer];

Could this flushBuffer conflict with the QTMovieView methods?
Any idea?


Best Regards
--
Lorenzo
email: email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: - outlineView:willDisplayCell:forTableColumn:item: and selected item
  • Next by Date: Apple Help question
  • Previous by thread: Scaled CATextLayer
  • Next by thread: Apple Help question
  • Index(es):
    • Date
    • Thread