Przeglądaj źródła

Typo in function name

Dominic Szablewski 12 lat temu
rodzic
commit
774d78e274
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      jsmpg.js

+ 2 - 2
jsmpg.js Wyświetl plik

@@ -541,8 +541,8 @@ jsmpeg.prototype.decodePicture = function(skipOutput) {
541 541
 	
542 542
 	
543 543
 	if( skipOutput != DECODE_SKIP_OUTPUT ) {
544
-		this.YCrCbToRGB();
545
-		this.canvasContext.putImageData(this.currentRGB, 0, 0);
544
+		this.YCbCrToRGBA();
545
+		this.canvasContext.putImageData(this.currentRGBA, 0, 0);
546 546
 	}
547 547
 	
548 548
 	// If this is a reference picutre then rotate the prediction pointers