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
ebeb9647
authored
2014-06-20 16:27:09 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Make sure we can finalize the flv tag view
1 parent
ad192c01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/flv-tag.js
src/flv-tag.js
View file @
ebeb964
...
...
@@ -298,6 +298,9 @@ hls.FlvTag = function(type, extraData) {
this
.
bytes
[
9
]
=
0
;
this
.
bytes
[
10
]
=
0
;
// Sometimes we're at the end of the view and have one slot to write a
// uint32, so, prepareWrite of count 4, since, view is uint8
prepareWrite
(
this
,
4
);
this
.
view
.
setUint32
(
this
.
length
,
this
.
length
);
this
.
length
+=
4
;
this
.
position
+=
4
;
...
...
Please
register
or
sign in
to post a comment