draxd
Junior Member
Posts: 4
Threads: 2
Joined: May 2010
Reputation:
0
|
Strange behavior with examples
I'm trying to use Video Test from tests folder. I compiled it with Visual Studio 2010 but it crashes , and after little of debugging I found that Video Manager is missing. This also says in hpl.log ,
ERROR: Could not find a loader for 'test_video2.ogm'.
and in void cResources::Init where mpVideoManager is created it looks that it for some reason gets null value.
Anyone get some idea about this. I tried to find reason for this but whos not able to.
Also I wish to add this, in sources/resources/Resources.cpp line 133:
mpParticleManager = hplNew( cParticleManager,(apGraphics, this) );
mlstManagers.push_back(mpParticleManager);
mpSoundManager = hplNew( cSoundManager,(apSound, this) );
mlstManagers.push_back(mpParticleManager);
This looks like copy paste bug to me , I presume that line number 4 should be:
mlstManagers.push_back(mpSoundManager );
Is this ok ?
Update :
I managed to fix this problem by commenting out INCLUDE_THEORA in lowlevelresourcessdl.cpp
line 27:
//#ifdef INCLUDE_THEORA
#include "impl/VideoStreamTheora.h"
//#endif
and
line 143:
//#ifdef INCLUDE_THORA
apManager->AddVideoLoader(hplNew( cVideoStreamTheora_Loader,()));
//#endif
|
|
05-19-2010, 10:04 PM |
|