SW decoder fallback fails
This seems to be due to the wrong texture format being used when allocating them in the interop_sw.c module.
Logs with BBB :
WebGL: INVALID_VALUE: texImage2D: invalid internalformat
experimental.js:9 WebGL: INVALID_VALUE: texImage2D: invalid internalformat
experimental.js:9 WebGL: INVALID_VALUE: texImage2D: invalid internalformat
experimental.js:9 Aborted(Assertion failed: !"GL_INVALID_VALUE", at: /home/b1ue/cur/vlc.js/vlc/modules/video_output/opengl/vout_helper.c,150,vout_display_opengl_New)
experimental.js:9 Uncaught (in promise) RuntimeError: Aborted(Assertion failed: !"GL_INVALID_VALUE", at: /home/b1ue/cur/vlc.js/vlc/modules/video_output/opengl/vout_helper.c,150,vout_display_opengl_New)
at abort (experimental.js:9:276349)
at ___assert_fail (experimental.js:9:298793)
at imports.<computed> (experimental.js:9:415376)
at Open.50 (experimental.wasm:0x261c43)
at vout_display_New (experimental.wasm:0x13679f1)
at Thread.3 (experimental.wasm:0x1374159)
at dynCall_ii (experimental.wasm:0x142f0a2)
at ret.<computed> (experimental.js:9:416050)
at Object.doRewind (experimental.js:9:417474)
at experimental.js:9:418422