Commit 5816597c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove dead stats_DumpInputStats() function

parent b21c8b2f
...@@ -291,6 +291,5 @@ static inline int stats_UpdateFloat( vlc_object_t *p_obj, counter_t *p_co, ...@@ -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_ComputeInputStats(input_thread_t*, input_stats_t*);
void stats_ReinitInputStats(input_stats_t *); void stats_ReinitInputStats(input_stats_t *);
void stats_DumpInputStats(input_stats_t *);
#endif #endif
...@@ -223,24 +223,6 @@ void stats_ReinitInputStats( input_stats_t *p_stats ) ...@@ -223,24 +223,6 @@ void stats_ReinitInputStats( input_stats_t *p_stats )
vlc_mutex_unlock( &p_stats->lock ); 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 ) void stats_CounterClean( counter_t *p_c )
{ {
if( p_c ) if( p_c )
......
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