mirror of https://code.videolan.org/videolan/vlc
parent
21819cb0cd
commit
0bb7fff7d4
|
@ -793,7 +793,10 @@ vout_CycleVariable(vout_thread_t *vout,
|
|||
char const *varname, int vartype, bool next)
|
||||
{
|
||||
vlc_value_t val;
|
||||
var_Get(vout, varname, &val);
|
||||
|
||||
if (var_Get(vout, varname, &val) != VLC_SUCCESS)
|
||||
return;
|
||||
|
||||
size_t num_choices;
|
||||
vlc_value_t *choices;
|
||||
var_Change(vout, varname, VLC_VAR_GETCHOICES,
|
||||
|
|
Loading…
Reference in New Issue