Commit fe5ee97d authored by Erwan Tulou's avatar Erwan Tulou

rc module: fix snapshot command

type is void and not boolean (assert failed in var_SetChecked)
parent d0671d96
...@@ -1637,7 +1637,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1637,7 +1637,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
} }
else if( !strcmp( psz_cmd, "snapshot" ) ) else if( !strcmp( psz_cmd, "snapshot" ) )
{ {
i_error = var_SetBool( p_vout, psz_variable, true ); var_TriggerCallback( p_vout, psz_variable );
} }
else else
{ {
......
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