diff --git a/camera.js b/camera.js index 12a04a44..e61f6794 100644 --- a/camera.js +++ b/camera.js @@ -1765,7 +1765,7 @@ s.coSpawnClose = function(e){ } s.ffmpeg = function(e){ e.coProcessor = false - e.isStreamer = (e.type === ('dashcam'||'socket')) + e.isStreamer = (e.type === 'dashcam'|| e.type === 'socket') if(e.details.accelerator === '1' && e.details.hwaccel_vcodec !== 'auto' && e.isStreamer === false){ e.coProcessor = true } diff --git a/web/pages/blocks/monitoredit.ejs b/web/pages/blocks/monitoredit.ejs index 7949c529..11d9520f 100644 --- a/web/pages/blocks/monitoredit.ejs +++ b/web/pages/blocks/monitoredit.ejs @@ -90,20 +90,22 @@ -
- -
-
-
-