Commit a43bce4e authored by Renaud Dartus's avatar Renaud Dartus

Une l�g�re modification pour le passage B&W � C
parent b69003d6
......@@ -2112,13 +2112,11 @@ static int Manage( vout_thread_t *p_vout )
VOUT_YUV_CHANGE) )
{
/* Change vdec_DecodeMacroblock when switching between BW and C */
if( (!p_vout->b_grayscale)
&& (VOUT_GRAYSCALE_CHANGE) )
if( !p_vout->b_grayscale )
{
p_vout->vdec_DecodeMacroblock = vdec_DecodeMacroblockC;
}
else if( (p_vout->b_grayscale)
&& (VOUT_GRAYSCALE_CHANGE) )
else if( p_vout->b_grayscale)
{
p_vout->vdec_DecodeMacroblock = vdec_DecodeMacroblockBW;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment