Commit 3e3d8776 authored by Antoine Cellerier's avatar Antoine Cellerier

Add new var_Change action: VLC_VAR_SETISCOMMAND. Previously it was only

possible to set this attribute at variable creation time (and for some
reason I don't understand that didn't work in one case so I added this
work arround :p)
parent cc872f33
......@@ -106,6 +106,8 @@
#define VLC_VAR_INHERITVALUE 0x0030
#define VLC_VAR_TRIGGER_CALLBACKS 0x0035
#define VLC_VAR_SETISCOMMAND 0x0040
/**@}*/
/*****************************************************************************
......
......@@ -710,6 +710,10 @@ int __var_Change( vlc_object_t *p_this, const char *psz_name,
}
break;
case VLC_VAR_SETISCOMMAND:
p_var->i_type |= VLC_VAR_ISCOMMAND;
break;
default:
break;
}
......
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