Commit e4a026f1 authored by Rémi Duraffort's avatar Rémi Duraffort

video_output: really fix use of uninitialized value.

parent f4cae1c6
......@@ -2058,7 +2058,6 @@ static void DeinterlaceEnable( vout_thread_t *p_vout )
}
/* */
bool is_needed;
if( i_deinterlace == -2 )
p_vout->p->b_picture_interlaced = true;
else if( i_deinterlace == -3 )
......@@ -2066,8 +2065,6 @@ static void DeinterlaceEnable( vout_thread_t *p_vout )
if( i_deinterlace < 0 )
i_deinterlace = -1;
p_vout->p->b_picture_interlaced = is_needed;
/* */
val.psz_string = psz_deinterlace ? psz_deinterlace : p_optm->orig.psz;
var_Change( p_vout, "deinterlace-mode", VLC_VAR_SETVALUE, &val, NULL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment