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
0196d42e
Commit
0196d42e
authored
Jul 28, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RTSP error codes
parent
65bad3ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+6
-7
No files found.
modules/stream_out/rtp.c
View file @
0196d42e
...
...
@@ -1626,7 +1626,7 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
if
(
ip
==
NULL
)
{
answer
->
i_status
=
4
00
;
answer
->
i_status
=
5
00
;
answer
->
psz_status
=
strdup
(
"Internal server error"
);
answer
->
i_body
=
0
;
answer
->
p_body
=
NULL
;
...
...
@@ -1649,8 +1649,7 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
rtsp
=
RtspClientGet
(
p_stream
,
psz_session
);
if
(
rtsp
==
NULL
)
{
/* FIXME right error code */
answer
->
i_status
=
400
;
answer
->
i_status
=
454
;
answer
->
psz_status
=
strdup
(
"Unknown session id"
);
answer
->
i_body
=
0
;
answer
->
p_body
=
NULL
;
...
...
@@ -1671,8 +1670,8 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
{
msg_Err
(
p_stream
,
"cannot create the access out for %s://%s"
,
psz_access
,
psz_url
);
answer
->
i_status
=
4
00
;
answer
->
psz_status
=
strdup
(
"
Server internal
error"
);
answer
->
i_status
=
5
00
;
answer
->
psz_status
=
strdup
(
"
Internal server
error"
);
answer
->
i_body
=
0
;
answer
->
p_body
=
NULL
;
break
;
...
...
@@ -1691,8 +1690,8 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
}
else
/* TODO strstr( psz_transport, "interleaved" ) ) */
{
answer
->
i_status
=
4
00
;
answer
->
psz_status
=
strdup
(
"
Bad Reques
t"
);
answer
->
i_status
=
4
61
;
answer
->
psz_status
=
strdup
(
"
Unsupported Transpor
t"
);
answer
->
i_body
=
0
;
answer
->
p_body
=
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