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
2149506c
Commit
2149506c
authored
May 04, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mmsh.c: Try using the http-proxy config option if mmsh-proxy wasn't set (Untested).
parent
d849f0bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+14
-1
No files found.
modules/access/mms/mmsh.c
View file @
2149506c
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
#include "mmsh.h"
#include "mmsh.h"
/* TODO:
/* TODO:
* - http_proxy
* - authentication
* - authentication
*/
*/
...
@@ -104,6 +103,20 @@ int E_(MMSHOpen)( access_t *p_access )
...
@@ -104,6 +103,20 @@ int E_(MMSHOpen)( access_t *p_access )
/* Check proxy */
/* Check proxy */
/* TODO reuse instead http-proxy from http access ? */
/* TODO reuse instead http-proxy from http access ? */
psz_proxy
=
var_CreateGetString
(
p_access
,
"mmsh-proxy"
);
psz_proxy
=
var_CreateGetString
(
p_access
,
"mmsh-proxy"
);
if
(
!*
psz_proxy
)
{
char
*
psz_http_proxy
=
config_GetPsz
(
p_access
,
"http-proxy"
);
if
(
psz_http_proxy
&&
*
psz_http_proxy
)
{
free
(
psz_proxy
);
psz_proxy
=
psz_http_proxy
;
var_SetString
(
p_access
,
"mmsh-proxy"
,
psz_proxy
);
}
else
{
free
(
psz_http_proxy
);
}
}
if
(
*
psz_proxy
)
if
(
*
psz_proxy
)
{
{
p_sys
->
b_proxy
=
VLC_TRUE
;
p_sys
->
b_proxy
=
VLC_TRUE
;
...
...
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