Hi
I began to use Lonewolff's video player a few weeks ago, and it does exactly what I needed so far.
I still have questions, I hope I'm not hijacking this topic if I ask them here? According to the topic name, it seems appropriate.
First, I'd like to know if there are plans to release it for other platforms (mac and mobiles especially). I didn't find another player able to load so many formats, without importing codecs or converting the videos, and that works on surfaces, letting me add other surfaces where I can draw, and gui.
But my game would be really better on mobiles, and playing a video is at the heart of it (videos the user recorded on camera, like goPro or sony handycam, not videos I prepared and packaged in the game).
Question #2 : I added a «load video file from hard disk» option. The video is loaded and played well.
The window size isn't modified and shouldn't be, according to my design.
But if the new video size is bigger than the last, everything looks fine, while if the video size is smaller (as instance, I was playing a 800*600 video, then loaded a 640*480 video), the surface still displays the last frame of the old video in the remaining area. I can't find a way to set the whole surface to black, or erase it totally, then start playing the new video.
if I destroy the surface to recreate it, some steps fail because the video surface is needed in the draw.
Any idea how to simply reset the video surface when a new video is loaded?
Should I recreate the room from scratch with the new video path as input?