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
9c9d03c5
Commit
9c9d03c5
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 1d4c5a496b8b6d21c20ccb7598216195069f346e
parent
5d2aef66
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 @
9c9d03c5
...
@@ -1506,6 +1506,10 @@ static int RollOverTcp( demux_t *p_demux )
...
@@ -1506,6 +1506,10 @@ static int RollOverTcp( demux_t *p_demux )
var_SetBool
(
p_demux
,
"rtsp-tcp"
,
true
);
var_SetBool
(
p_demux
,
"rtsp-tcp"
,
true
);
/* We close the old RTSP session */
/* We close the old RTSP session */
p_sys
->
rtsp
->
teardownMediaSession
(
*
p_sys
->
ms
);
Medium
::
close
(
p_sys
->
ms
);
RTSPClient
::
close
(
p_sys
->
rtsp
);
for
(
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
for
(
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
{
live_track_t
*
tk
=
p_sys
->
track
[
i
];
live_track_t
*
tk
=
p_sys
->
track
[
i
];
...
@@ -1520,10 +1524,6 @@ static int RollOverTcp( demux_t *p_demux )
...
@@ -1520,10 +1524,6 @@ static int RollOverTcp( demux_t *p_demux )
if
(
p_sys
->
i_track
)
free
(
p_sys
->
track
);
if
(
p_sys
->
i_track
)
free
(
p_sys
->
track
);
if
(
p_sys
->
p_out_asf
)
stream_Delete
(
p_sys
->
p_out_asf
);
if
(
p_sys
->
p_out_asf
)
stream_Delete
(
p_sys
->
p_out_asf
);
p_sys
->
rtsp
->
teardownMediaSession
(
*
p_sys
->
ms
);
Medium
::
close
(
p_sys
->
ms
);
RTSPClient
::
close
(
p_sys
->
rtsp
);
p_sys
->
ms
=
NULL
;
p_sys
->
ms
=
NULL
;
p_sys
->
rtsp
=
NULL
;
p_sys
->
rtsp
=
NULL
;
p_sys
->
track
=
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