Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
39007831
Commit
39007831
authored
Dec 01, 2017
by
Zhao Zhili
Committed by
François Cartegnie
Dec 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: hls: avoid redundant update of playlist
Signed-off-by:
Francois Cartegnie
<
fcvlcdev@free.fr
>
parent
b6c43967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/demux/hls/playlist/Parser.cpp
modules/demux/hls/playlist/Parser.cpp
+6
-0
No files found.
modules/demux/hls/playlist/Parser.cpp
View file @
39007831
...
...
@@ -159,6 +159,12 @@ void M3U8Parser::createAndFillRepresentation(vlc_object_t *p_obj, BaseAdaptation
if
(
rep
)
{
parseSegments
(
p_obj
,
rep
,
tagslist
);
if
(
rep
->
isLive
())
{
/* avoid update playlist immediately */
uint64_t
startseq
=
rep
->
getLiveStartSegmentNumber
(
0
);
rep
->
scheduleNextUpdate
(
startseq
);
}
adaptSet
->
addRepresentation
(
rep
);
}
}
...
...
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