mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 00:05:40 +00:00
Reordering initialization methods #1912
This commit is contained in:
parent
e724b2fcdd
commit
970dd5c477
70 changed files with 207 additions and 205 deletions
|
|
@ -227,8 +227,8 @@ void TheoraTexture::FrameStream::releaseTextureLocks()
|
|||
TheoraTexture::AsyncState::AsyncState( const ThreadSafeRef< OggInputStream >& oggStream, bool looping )
|
||||
: mOggStream( oggStream ),
|
||||
mTheoraDecoder( dynamic_cast< OggTheoraDecoder* >( oggStream->getDecoder( "Theora" ) ) ),
|
||||
mVorbisDecoder( dynamic_cast< OggVorbisDecoder* >( oggStream->getDecoder( "Vorbis" ) ) ),
|
||||
mCurrentTime( 0 )
|
||||
mCurrentTime( 0 ),
|
||||
mVorbisDecoder( dynamic_cast< OggVorbisDecoder* >( oggStream->getDecoder( "Vorbis" ) ) )
|
||||
{
|
||||
if( mTheoraDecoder )
|
||||
{
|
||||
|
|
@ -276,8 +276,8 @@ bool TheoraTexture::AsyncState::isAtEnd()
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
TheoraTexture::TheoraTexture()
|
||||
: mPlaybackQueue( NULL ),
|
||||
mCurrentFrame( NULL ),
|
||||
: mCurrentFrame( NULL ),
|
||||
mPlaybackQueue( NULL ),
|
||||
mIsPaused( true )
|
||||
{
|
||||
GFXTextureManager::addEventDelegate( this, &TheoraTexture::_onTextureEvent );
|
||||
|
|
|
|||
|
|
@ -54,15 +54,15 @@ MODULE_END;
|
|||
|
||||
VideoCapture::VideoCapture() :
|
||||
mEncoder(NULL),
|
||||
mIsRecording(false),
|
||||
mCanvas(NULL),
|
||||
mFrameGrabber(NULL),
|
||||
mWaitingForCanvas(false),
|
||||
mResolution(0,0),
|
||||
mCanvas(NULL),
|
||||
mIsRecording(false),
|
||||
mFrameRate(30.0f),
|
||||
mResolution(0,0),
|
||||
mWaitingForCanvas(false),
|
||||
mEncoderName("THEORA"),
|
||||
mFileName(""),
|
||||
mMsPerFrameError(0)
|
||||
mMsPerFrameError(0),
|
||||
mFileName("")
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue