|
|
@@ -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
|