Ejemplo n.º 1
0
RageMovieTexture *RageMovieTextureDriver_FFMpeg::Create( RageTextureID ID, RString &sError )
{
	MovieTexture_FFMpeg *pRet = new MovieTexture_FFMpeg( ID );
	sError = pRet->Init();
	if( !sError.empty() )
		SAFE_DELETE( pRet );
	return pRet;
}
Ejemplo n.º 2
0
RageMovieTexture *RageMovieTextureDriver_FFMpeg::Create( RageTextureID ID, std::string &sError )
{
	MovieTexture_FFMpeg *pRet = new MovieTexture_FFMpeg( ID );
	sError = pRet->Init();
	if( !sError.empty() )
		Rage::safe_delete( pRet );
	return pRet;
}