mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 10:49:24 +02:00
chore: update dependencies
This commit is contained in:
parent
2abec924e8
commit
433f9b986f
150 changed files with 1690 additions and 1507 deletions
|
@ -195,7 +195,7 @@ export class WebCodecsDecoder implements ScrcpyVideoDecoder {
|
|||
let data: Uint8Array;
|
||||
if (this._config !== undefined) {
|
||||
data = new Uint8Array(
|
||||
this._config.byteLength + packet.data.byteLength
|
||||
this._config.byteLength + packet.data.byteLength,
|
||||
);
|
||||
data.set(this._config, 0);
|
||||
data.set(packet.data, this._config.byteLength);
|
||||
|
@ -210,7 +210,7 @@ export class WebCodecsDecoder implements ScrcpyVideoDecoder {
|
|||
type: packet.keyframe === false ? "delta" : "key",
|
||||
timestamp: 0,
|
||||
data,
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue