This is done within the movie decoder.

This commit is contained in:
Glenn Maynard
2003-09-01 19:25:08 +00:00
parent 02e39d7f67
commit 9f04db3152
-3
View File
@@ -128,9 +128,6 @@ void BGAnimationLayer::LoadFromMovie( CString sMoviePath )
Sprite* pSprite = new Sprite;
pSprite->LoadBG( sMoviePath );
pSprite->StretchTo( RectI(SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM) );
/* XXX: Handle this within the movie decoder, not here. (already done in MovieTexture_AVCodec) */
pSprite->GetTexture()->Play();
SDL_Delay( 50 ); // decode a frame so we don't see a black flash at the beginning
pSprite->GetTexture()->Pause();
m_pActors.push_back( pSprite );
}