You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess is that having at least one frame decoded is enough for calculating the so called "video visible size" in the last parameter of WebGL1 texImage2D.
A note: if the page is loaded without errors, the browser has probably cached the first video frame, and the error will not be shown. To reproduce the error, please clean the browser cache first
The text was updated successfully, but these errors were encountered:
Loading a page for the first time which means the video is not being cached at all returns the following error:
WebGL: INVALID_VALUE: tex(Sub)Image2D: video visible size is empty
.My hacky solution for this is adding a check for decoded video frames in
updateTexture()
method:VideoContext/src/utils.js
Lines 75 to 82 in b59c997
Changes below:
My guess is that having at least one frame decoded is enough for calculating the so called "video visible size" in the last parameter of WebGL1
texImage2D
.A note: if the page is loaded without errors, the browser has probably cached the first video frame, and the error will not be shown. To reproduce the error, please clean the browser cache first
The text was updated successfully, but these errors were encountered: