Sfoglia il codice sorgente

Merge pull request #94 from AnimationMentor/fix-seekToFrame

Dominic Szablewski 9 anni fa
parent
commit
186666dd9c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      jsmpg.js

+ 1 - 0
jsmpg.js Vedi File

@@ -23,6 +23,7 @@ var jsmpeg = window.jsmpeg = function(url, opts) {
23 23
 	this.blockData = new Int32Array(64);
24 24
 	this.zeroBlockData = new Int32Array(64);
25 25
 	this.fillArray(this.zeroBlockData, 0);
26
+	this.intraFrames = [];
26 27
 
27 28
 	// Use WebGL for YCbCrToRGBA conversion if possible (much faster)
28 29
 	if (!opts.forceCanvas2D && this.initWebGL()) {