Commit 8329bd85 authored by Benjamin Pracht's avatar Benjamin Pracht

Add the "X" deinterlace mode to the list displayed in guis. (We should...

Add the "X" deinterlace mode to the list displayed in guis. (We should certainly find a better name, but I cannot see any).

parent 4ba7bb60
......@@ -423,6 +423,9 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
var_Change( p_vout, "deinterlace", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "linear"; text.psz_string = _("Linear");
var_Change( p_vout, "deinterlace", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "x"; text.psz_string = "X";
var_Change( p_vout, "deinterlace", VLC_VAR_ADDCHOICE, &val, &text );
if( var_Get( p_vout, "deinterlace-mode", &val ) == VLC_SUCCESS )
{
var_Set( p_vout, "deinterlace", val );
......
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