]> git.sesse.net Git - vlc/commitdiff
Fixed deinterlacer mode configuration (vout).
authorLaurent Aimar <fenrir@videolan.org>
Sun, 11 Jul 2010 17:02:37 +0000 (19:02 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 11 Jul 2010 17:56:21 +0000 (19:56 +0200)
src/video_output/interlacing.c

index c25c08bbd83639e9a7b319b450e8c7a6069ddb8b..0bdded929566a1bdd8674cd4fa369a550bd836d2 100644 (file)
@@ -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 ) )