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
71119a76
Commit
71119a76
authored
Mar 21, 2011
by
Sébastien Escudier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp RollOverTcp : close the stream before deleting tracks.
Same problem than in
1d4c5a49
parent
51b60275
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/live555.cpp
modules/demux/live555.cpp
+4
-4
No files found.
modules/demux/live555.cpp
View file @
71119a76
...
...
@@ -1575,6 +1575,10 @@ static int RollOverTcp( demux_t *p_demux )
var_SetBool
(
p_demux
,
"rtsp-tcp"
,
true
);
/* We close the old RTSP session */
p_sys
->
rtsp
->
sendTeardownCommand
(
*
p_sys
->
ms
,
NULL
);
Medium
::
close
(
p_sys
->
ms
);
RTSPClient
::
close
(
p_sys
->
rtsp
);
for
(
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
live_track_t
*
tk
=
p_sys
->
track
[
i
];
...
...
@@ -1589,10 +1593,6 @@ static int RollOverTcp( demux_t *p_demux )
if
(
p_sys
->
i_track
)
free
(
p_sys
->
track
);
if
(
p_sys
->
p_out_asf
)
stream_Delete
(
p_sys
->
p_out_asf
);
p_sys
->
rtsp
->
sendTeardownCommand
(
*
p_sys
->
ms
,
NULL
);
Medium
::
close
(
p_sys
->
ms
);
RTSPClient
::
close
(
p_sys
->
rtsp
);
p_sys
->
ms
=
NULL
;
p_sys
->
rtsp
=
NULL
;
p_sys
->
track
=
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