Commit 37c38fd3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: remove INPUT_GET_VIDEO_FPS control

parent 1bfa2016
......@@ -441,9 +441,6 @@ enum input_query_e
INPUT_DEL_INFO, /* arg1= char* arg2= char* res=can fail */
INPUT_SET_NAME, /* arg1= char* res=can fail */
/* Input properties */
INPUT_GET_VIDEO_FPS, /* arg1= double * res=can fail */
/* bookmarks */
INPUT_GET_BOOKMARK, /* arg1= seekpoint_t * res=can fail */
INPUT_GET_BOOKMARKS, /* arg1= seekpoint_t *** arg2= int * res=can fail */
......
......@@ -427,14 +427,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
return VLC_SUCCESS;
}
case INPUT_GET_VIDEO_FPS:
pf = (double*)va_arg( args, double * );
vlc_mutex_lock( &p_input->p->p_item->lock );
*pf = p_input->p->f_fps;
vlc_mutex_unlock( &p_input->p->p_item->lock );
return VLC_SUCCESS;
case INPUT_ADD_SLAVE:
psz = (char*)va_arg( args, char * );
if( psz && *psz )
......
......@@ -2273,11 +2273,7 @@ static input_source_t *InputSourceNew( input_thread_t *p_input,
}
if( !demux_Control( in->p_demux, DEMUX_GET_FPS, &f_fps ) && f_fps > 0.0 )
{
vlc_mutex_lock( &p_input->p->p_item->lock );
p_input->p->f_fps = f_fps;
vlc_mutex_unlock( &p_input->p->p_item->lock );
}
if( var_GetInteger( p_input, "clock-synchro" ) != -1 )
in->b_can_pace_control = !var_GetInteger( p_input, "clock-synchro" );
......
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