Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
3c520c89
Commit
3c520c89
authored
Sep 27, 2004
by
gbazin
Browse files
* modules/access/http.c: keep this plugin at priority 0.
parent
d60b3fee
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/http.c
View file @
3c520c89
...
...
@@ -68,7 +68,7 @@ static void Close( vlc_object_t * );
vlc_module_begin
();
set_description
(
_
(
"HTTP input"
)
);
set_capability
(
"access2"
,
1
);
set_capability
(
"access2"
,
0
);
add_string
(
"http-proxy"
,
NULL
,
NULL
,
PROXY_TEXT
,
PROXY_LONGTEXT
,
VLC_FALSE
);
...
...
@@ -269,11 +269,9 @@ static int Open ( vlc_object_t *p_this )
if
(
p_sys
->
psz_mime
&&
!
strcasecmp
(
p_sys
->
psz_mime
,
"video/x-ms-asf"
)
)
{
char
*
p
=
strcasestr
(
p_access
->
psz_path
,
"asx"
);
if
(
p
==
NULL
)
if
(
!
strcasestr
(
p_access
->
psz_path
,
"asx"
)
)
{
msg_Dbg
(
p_access
,
"
T
his isn't http, it's mms"
);
msg_Dbg
(
p_access
,
"
t
his isn't http, it's mms"
);
goto
error
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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