From 4d38ecd06e23033bd4de124a0b53148a6fee606b Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 8 Oct 2024 19:49:25 +0300 Subject: [PATCH] Fix: incorrect placement of brackets (event.php) Because of this it is not possible to switch to the "Codec = MGPEG" mode The error appeared here: https://github.com/ZoneMinder/zoneminder/commit/2229e880b187525110a17501c3697d30216b6c65 --- web/skins/classic/views/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/event.php b/web/skins/classic/views/event.php index a5aa5c3af8..e327c1aa3c 100644 --- a/web/skins/classic/views/event.php +++ b/web/skins/classic/views/event.php @@ -151,7 +151,7 @@ } $video_tag = ($codec == 'MP4') || - ((false !== strpos($Event->DefaultVideo(), 'h264')) || (false !== strpos($Event->DefaultVideo(), 'av1')) && ($codec === 'auto')); + ((false !== strpos($Event->DefaultVideo(), 'h264') || false !== strpos($Event->DefaultVideo(), 'av1')) && ($codec === 'auto')); // videojs zoomrotate only when direct recording $Zoom = 1;