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
7cec809d
Commit
7cec809d
authored
Jul 08, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the --user-agent hack
(cherry picked from commit
d3b02be6
) Conflicts: bin/vlc.c
parent
566bdb4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
bin/vlc.c
bin/vlc.c
+2
-3
src/libvlc-module.c
src/libvlc-module.c
+0
-4
No files found.
bin/vlc.c
View file @
7cec809d
...
...
@@ -150,11 +150,10 @@ int main( int i_argc, const char *ppsz_argv[] )
sigdelset
(
&
set
,
SIGCHLD
);
/* Note that FromLocale() can be used before libvlc is initialized */
const
char
*
argv
[
i_argc
+
4
];
const
char
*
argv
[
i_argc
+
3
];
int
argc
=
0
;
argv
[
argc
++
]
=
"--no-ignore-config"
;
argv
[
argc
++
]
=
"--user-agent=
\"
VLC media player
\"
"
;
#ifdef TOP_BUILDDIR
argv
[
argc
++
]
=
FromLocale
(
"--plugin-path="
TOP_BUILDDIR
"/modules"
);
#endif
...
...
@@ -196,7 +195,7 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_release
(
vlc
);
}
for
(
int
i
=
2
;
i
<
argc
;
i
++
)
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
LocaleFree
(
argv
[
i
]);
return
0
;
...
...
src/libvlc-module.c
View file @
7cec809d
...
...
@@ -2057,10 +2057,6 @@ vlc_module_begin ()
DATA_PATH_LONGTEXT
,
true
)
change_need_restart
()
add_string
(
"user-agent"
,
"(LibVLC "
VERSION
")"
,
NULL
,
NULL
,
NULL
,
true
)
change_safe
()
change_private
()
set_section
(
N_
(
"Performance options"
),
NULL
)
add_obsolete_bool
(
"minimize-threads"
)
...
...
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