Commit aea8bd76 authored by Rafaël Carré's avatar Rafaël Carré

video_output: removes warnings about unused parameters in vlc callbacks

parent 795fb9bc
......@@ -1197,6 +1197,8 @@ static int FullscreenCallback( vlc_object_t *p_this, char const *psz_cmd,
static int SnapshotCallback( vlc_object_t *p_this, char const *psz_cmd,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval);
VLC_UNUSED(newval); VLC_UNUSED(p_data);
vout_thread_t *p_vout = (vout_thread_t *)p_this;
vout_Control( p_vout, VOUT_SNAPSHOT );
return VLC_SUCCESS;
......@@ -1205,6 +1207,8 @@ static int SnapshotCallback( vlc_object_t *p_this, char const *psz_cmd,
static int TitleShowCallback( vlc_object_t *p_this, char const *psz_cmd,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval);
VLC_UNUSED(p_data);
vout_thread_t *p_vout = (vout_thread_t *)p_this;
p_vout->b_title_show = newval.b_bool;
return VLC_SUCCESS;
......@@ -1213,6 +1217,7 @@ static int TitleShowCallback( vlc_object_t *p_this, char const *psz_cmd,
static int TitleTimeoutCallback( vlc_object_t *p_this, char const *psz_cmd,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval); VLC_UNUSED(p_data);
vout_thread_t *p_vout = (vout_thread_t *)p_this;
p_vout->i_title_timeout = (mtime_t) newval.i_int;
return VLC_SUCCESS;
......@@ -1221,6 +1226,8 @@ static int TitleTimeoutCallback( vlc_object_t *p_this, char const *psz_cmd,
static int TitlePositionCallback( vlc_object_t *p_this, char const *psz_cmd,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval);
VLC_UNUSED(p_data);
vout_thread_t *p_vout = (vout_thread_t *)p_this;
p_vout->i_title_position = newval.i_int;
return VLC_SUCCESS;
......
......@@ -1393,7 +1393,8 @@ static void spu_del_video_buffer( filter_t *p_filter, picture_t *p_pic )
static int SubFilterCallback( vlc_object_t *p_object, char const *psz_var,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
(void)p_object; (void)oldval; (void)newval;
VLC_UNUSED(p_object); VLC_UNUSED(oldval);
VLC_UNUSED(newval); VLC_UNUSED(psz_var);
spu_t *p_spu = (spu_t *)p_data;
vlc_mutex_lock( &p_spu->subpicture_lock );
......
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