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
c7c2950f
Commit
c7c2950f
authored
Nov 01, 2010
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtp sout: simplify
parent
7b814718
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/stream_out/rtsp.c
modules/stream_out/rtsp.c
+2
-2
No files found.
modules/stream_out/rtsp.c
View file @
c7c2950f
...
@@ -439,7 +439,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
...
@@ -439,7 +439,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
answer
->
i_status
=
200
;
answer
->
i_status
=
200
;
httpd_MsgAdd
(
answer
,
"Content-Type"
,
"%s"
,
"application/sdp"
);
httpd_MsgAdd
(
answer
,
"Content-Type"
,
"%s"
,
"application/sdp"
);
httpd_MsgAdd
(
answer
,
"Content-Base"
,
"%s"
,
control
);
httpd_MsgAdd
(
answer
,
"Content-Base"
,
"%s"
,
control
);
answer
->
p_body
=
(
uint8_t
*
)
SDPGenerate
(
rtsp
->
owner
,
control
);
answer
->
p_body
=
(
uint8_t
*
)
SDPGenerate
(
p_stream
,
control
);
if
(
answer
->
p_body
!=
NULL
)
if
(
answer
->
p_body
!=
NULL
)
answer
->
i_body
=
strlen
(
(
char
*
)
answer
->
p_body
);
answer
->
i_body
=
strlen
(
(
char
*
)
answer
->
p_body
);
else
else
...
@@ -661,7 +661,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
...
@@ -661,7 +661,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
+
sizeof
(
"url=/trackID=123;seq=65535;"
+
sizeof
(
"url=/trackID=123;seq=65535;"
"rtptime=4294967295, "
)
)
+
1
];
"rtptime=4294967295, "
)
)
+
1
];
size_t
infolen
=
0
;
size_t
infolen
=
0
;
int64_t
ts
=
rtp_get_ts
(
rtsp
->
owner
);
int64_t
ts
=
rtp_get_ts
(
p_stream
);
for
(
int
i
=
0
;
i
<
ses
->
trackc
;
i
++
)
for
(
int
i
=
0
;
i
<
ses
->
trackc
;
i
++
)
{
{
...
...
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