Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e49c4159
Commit
e49c4159
authored
Jan 17, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove --save-config
parent
57fc7b4e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
NEWS
NEWS
+1
-0
src/libvlc-module.c
src/libvlc-module.c
+1
-6
src/libvlc.c
src/libvlc.c
+0
-6
No files found.
NEWS
View file @
e49c4159
...
...
@@ -93,6 +93,7 @@ Maemo port:
Misc:
* new sqlite module
* --save-config command line option not supported anymore.
Removed modules:
* csri codec. Use libass module instead.
...
...
src/libvlc-module.c
View file @
e49c4159
...
...
@@ -2738,8 +2738,6 @@ vlc_module_begin ()
"matches.")
#define IGNORE_CONFIG_TEXT \
N_("no configuration option will be loaded nor saved to config file")
#define SAVE_CONFIG_TEXT \
N_("save the current command line options in the config")
#define RESET_CONFIG_TEXT \
N_("reset the current config to the default values")
#define CONFIG_TEXT \
...
...
@@ -2779,10 +2777,7 @@ vlc_module_begin ()
add_bool
(
"ignore-config"
,
true
,
NULL
,
IGNORE_CONFIG_TEXT
,
""
,
false
)
change_internal
()
change_unsaveable
()
add_bool
(
"save-config"
,
false
,
NULL
,
SAVE_CONFIG_TEXT
,
""
,
false
)
change_internal
()
change_unsaveable
()
add_obsolete_bool
(
"save-config"
)
add_bool
(
"reset-config"
,
false
,
NULL
,
RESET_CONFIG_TEXT
,
""
,
false
)
change_internal
()
change_unsaveable
()
...
...
src/libvlc.c
View file @
e49c4159
...
...
@@ -520,12 +520,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
config_LoadCmdLine
(
p_libvlc
,
&
i_argc
,
ppsz_argv
,
true
);
config_SaveConfigFile
(
p_libvlc
,
NULL
);
}
if
(
var_InheritBool
(
p_libvlc
,
"save-config"
)
)
{
config_LoadConfigFile
(
p_libvlc
,
NULL
);
config_LoadCmdLine
(
p_libvlc
,
&
i_argc
,
ppsz_argv
,
true
);
config_SaveConfigFile
(
p_libvlc
,
NULL
);
}
}
if
(
module_count
<=
1
)
...
...
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