[vlc-commits] libvlc: add "auto" deinterlace-mode

Luis Fernandes git at videolan.org
Wed May 9 09:39:51 CEST 2018


vlc | branch: master | Luis Fernandes <zipleen at gmail.com> | Mon Apr 30 14:33:08 2018 +0100| [174840ba85945431cfe55955671508d21223124c] | committer: Thomas Guillem

libvlc: add "auto" deinterlace-mode

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 lib/video.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/video.c b/lib/video.c
index f4e8fe22e1..536555c436 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -604,7 +604,8 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi,
      && strcmp (psz_mode, "discard")  && strcmp (psz_mode, "linear")
      && strcmp (psz_mode, "mean")     && strcmp (psz_mode, "x")
      && strcmp (psz_mode, "yadif")    && strcmp (psz_mode, "yadif2x")
-     && strcmp (psz_mode, "phosphor") && strcmp (psz_mode, "ivtc"))
+     && strcmp (psz_mode, "phosphor") && strcmp (psz_mode, "ivtc")
+     && strcmp (psz_mode, "auto"))
         return;
 
     if (*psz_mode)



More information about the vlc-commits mailing list