Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
064c2f72
Commit
064c2f72
authored
Nov 09, 2015
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: adaptative: disable alternate streams after demuxing stage
parent
51f2e969
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/demux/adaptative/Streams.cpp
modules/demux/adaptative/Streams.cpp
+7
-6
No files found.
modules/demux/adaptative/Streams.cpp
View file @
064c2f72
...
...
@@ -139,12 +139,6 @@ SegmentChunk * AbstractStream::getChunk()
{
if
(
currentChunk
==
NULL
&&
!
eof
)
{
if
(
esCount
()
&&
!
isSelected
())
{
disabled
=
true
;
segmentTracker
->
reset
();
return
NULL
;
}
currentChunk
=
segmentTracker
->
getNextChunk
(
!
fakeesout
->
restarting
(),
connManager
);
if
(
currentChunk
==
NULL
)
eof
=
true
;
...
...
@@ -286,6 +280,13 @@ AbstractStream::status AbstractStream::demux(mtime_t nz_deadline, bool send)
if
(
send
)
pcr
=
fakeesout
->
commandsqueue
.
Process
(
p_realdemux
->
out
,
VLC_TS_0
+
nz_deadline
);
/* Disable streams that are not selected (alternate streams) */
if
(
esCount
()
&&
!
isSelected
()
&&
!
fakeesout
->
restarting
())
{
disabled
=
true
;
segmentTracker
->
reset
();
}
return
AbstractStream
::
status_demuxed
;
}
...
...
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