Skip to content

Commit

Permalink
fallback to client decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 8, 2024
1 parent 48b576f commit e376739
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions html5/js/DecodeWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,11 @@ function decode_draw_packet(packet, start) {
release();
},
function (error) {
decode_error(
`failed to create image bitmap from ${coding} ${blob}, data=${data}: ${error}`
);
console.info(`decode worker failed to create ${coding} image bitmap: ${error}`);
console.info(`using ${blob} + ${bitmap_options} from data=${data}`);
// maybe the regular paint function will succeed?
console.info("sending it back for decoding directly in the client");
send_back([]);
release();
}
);
Expand Down

0 comments on commit e376739

Please sign in to comment.