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
a87e7221
Commit
a87e7221
authored
May 23, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be lazy : let modules do what they want with stats - without crashing
parent
da9d2466
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/misc/stats.c
src/misc/stats.c
+2
-4
No files found.
src/misc/stats.c
View file @
a87e7221
...
@@ -32,8 +32,6 @@
...
@@ -32,8 +32,6 @@
#include <vlc/vlc.h>
#include <vlc/vlc.h>
#include <stdio.h>
/* required */
#include <stdio.h>
/* required */
#include <assert.h>
#include "input/input_internal.h"
#include "input/input_internal.h"
/*****************************************************************************
/*****************************************************************************
...
@@ -378,7 +376,6 @@ void __stats_TimerDump( vlc_object_t *p_obj, unsigned int i_id )
...
@@ -378,7 +376,6 @@ void __stats_TimerDump( vlc_object_t *p_obj, unsigned int i_id )
break
;
break
;
}
}
}
}
assert
(
p_counter
);
TimerDump
(
p_obj
,
p_counter
,
true
);
TimerDump
(
p_obj
,
p_counter
,
true
);
vlc_mutex_unlock
(
&
priv
->
timer_lock
);
vlc_mutex_unlock
(
&
priv
->
timer_lock
);
}
}
...
@@ -584,7 +581,8 @@ static int CounterUpdate( vlc_object_t *p_handler,
...
@@ -584,7 +581,8 @@ static int CounterUpdate( vlc_object_t *p_handler,
static
void
TimerDump
(
vlc_object_t
*
p_obj
,
counter_t
*
p_counter
,
static
void
TimerDump
(
vlc_object_t
*
p_obj
,
counter_t
*
p_counter
,
bool
b_total
)
bool
b_total
)
{
{
assert
(
p_counter
);
if
(
!
p_counter
)
return
;
mtime_t
last
,
total
;
mtime_t
last
,
total
;
int
i_total
;
int
i_total
;
...
...
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