Commit 718c752f authored by Filippo Carone's avatar Filippo Carone

fix for libvlc_input_get_fps. maybe there's a better way to do it.

parent 8186a95a
......@@ -144,7 +144,7 @@ float libvlc_input_get_fps( libvlc_input_t *p_input,
if ( libvlc_exception_raised( p_e ) )
return 0.0;
if( demux2_Control( input_GetItem(p_input_thread), DEMUX_GET_FPS, &f_fps )
if( demux2_Control( p_input_thread->p->input.p_demux, DEMUX_GET_FPS, &f_fps )
|| f_fps < 0.1 )
{
vlc_object_release( p_input_thread );
......
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