Reordering initialization methods #1912

This commit is contained in:
Masquara 2017-04-11 00:45:02 -04:00
parent e724b2fcdd
commit 970dd5c477
70 changed files with 207 additions and 205 deletions

View file

@ -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 );

View file

@ -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("")
{
}