From 467608c75c2532add18ba8431bc043b5b139b4ec Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 Sep 2003 21:09:25 +0000 Subject: [PATCH] fix traces --- stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index bd383aa201..ef425f3323 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -339,14 +339,14 @@ MovieTexture_FFMpeg::MovieTexture_FFMpeg( RageTextureID ID ): m_BufferFinished = SDL_CreateSemaphore(0); CreateDecoder(); + CreateTexture(); LOG->Trace("Resolution: %ix%i (%ix%i, %ix%i)", m_iSourceWidth, m_iSourceHeight, m_iImageWidth, m_iImageHeight, m_iTextureWidth, m_iTextureHeight); LOG->Trace("Bitrate: %i", decoder->m_stream->codec.bit_rate ); - LOG->Trace("Codec pixel format: %i", decoder->m_stream->codec.pix_fmt ); + LOG->Trace("Codec pixel format: %s", avcodec::avcodec_get_pix_fmt_name(decoder->m_stream->codec.pix_fmt) ); - CreateTexture(); CreateFrameRects(); /* Decode one frame, to guarantee that the texture is drawn when this function returns. */