make MovieTexture_FFMpeg::RegisterProtocols available
This commit is contained in:
@@ -560,7 +560,7 @@ static avcodec::URLProtocol RageProtocol =
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static void RegisterProtocols()
|
void MovieTexture_FFMpeg::RegisterProtocols()
|
||||||
{
|
{
|
||||||
static bool Done = false;
|
static bool Done = false;
|
||||||
if( Done )
|
if( Done )
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ public:
|
|||||||
void SetLooping(bool looping=true) { m_bLoop = looping; }
|
void SetLooping(bool looping=true) { m_bLoop = looping; }
|
||||||
unsigned GetTexHandle() const { return m_uTexHandle; }
|
unsigned GetTexHandle() const { return m_uTexHandle; }
|
||||||
|
|
||||||
|
static void RegisterProtocols();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
FFMpeg_Helper *decoder;
|
FFMpeg_Helper *decoder;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user