@stream-io/video-filters-web 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/webglHelper.ts +3 -1
package/dist/index.es.js
CHANGED
|
@@ -84,6 +84,8 @@ async function readPixelsAsync(gl, x, y, width, height, format, type, dest) {
|
|
|
84
84
|
async function getBufferSubDataAsync(gl, target, buffer, srcByteOffset, dstBuffer, dstOffset, length) {
|
|
85
85
|
const sync = gl.fenceSync(gl.SYNC_GPU_COMMANDS_COMPLETE, 0);
|
|
86
86
|
gl.flush();
|
|
87
|
+
if (!sync)
|
|
88
|
+
return;
|
|
87
89
|
const res = await clientWaitAsync(gl, sync);
|
|
88
90
|
gl.deleteSync(sync);
|
|
89
91
|
if (res !== gl.WAIT_FAILED) {
|
|
@@ -1536,7 +1538,7 @@ const createTFLiteSIMDModule = (__Module) => {
|
|
|
1536
1538
|
return __Module.ready;
|
|
1537
1539
|
};
|
|
1538
1540
|
|
|
1539
|
-
const version = "0.1.
|
|
1541
|
+
const version = "0.1.5";
|
|
1540
1542
|
const packageName = "@stream-io/video-filters-web";
|
|
1541
1543
|
|
|
1542
1544
|
// @ts-expect-error - module is not declared
|