Commit f393ebdf authored by ivoire's avatar ivoire Committed by Jean-Baptiste Kempf
Browse files

hotkeys: Fix test (was always true)

parent af878173
...@@ -939,7 +939,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action ) ...@@ -939,7 +939,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
char *psz_mode = var_GetString( p_vout, "deinterlace-mode" ); char *psz_mode = var_GetString( p_vout, "deinterlace-mode" );
vlc_value_t vlist, tlist; vlc_value_t vlist, tlist;
if( psz_mode && !var_Change( p_vout, "deinterlace-mode", VLC_VAR_GETCHOICES, &vlist, &tlist ) >= 0 ) if( psz_mode && !var_Change( p_vout, "deinterlace-mode", VLC_VAR_GETCHOICES, &vlist, &tlist ) )
{ {
const char *psz_text = NULL; const char *psz_text = NULL;
for( int i = 0; i < vlist.p_list->i_count; i++ ) for( int i = 0; i < vlist.p_list->i_count; i++ )
......
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