From aae1ef6ce78cb54efe862a09e0e3b25963175eff Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Fri, 7 Nov 2014 02:29:53 +0000 Subject: [PATCH] Fix fill RGB buffer after overwrite current frame --- source/lib/PlaYUVerFrame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/lib/PlaYUVerFrame.cpp b/source/lib/PlaYUVerFrame.cpp index e7764fe..1ddcb69 100644 --- a/source/lib/PlaYUVerFrame.cpp +++ b/source/lib/PlaYUVerFrame.cpp @@ -223,6 +223,8 @@ Void PlaYUVerFrame::FrameFromBuffer( Pel *input_buffer, Int pel_format ) if( m_iPixelFormat != pel_format ) return; m_pcPelFormat->frameFromBuffer( input_buffer, m_pppcInputPel, m_uiWidth, m_uiHeight ); + m_bHasRGBPel = false; + fillRGBBuffer(); } Void PlaYUVerFrame::FrameToBuffer( Pel *output_buffer )