[vlc-commits] deinterlace: remove useless fallback values

Steve Lhomme git at videolan.org
Sat Jul 1 18:59:27 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Jun 27 08:54:07 2017 +0200| [184c2eae6554f3880eeefdc3b1c72381fc61b4b5] | committer: Jean-Baptiste Kempf

deinterlace: remove useless fallback values

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=184c2eae6554f3880eeefdc3b1c72381fc61b4b5
---

 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 1768723405..100d469d40 100644
--- a/modules/video_filter/deinterlace/deinterlace.c
+++ b/modules/video_filter/deinterlace/deinterlace.c
@@ -257,11 +257,6 @@ static void GetOutputFormat( filter_t *p_filter,
     {
         p_dst->i_frame_rate *= 2;
     }
-    else
-    {
-        p_dst->i_chroma = p_src->i_chroma;
-    }
-
 }
 
 /*****************************************************************************
@@ -750,11 +745,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 ||



More information about the vlc-commits mailing list