Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
5816597c
Commit
5816597c
authored
Nov 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead stats_DumpInputStats() function
parent
b21c8b2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
src/libvlc.h
src/libvlc.h
+0
-1
src/misc/stats.c
src/misc/stats.c
+0
-18
No files found.
src/libvlc.h
View file @
5816597c
...
...
@@ -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
src/misc/stats.c
View file @
5816597c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment