[vlc-devel] [PATCH 07/15] video_filter:deinterlace: remove useless fallback values

Steve Lhomme robux4 at videolabs.io
Fri Jun 30 14:20:00 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 9e847dd385..20492c9d46 100644
--- a/modules/video_filter/deinterlace/deinterlace.c
+++ b/modules/video_filter/deinterlace/deinterlace.c
@@ -253,11 +253,6 @@ static void GetOutputFormat( filter_t *p_filter,
     {
         p_dst->i_frame_rate *= 2;
     }
-    else
-    {
-        p_dst->i_chroma = p_src->i_chroma;
-    }
-
 }
 
 /*****************************************************************************
@@ -746,11 +741,6 @@ notsupp:
                         VLC_CODEC_J422 : VLC_CODEC_I422;
         }
     }
-    else
-    {
-        p_sys->phosphor.i_chroma_for_420 = PC_ALTLINE;
-        p_sys->phosphor.i_dimmer_strength = 1;
-    }
 
     if( !p_filter->b_allow_fmt_out_change &&
         ( fmt.i_chroma != p_filter->fmt_in.video.i_chroma ||
-- 
2.12.1



More information about the vlc-devel mailing list