Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
540d82b4
Commit
540d82b4
authored
Jan 23, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the old module config lock
parent
b2c266cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
7 deletions
+0
-7
include/vlc_configuration.h
include/vlc_configuration.h
+0
-1
src/modules/cache.c
src/modules/cache.c
+0
-2
src/modules/entry.c
src/modules/entry.c
+0
-3
src/modules/modules.h
src/modules/modules.h
+0
-1
No files found.
include/vlc_configuration.h
View file @
540d82b4
...
...
@@ -178,7 +178,6 @@ struct module_config_t
int
i_action
;
/* actions list size */
/* Misc */
vlc_mutex_t
*
p_lock
;
/* Lock to use when modifying the config */
bool
b_dirty
;
/* Dirty flag to indicate a config change */
bool
b_advanced
;
/* Flag to indicate an advanced option */
bool
b_internal
;
/* Flag to indicate option is not to be shown */
...
...
src/modules/cache.c
View file @
540d82b4
...
...
@@ -392,8 +392,6 @@ static int CacheLoadConfig( module_t *p_module, FILE *file )
p_module
->
p_config
[
i
].
b_dirty
=
false
;
p_module
->
p_config
[
i
].
p_lock
=
&
p_module
->
lock
;
if
(
p_module
->
p_config
[
i
].
i_list
)
{
if
(
p_module
->
p_config
[
i
].
ppsz_list
)
...
...
src/modules/entry.c
View file @
540d82b4
...
...
@@ -37,7 +37,6 @@ static void vlc_module_destruct (gc_object_t *obj)
{
module_t
*
module
=
vlc_priv
(
obj
,
module_t
);
vlc_mutex_destroy
(
&
module
->
lock
);
free
(
module
->
psz_object_name
);
free
(
module
);
}
...
...
@@ -56,7 +55,6 @@ module_t *vlc_module_create (vlc_object_t *obj)
module
->
parent
=
NULL
;
module
->
submodule_count
=
0
;
vlc_gc_init
(
module
,
vlc_module_destruct
);
vlc_mutex_init
(
&
module
->
lock
);
module
->
psz_shortname
=
NULL
;
module
->
psz_longname
=
(
char
*
)
default_name
;
...
...
@@ -135,7 +133,6 @@ static module_config_t *vlc_config_create (module_t *module, int type)
memset
(
tab
+
confsize
,
0
,
sizeof
(
tab
[
confsize
]));
tab
[
confsize
].
i_type
=
type
;
tab
[
confsize
].
p_lock
=
&
module
->
lock
;
if
(
type
&
CONFIG_ITEM
)
{
...
...
src/modules/modules.h
View file @
540d82b4
...
...
@@ -102,7 +102,6 @@ struct module_t
module_t
*
parent
;
unsigned
submodule_count
;
gc_object_t
vlc_gc_data
;
vlc_mutex_t
lock
;
/*
* Variables set by the module to identify itself
...
...
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