[vlc-devel] [PATCH 06/11] video_filter:deinterlace: remove useless fallback values

Steve Lhomme robux4 at videolabs.io
Tue Jun 27 10:21:42 CEST 2017


---
 modules/video_filter/deinterlace/deinterlace.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/modules/video_filter/deinterlace/deinterlace.c b/modules/video_filter/deinterlace/deinterlace.c
index 541e87e55d..2df1e278bd 100644
--- a/modules/video_filter/deinterlace/deinterlace.c
+++ b/modules/video_filter/deinterlace/deinterlace.c
@@ -262,11 +262,6 @@ static void GetOutputFormat( filter_t *p_filter,
         p_dst->i_chroma = p_src->i_chroma == VLC_CODEC_J420 ? VLC_CODEC_J422 :
                                                               VLC_CODEC_I422;
     }
-    else
-    {
-        p_dst->i_chroma = p_src->i_chroma;
-    }
-
 }
 
 /*****************************************************************************
@@ -743,11 +738,6 @@ notsupp:
         /* The internal value ranges from 0 to 3. */
         p_sys->phosphor.i_dimmer_strength = i_dimmer - 1;
     }
-    else
-    {
-        p_sys->phosphor.i_chroma_for_420 = PC_ALTLINE;
-        p_sys->phosphor.i_dimmer_strength = 1;
-    }
 
     /* */
     video_format_t fmt;
-- 
2.12.1



More information about the vlc-devel mailing list