QTMovieView and glView crash
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