New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing a <movietexture> dynamically causes errors. #1226
Comments
I think this happens because the |
It turns out that shutdown actually should not cause an |
Thanks. |
This error still exists. Line 449 in 23bb157
tex._video=null Since the MovieTexture is removed, why is updateMovie() still being executed? It seems that in opengl the texture is not destroyed. |
I could reproduce on Linux, Chrome 103.0.5060.53 . I had only tested on Windows, latest Chrome where it worked. What platform did you use ? |
Windows10, Chrome 102.0.5005.115, Microsoft Edge 103.0.1264.71, Firefox 103.0 |
setInterval() is called twice. line 470 and line 478. Lines 465 to 479 in 835ef69
#1228 |
And...Wouldn't it be better for the second parameter of setInterval() to match the frame rate of the video? |
Thx, a copy and paste mistake.
…---on the phone---
On Thu, Jul 28, 2022, 3:50 AM microaaron ***@***.***> wrote:
setInterval() is called twice.
https://github.com/x3dom/x3dom/blob/835ef694bd3c150d7d819029321525f928dc6da9/src/Texture.js#L465-L479
##1228 <#1228>
—
Reply to this email directly, view it on GitHub
<#1226 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPCT227UH2N7EJQG74N3TTVWI3VZANCNFSM54O7FNMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Firefox reported two warnings: |
Ideally, yes. https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate is only relative to the native file rate. Maybe there is a way to determine the file rate. |
Removing a <movietexture> dynamically causes errors.
Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGL2RenderingContext': Overload resolution failed.
at updateMovie (x3dom.debug.js:21188:16)
x3dom/src/Texture.js
Line 449 in 23bb157
The text was updated successfully, but these errors were encountered: