Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6e8d5532
authored
2014-10-14 15:31:05 -0700
by
Tom Johnson
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
syntax update per @gkatsev request
1 parent
4e0ea0a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
6e8d553
...
...
@@ -677,7 +677,7 @@ videojs.Hls.getPlaylistDuration = function(playlist, startIndex, endIndex) {
for
(;
i
>=
startIndex
;
i
--
)
{
segment
=
playlist
.
segments
[
i
];
dur
+=
(
segment
.
duration
!==
undefined
?
segment
.
duration
:
playlist
.
targetDuration
||
0
)
;
dur
+=
(
segment
.
duration
!==
undefined
?
segment
.
duration
:
playlist
.
targetDuration
)
||
0
;
}
return
dur
;
...
...
Please
register
or
sign in
to post a comment