Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
phoboslab committed Jun 2, 2015
1 parent 88fa157 commit 9b6dab7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jsmpg.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ var jsmpeg = window.jsmpeg = function( url, opts ) {

jsmpeg.prototype.waitForIntraFrame = true;
jsmpeg.prototype.socketBufferSize = 512 * 1024; // 512kb each
jsmpeg.prototype.onlostconnection = null;

jsmpeg.prototype.initSocketClient = function( client ) {
this.buffer = new BitReader(new ArrayBuffer(this.socketBufferSize));
Expand Down Expand Up @@ -324,7 +323,7 @@ jsmpeg.prototype.loadCallback = function(file) {
this.firstSequenceHeader = this.buffer.index;
this.decodeSequenceHeader();

// Calculate the duration. This only works if the video is seekable and we have a frame count.
// Calculate the duration. This only works if the video is seekable and we have a frame count
this.duration = this.frameCount / this.pictureRate;

// Load the first frame
Expand Down

0 comments on commit 9b6dab7

Please sign in to comment.