Commit f25c4299 authored by Filippo Carone's avatar Filippo Carone

a vlc_object_release added

parent e63f4a4b
...@@ -125,10 +125,16 @@ float libvlc_input_get_fps( libvlc_input_t *p_input, ...@@ -125,10 +125,16 @@ float libvlc_input_get_fps( libvlc_input_t *p_input,
p_input_thread = libvlc_get_input_thread ( p_input, p_exception); p_input_thread = libvlc_get_input_thread ( p_input, p_exception);
if( demux2_Control( p_input_thread->input.p_demux, DEMUX_GET_FPS, &f_fps ) || f_fps < 0.1 ) if( demux2_Control( p_input_thread->input.p_demux, DEMUX_GET_FPS, &f_fps ) || f_fps < 0.1 )
{
vlc_object_release( p_input_thread );
return 0; return 0;
}
else else
{
vlc_object_release( p_input_thread );
return( f_fps ); return( f_fps );
}
} }
vlc_bool_t libvlc_input_will_play( libvlc_input_t *p_input, vlc_bool_t libvlc_input_will_play( libvlc_input_t *p_input,
......
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