Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8b554082
Commit
8b554082
authored
Aug 06, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with module macros and sout chain parsing
parent
11d2650a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
25 deletions
+17
-25
src/modules/configuration.c
src/modules/configuration.c
+17
-25
No files found.
src/modules/configuration.c
View file @
8b554082
...
...
@@ -1556,37 +1556,29 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[],
/* Check if the option is deprecated */
if
(
p_conf
->
psz_current
)
{
if
(
!
strcmp
(
p_conf
->
psz_current
,
"SUPPRESSED"
)
)
if
(
p_conf
->
b_strict
)
{
if
(
!
b_ignore_errors
)
{
fprintf
(
stderr
,
"Warning: option --%s is no longer used.
\n
"
,
p_conf
->
psz_name
);
}
fprintf
(
stderr
,
"Warning: option --%s no longer exists.
\n
"
,
p_conf
->
psz_name
);
continue
;
}
fprintf
(
stderr
,
"%s: option --%s is deprecated. Use --%s instead.
\n
"
,
b_ignore_errors
?
"Warning"
:
"Error"
,
p_conf
->
psz_name
,
p_conf
->
psz_current
);
if
(
!
b_ignore_errors
)
{
if
(
p_conf
->
b_strict
)
{
fprintf
(
stderr
,
"Error: option --%s is deprecated. "
"Use --%s instead.
\n
"
,
p_conf
->
psz_name
,
p_conf
->
psz_current
);
/*free */
for
(
i_index
=
0
;
p_longopts
[
i_index
].
name
;
i_index
++
)
free
(
(
char
*
)
p_longopts
[
i_index
].
name
);
free
(
p_longopts
);
free
(
psz_shortopts
);
return
-
1
;
}
fprintf
(
stderr
,
"Warning: option --%s is deprecated. "
"You should use --%s instead.
\n
"
,
p_conf
->
psz_name
,
p_conf
->
psz_current
);
/*free */
for
(
i_index
=
0
;
p_longopts
[
i_index
].
name
;
i_index
++
)
free
(
(
char
*
)
p_longopts
[
i_index
].
name
);
free
(
p_longopts
);
free
(
psz_shortopts
);
return
-
1
;
}
psz_name
=
(
char
*
)
p_conf
->
psz_current
;
p_conf
=
config_FindConfig
(
p_this
,
psz_name
);
}
...
...
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