From 9b6dab7ce088f026a06daf9d81b42cfe8e3a4fba Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Tue, 2 Jun 2015 13:20:54 +0200 Subject: [PATCH] Cosmetics --- jsmpg.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jsmpg.js b/jsmpg.js index 16c585a6..b1b21692 100755 --- a/jsmpg.js +++ b/jsmpg.js @@ -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)); @@ -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