Skip to content

Commit

Permalink
Merge pull request #4171 from IgorA100/patch-438287
Browse files Browse the repository at this point in the history
Fix: incorrect placement of brackets (event.php)
  • Loading branch information
connortechnology authored Oct 10, 2024
2 parents 8e2bbd5 + 4d38ecd commit f1a72c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/skins/classic/views/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f1a72c9

Please sign in to comment.