Now, for the problems. First, Plugin_TheoraVideoManager will not even bother determining the length (in time) of a video unless you turn on seeking. Which leads to problem #2, seeking causes a plane shift in the video (colours are shifted wierdly) for some reason, although it fixes itself after about 5 seconds. Last of all, when playback ends, the object that plays the video (which is a registered FrameListener, by the way) gets deleted by another frame event handler, leaving me with a crash when the program tries to call a virtual function of an object that doesn't exist.
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Well, I've left the line slurper for now. In the meanwhile, I've added code for playing Theora video in the movie state, and although there are some problems, it seems to play back video and audio quite nicely.
Now, for the problems. First, Plugin_TheoraVideoManager will not even bother determining the length (in time) of a video unless you turn on seeking. Which leads to problem #2, seeking causes a plane shift in the video (colours are shifted wierdly) for some reason, although it fixes itself after about 5 seconds. Last of all, when playback ends, the object that plays the video (which is a registered FrameListener, by the way) gets deleted by another frame event handler, leaving me with a crash when the program tries to call a virtual function of an object that doesn't exist.
Now, for the problems. First, Plugin_TheoraVideoManager will not even bother determining the length (in time) of a video unless you turn on seeking. Which leads to problem #2, seeking causes a plane shift in the video (colours are shifted wierdly) for some reason, although it fixes itself after about 5 seconds. Last of all, when playback ends, the object that plays the video (which is a registered FrameListener, by the way) gets deleted by another frame event handler, leaving me with a crash when the program tries to call a virtual function of an object that doesn't exist.
Previous Entry
More on Asylum
Next Entry
Huzzah! The videos work!
Advertisement
Latest Entries
Project reports
1605 views
Project announcements
1436 views
Gone fusion...
1300 views
cIRCulation alpha release soon!
1339 views
cIRCulation tested, again!
1207 views
Project news
1200 views
cIRCulation's Live Test
1235 views
First there was one, then there were two...
1434 views
Advertisement