| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
The exceptions and crashes happen only on Windows. I traced the crashes to a combination of synching problems between the main Swing threads and QT, and the garbage collection within QT.
Essentially, it fails to prepreroll fast enough and comes and tells me it has. I issue something like moviecontroller.setSelectionBegin()... thinking it is ready for it, but the movie has not been loaded at all. Either that, or something is wrong in QT's event mechanisms.
I have had some success by using a combination of MoviePrePreroll callback and timestamping my local file, so QT thinks a new file is created each time I load a movie. (My program accesses several 100's of movies from our library). I download the streaming movie reference into a local file, than load from the web, for performance. After the prepreroll callback has fired, I preroll and play. I tried moviedrawingcomplete also.
The bottom line is that although it tells us through a callback or something that QT is ready to play, it still has just not preprerolled and the movie is not loaded yet, so the movie cannot be processed. What we need is a getMovieLoadState like thing from QT-C, but we are out of luck with QT-J.
Any one has better ideas about what this bug is and how it can be fixed?
_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-java mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-java/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.