-
Notifications
You must be signed in to change notification settings - Fork 158
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
Warning: "WebGL: INVALID_VALUE: texImage2D: no video" #60
Comments
Hi @gossi thanks for raising this! This has been an issue for ages. I've published a fix in v0.51.2. The problem was elements being passed into that function which weren't fully loaded and ready to display. I've added a guard for the elements readyState at the top of the function which should hopefully mitigate this. Let me know if you still see the warning during the parts of your VideoContext instance which are black. |
looks fine now :) |
Hi, this may still be an issue in certain circumstances (unless I'm doing it wrong) Connecting audio elements to the canvas works, but it tries to attach a texture, and you get this warning again. I can't figure out how to check for this. Is there a known fix? |
It doesn't sound like you're doing anything wrong. Do you see the issue with a simple graph like this?
|
Please check a workaround in #216 |
I do get this warning fairly often, populating my console:
WebGL: INVALID_VALUE: texImage2D: no video
I tracked it down to the function:
VideoContext/src/utils.js
Lines 63 to 67 in 5259e47
Background: I do have parts of my videocontext, which are black (nothing to show at that time). I also see this, when the video is loading.
The text was updated successfully, but these errors were encountered: