When I run the demo, it seems to work fine, but when I put it in my game, and link it through my resources.cfg, I get some weird errors...
ExternalTextureSourceManager::SetCurrentPlugIn(ENUM) failed setting texture plugin.
and
Texture: ../../media/video/cheer.ogg: Loading 1 faces(PF_B8G8R8, 352x240x1) with 0 generated mipmaps from Image. Internal format is PF_X8R8G8B8, 352x240x1.
Latency: 2.97215
bool AudioClip::openAudioStream()
End of movie file reached
the second one isn't really an error, but I was thinking that is the end of movie file is reached, it should've played something!
My material file looks like this:
material Example/VideoTest
{
technique
{
pass
{
texture_unit
{
texture_source video
{
filename cheer.ogg
play_mode play
sound_mode on
}
}
}
}
}
and I changed all the calls in MovieLogic.cpp to save the movie file to Example/VideoTest... Can anyone help me out? Spot the problem?