URI:
       Merge pull request #9 from andrigamerita/main - webgbcam - [fork] gameboy webcam
  HTML git clone git://src.adamsgaard.dk/webgbcam
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 24e016f094530adeb1d9a439c8b8a253ebcb33ef
   DIR parent e07689ff76c81f4d96729c3662bcc1dc0c43fda7
  HTML Author: Erin Pinheiro <Lana-chan@users.noreply.github.com>
       Date:   Thu, 18 Mar 2021 23:37:53 -0300
       
       Merge pull request #9 from andrigamerita/main
       
       Added fix for a bug in Chromium
       Diffstat:
         M app.js                              |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/app.js b/app.js
       @@ -704,6 +704,9 @@ function initCameraStream() {
        }
        
        function initCameraDrawing() {
       +        // if cameraStream has vertical or horizontal resolution of 0 then it's not initialized, we retry until the browser decides to properly work
       +        if (cameraStream.videoHeight == 0) setTimeout(restartCamera, 500);
       +
                const track = window.stream.getVideoTracks()[0];
                let settings = track.getSettings();
                let str = JSON.stringify(settings, null, 4);
       @@ -758,4 +761,4 @@ function drawFrame() {
                }
        
                Filters.filterImage(Filters.paletteSwap, appView, [palettes[currentPalette]])
       -}
       -\ No newline at end of file
       +}