From 50d60895322431732db92ccd7c49522a4dbd44fd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 20 Oct 2005 20:47:01 +0000 Subject: [PATCH] temp workaround --- stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp index eb5babef3f..17be35bf2e 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp @@ -169,6 +169,9 @@ CString MovieDecoder_Theora::Open( CString sFile ) CString sOutput = ssprintf( "MovieDecoder_Theora: Opened \"%s\". Serial: 0x%08lx, FPS: %.02f", m_File.GetPath().c_str(), m_OggStream.serialno, GetFrameDuration() ); +#if 1 + m_InputPixFmt = avcodec::PIX_FMT_YUV420P; +#else switch( m_TheoraInfo.pixelformat ) { case OC_PF_420: @@ -186,6 +189,7 @@ CString MovieDecoder_Theora::Open( CString sFile ) default: return ssprintf( "error opening %s: unsupported pixel format %i", m_File.GetPath().c_str(), m_TheoraInfo.pixelformat ); } +#endif LOG->Trace( "%s", sOutput.c_str() ); return CString();