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
2458671a
Commit
2458671a
authored
Aug 15, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not save unloadable flag for submodule
This property is fundamentally per-plugin, not per-submodule.
parent
a6673708
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
src/modules/cache.c
src/modules/cache.c
+0
-2
src/modules/entry.c
src/modules/entry.c
+1
-0
No files found.
src/modules/cache.c
View file @
2458671a
...
...
@@ -251,7 +251,6 @@ size_t CacheLoad( vlc_object_t *p_this, const char *dir, module_cache_t **r )
LOAD_STRING
(
submodule
->
psz_capability
);
LOAD_IMMEDIATE
(
submodule
->
i_score
);
LOAD_IMMEDIATE
(
submodule
->
b_unloadable
);
}
char
*
path
;
...
...
@@ -539,7 +538,6 @@ static int CacheSaveSubmodule( FILE *file, const module_t *p_module )
SAVE_STRING
(
p_module
->
psz_capability
);
SAVE_IMMEDIATE
(
p_module
->
i_score
);
SAVE_IMMEDIATE
(
p_module
->
b_unloadable
);
return
0
;
error:
...
...
src/modules/entry.c
View file @
2458671a
...
...
@@ -226,6 +226,7 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
break
;
case
VLC_MODULE_NO_UNLOAD
:
assert
(
module
->
parent
==
NULL
);
module
->
b_unloadable
=
false
;
break
;
...
...
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