]> git.sesse.net Git - vlc/commitdiff
Une l�g�re modification pour le passage B&W � C
authorRenaud Dartus <reno@videolan.org>
Thu, 26 Oct 2000 12:00:02 +0000 (12:00 +0000)
committerRenaud Dartus <reno@videolan.org>
Thu, 26 Oct 2000 12:00:02 +0000 (12:00 +0000)
src/video_output/video_output.c

index 15df2916b63a3049332a3f2f7838edfddf4da841..6134017acec9bc64c149557c4f3e13f9e39af1ef 100644 (file)
@@ -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;
         }