Fix jshint issues
Remove an extra semi-colon and refrence videojs through window.
Showing
1 changed file
with
3 additions
and
1 deletions
1 | (function(videojs) { | ||
1 | module('H264 Stream'); | 2 | module('H264 Stream'); |
2 | 3 | ||
3 | var | 4 | var |
... | @@ -43,7 +44,7 @@ test('metadata is generated for IDRs after a full NAL unit is written', function | ... | @@ -43,7 +44,7 @@ test('metadata is generated for IDRs after a full NAL unit is written', function |
43 | 0x00, | 44 | 0x00, |
44 | 0x01, | 45 | 0x01, |
45 | nalUnitTypes.slice_layer_without_partitioning_rbsp_idr | 46 | nalUnitTypes.slice_layer_without_partitioning_rbsp_idr |
46 | ]);; | 47 | ]); |
47 | 48 | ||
48 | h264Stream.setNextTimeStamp(0, 0, true); | 49 | h264Stream.setNextTimeStamp(0, 0, true); |
49 | h264Stream.writeBytes(accessUnitDelimiter, 0, accessUnitDelimiter.byteLength); | 50 | h264Stream.writeBytes(accessUnitDelimiter, 0, accessUnitDelimiter.byteLength); |
... | @@ -58,3 +59,4 @@ test('metadata is generated for IDRs after a full NAL unit is written', function | ... | @@ -58,3 +59,4 @@ test('metadata is generated for IDRs after a full NAL unit is written', function |
58 | 'picture parameter set is written'); | 59 | 'picture parameter set is written'); |
59 | ok(h264Stream.tags[2].keyFrame, 'key frame is written'); | 60 | ok(h264Stream.tags[2].keyFrame, 'key frame is written'); |
60 | }); | 61 | }); |
62 | })(window.videojs); | ... | ... |
-
Please register or sign in to post a comment