Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
417715c9
Commit
417715c9
authored
Mar 23, 2012
by
Sébastien Escudier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp : display a message if the server forbids the connection
refs #6461
parent
831d5b0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/demux/live555.cpp
modules/demux/live555.cpp
+5
-0
No files found.
modules/demux/live555.cpp
View file @
417715c9
...
@@ -655,7 +655,12 @@ describe:
...
@@ -655,7 +655,12 @@ describe:
if
(
i_code
==
0
)
if
(
i_code
==
0
)
msg_Dbg
(
p_demux
,
"connection timeout"
);
msg_Dbg
(
p_demux
,
"connection timeout"
);
else
else
{
msg_Dbg
(
p_demux
,
"connection error %d"
,
i_code
);
msg_Dbg
(
p_demux
,
"connection error %d"
,
i_code
);
if
(
i_code
==
403
)
dialog_Fatal
(
p_demux
,
_
(
"RTSP connection failed"
),
_
(
"You are not allowed to access this server."
)
);
}
if
(
p_sys
->
rtsp
)
RTSPClient
::
close
(
p_sys
->
rtsp
);
if
(
p_sys
->
rtsp
)
RTSPClient
::
close
(
p_sys
->
rtsp
);
p_sys
->
rtsp
=
NULL
;
p_sys
->
rtsp
=
NULL
;
}
}
...
...
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