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
e07a781e
Commit
e07a781e
authored
Feb 12, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also newer live55 exhibit the problem.
parent
0621dd1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
modules/demux/live555.cpp
modules/demux/live555.cpp
+14
-1
No files found.
modules/demux/live555.cpp
View file @
e07a781e
...
...
@@ -456,6 +456,7 @@ static int Connect( demux_t *p_demux )
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
Authenticator
authenticator
;
vlc_bool_t
b_firstpass
=
VLC_TRUE
;
char
*
psz_user
=
NULL
;
char
*
psz_pwd
=
NULL
;
...
...
@@ -541,9 +542,21 @@ describe:
if
(
var_GetBool
(
p_demux
,
"rtsp-http"
)
)
sscanf
(
psz_error
,
"%*s %*s HTTP GET %*s HTTP/%*u.%*u %3u %*s"
,
&
i_code
);
else
sscanf
(
psz_error
,
"%*sRTSP/%*s%3u"
,
&
i_code
);
else
{
const
char
*
psz_tmp
=
strstr
(
psz_error
,
"RTSP"
);
sscanf
(
psz_tmp
,
"RTSP/%*s%3u"
,
&
i_code
);
}
msg_Dbg
(
p_demux
,
"DESCRIBE failed with %d: %s"
,
i_code
,
psz_error
);
if
(
b_firstpass
)
{
/* describeURL always returns an "RTSP/1.0 401 Unauthorized" the
* first time. This is a workaround to avoid asking for a
* user/passwd the first time the code passess here. */
i_code
=
0
;
b_firstpass
=
VLC_FALSE
;
}
if
(
i_code
==
401
)
{
int
i_result
;
...
...
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