move stuff
This commit is contained in:
@@ -415,6 +415,18 @@ MovieTexture_FFMpeg::MovieTexture_FFMpeg( RageTextureID ID ):
|
|||||||
Play();
|
Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MovieTexture_FFMpeg::~MovieTexture_FFMpeg()
|
||||||
|
{
|
||||||
|
StopThread();
|
||||||
|
DestroyDecoder();
|
||||||
|
DestroyTexture();
|
||||||
|
|
||||||
|
delete decoder;
|
||||||
|
|
||||||
|
SDL_DestroySemaphore( m_BufferFinished );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static CString averr_ssprintf( int err, const char *fmt, ... )
|
static CString averr_ssprintf( int err, const char *fmt, ... )
|
||||||
{
|
{
|
||||||
ASSERT( err < 0 );
|
ASSERT( err < 0 );
|
||||||
@@ -796,17 +808,6 @@ void MovieTexture_FFMpeg::DecoderThread()
|
|||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
}
|
}
|
||||||
|
|
||||||
MovieTexture_FFMpeg::~MovieTexture_FFMpeg()
|
|
||||||
{
|
|
||||||
StopThread();
|
|
||||||
DestroyDecoder();
|
|
||||||
DestroyTexture();
|
|
||||||
|
|
||||||
delete decoder;
|
|
||||||
|
|
||||||
SDL_DestroySemaphore( m_BufferFinished );
|
|
||||||
}
|
|
||||||
|
|
||||||
void MovieTexture_FFMpeg::Update(float fDeltaTime)
|
void MovieTexture_FFMpeg::Update(float fDeltaTime)
|
||||||
{
|
{
|
||||||
/* Note that if there's an image waiting, we *must* signal m_BufferFinished, or
|
/* Note that if there's an image waiting, we *must* signal m_BufferFinished, or
|
||||||
|
|||||||
Reference in New Issue
Block a user