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
48a46b85
Commit
48a46b85
authored
Dec 09, 2011
by
Sébastien Escudier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555 : close when there is no more track.
fix a regression from
af107361
when the stream ends.
parent
05b1efd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
modules/demux/live555.cpp
modules/demux/live555.cpp
+12
-1
No files found.
modules/demux/live555.cpp
View file @
48a46b85
...
...
@@ -1961,9 +1961,20 @@ static void StreamClose( void *p_private )
demux_t
*
p_demux
=
tk
->
p_demux
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
tk
->
b_selected
=
false
;
msg_Dbg
(
p_demux
,
"RTSP track Close"
);
p_sys
->
event_rtsp
=
0xff
;
p_sys
->
event_data
=
0xff
;
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_ES_STATE
,
tk
->
p_es
,
false
);
int
nb_tracks
=
0
;
for
(
int
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
if
(
p_sys
->
track
[
i
]
->
b_selected
)
nb_tracks
++
;
}
msg_Dbg
(
p_demux
,
"RTSP track Close, %d track remaining"
,
nb_tracks
);
if
(
!
nb_tracks
)
p_sys
->
b_error
=
true
;
}
...
...
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