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
d553df56
Commit
d553df56
authored
Mar 04, 2011
by
Sébastien Escudier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555 : only check for the error code in the result message string.
parent
3465cf2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/demux/live555.cpp
modules/demux/live555.cpp
+3
-5
No files found.
modules/demux/live555.cpp
View file @
d553df56
...
@@ -586,9 +586,8 @@ describe:
...
@@ -586,9 +586,8 @@ describe:
&
i_code
);
&
i_code
);
else
else
{
{
const
char
*
psz_tmp
=
strstr
(
psz_error
,
"RTSP"
);
if
(
strstr
(
psz_error
,
"401"
)
)
if
(
psz_tmp
)
i_code
=
401
;
sscanf
(
psz_tmp
,
"RTSP/%*s%3u"
,
&
i_code
);
else
else
i_code
=
0
;
i_code
=
0
;
}
}
...
@@ -739,8 +738,7 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -739,8 +738,7 @@ static int SessionsSetup( demux_t *p_demux )
{
{
/* if we get an unsupported transport error, toggle TCP
/* if we get an unsupported transport error, toggle TCP
* use and try again */
* use and try again */
if
(
!
strstr
(
p_sys
->
env
->
getResultMsg
(),
if
(
!
strstr
(
p_sys
->
env
->
getResultMsg
(),
"461"
)
"461 Unsupported Transport"
)
||
!
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
||
!
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
!
toBool
(
b_rtsp_tcp
),
False
)
)
!
toBool
(
b_rtsp_tcp
),
False
)
)
{
{
...
...
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