I only create the Manager and the clip.In the console stands: Initializing Theora...<1.0 RC2>
Create Video from Data Srouce: bunny.ogg
bunny.ogg: fileduration 32... Sec
Then follows an error.
Code:
#pragma comment(lib,"libtheoraplayer.lib")
#pragma comment(lib,"opengl32.lib")
#include <windows.h>
#include <gl/gl.h>
#include "TheoraVideoManager.h"
#include "TheoraVideoFrame.h"
int main()
{
TheoraVideoManager *mgr = new TheoraVideoManager();
//TheoraVideoClip *clip = mgr->createVideoClip( "bunny.ogg",TH_RGB,0,1);
TheoraVideoClip *clip = mgr->createVideoClip( "bunny.ogg",TH_RGB,0,1);
clip->setAutoRestart(1);
delete mgr;
delete clip;
return 0;
}