From 62f5a01be5f660c780936a21ab27bcf7a55a0883 Mon Sep 17 00:00:00 2001
From: Laurent Aimar <fenrir@videolan.org>
Date: Sun, 11 Jul 2010 19:02:37 +0200
Subject: [PATCH] Fixed deinterlacer mode configuration (vout).

---
 src/video_output/interlacing.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/video_output/interlacing.c b/src/video_output/interlacing.c
index c25c08bbd836..0bdded929566 100644
--- a/src/video_output/interlacing.c
+++ b/src/video_output/interlacing.c
@@ -181,6 +181,7 @@ static int DeinterlaceCallback( vlc_object_t *p_this, char const *psz_cmd,
 
     /* */
     char *psz_old = var_CreateGetString( p_vout, "sout-deinterlace-mode" );
+    var_SetString( p_vout, "sout-deinterlace-mode", psz_mode );
 
     msg_Dbg( p_vout, "deinterlace %d, mode %s, is_needed %d", i_deinterlace, psz_mode, is_needed );
     if( i_deinterlace == 0 || ( i_deinterlace == -1 && !is_needed ) )
-- 
GitLab