]> git.sesse.net Git - vlc/commitdiff
Removed call to input_Tell (which is deprecated)
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Sun, 6 Jun 2004 16:15:23 +0000 (16:15 +0000)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Sun, 6 Jun 2004 16:15:23 +0000 (16:15 +0000)
modules/video_output/snapshot.c

index 8fb6cf1cc9dac80494e581a559cceee7ebfede67..15b791d29e66994596e264dce2fc111a65e5eea5 100644 (file)
@@ -344,16 +344,6 @@ static mtime_t snapshot_GetMovietime( vout_thread_t *p_vout )
 
     i_result = val.i_time;
 
-    if( i_result <= 0 )
-    {
-        /* Either we are at the start, or (more probably) the demuxer
-           does not support the DEMUX_GET_TIME call. Try to fallback to
-           another method. */
-        stream_position_t pos;
-
-        input_Tell( p_input, &pos );
-        i_result = pos.i_mux_rate * 50 * pos.i_tell;
-    }
     return( i_result / 1000 );
 }