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
c5dac996
Commit
c5dac996
authored
Nov 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused timer instance data
parent
c7de7efc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
src/libvlc.c
src/libvlc.c
+0
-4
src/libvlc.h
src/libvlc.h
+0
-5
No files found.
src/libvlc.c
View file @
c5dac996
...
...
@@ -193,7 +193,6 @@ libvlc_int_t * libvlc_InternalCreate( void )
/* Initialize mutexes */
vlc_mutex_init
(
&
priv
->
ml_lock
);
vlc_mutex_init
(
&
priv
->
timer_lock
);
vlc_ExitInit
(
&
priv
->
exit
);
return
p_libvlc
;
...
...
@@ -518,8 +517,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
vlc_object_set_name
(
p_libvlc
,
"main"
);
priv
->
b_stats
=
var_InheritBool
(
p_libvlc
,
"stats"
);
priv
->
i_timers
=
0
;
priv
->
pp_timers
=
NULL
;
/*
* Initialize hotkey handling
...
...
@@ -822,7 +819,6 @@ void libvlc_InternalDestroy( libvlc_int_t *p_libvlc )
/* Destroy mutexes */
vlc_ExitDestroy
(
&
priv
->
exit
);
vlc_mutex_destroy
(
&
priv
->
timer_lock
);
vlc_mutex_destroy
(
&
priv
->
ml_lock
);
#ifndef NDEBUG
/* Hack to dump leaked objects tree */
...
...
src/libvlc.h
View file @
c5dac996
...
...
@@ -174,12 +174,7 @@ typedef struct libvlc_priv_t
/* Messages */
int
i_verbose
;
///< info messages
bool
b_color
;
///< color messages?
/* Timer stats */
bool
b_stats
;
///< Whether to collect stats
vlc_mutex_t
timer_lock
;
///< Lock to protect timers
counter_t
**
pp_timers
;
///< Array of all timers
int
i_timers
;
///< Number of timers
/* Singleton objects */
module_t
*
p_memcpy_module
;
///< Fast memcpy plugin used
...
...
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