]> git.sesse.net Git - vlc/commitdiff
Remove dead stats_DumpInputStats() function
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 29 Nov 2011 17:12:43 +0000 (19:12 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 29 Nov 2011 17:14:26 +0000 (19:14 +0200)
src/libvlc.h
src/misc/stats.c

index f7c55ffdf6effa2ee8ff1ca603b2ac003c3fb275..ad0c68e4e2e7e482a2b0958b5ff7b4ea3581a24d 100644 (file)
@@ -291,6 +291,5 @@ static inline int stats_UpdateFloat( vlc_object_t *p_obj, counter_t *p_co,
 
 void stats_ComputeInputStats(input_thread_t*, input_stats_t*);
 void stats_ReinitInputStats(input_stats_t *);
-void stats_DumpInputStats(input_stats_t *);
 
 #endif
index 2f796a5483c9989e18954b512756892f47bb8de0..ba90eb4f661621d0e62583de1da4d37c7ec2693d 100644 (file)
@@ -223,24 +223,6 @@ void stats_ReinitInputStats( input_stats_t *p_stats )
     vlc_mutex_unlock( &p_stats->lock );
 }
 
-void stats_DumpInputStats( input_stats_t *p_stats  )
-{
-    vlc_mutex_lock( &p_stats->lock );
-    /* f_bitrate is in bytes / microsecond
-     * *1000 => bytes / millisecond => kbytes / seconds */
-    fprintf( stderr, "Input : %"PRId64" (%"PRId64" bytes) - %f kB/s - "
-                     "Demux : %"PRId64" (%"PRId64" bytes) - %f kB/s\n"
-                     " - Vout : %"PRId64"/%"PRId64" - Aout : %"PRId64"/%"PRId64" - Sout : %f\n",
-                    p_stats->i_read_packets, p_stats->i_read_bytes,
-                    p_stats->f_input_bitrate * 1000,
-                    p_stats->i_demux_read_packets, p_stats->i_demux_read_bytes,
-                    p_stats->f_demux_bitrate * 1000,
-                    p_stats->i_displayed_pictures, p_stats->i_lost_pictures,
-                    p_stats->i_played_abuffers, p_stats->i_lost_abuffers,
-                    p_stats->f_send_bitrate );
-    vlc_mutex_unlock( &p_stats->lock );
-}
-
 void stats_CounterClean( counter_t *p_c )
 {
     if( p_c )