Skip to content

Commit

Permalink
Fix: incorrect placement of brackets (event.php)
Browse files Browse the repository at this point in the history
Because of this it is not possible to switch to the "Codec = MGPEG" mode
The error appeared here: 2229e88
  • Loading branch information
IgorA100 authored Oct 8, 2024
1 parent a0a95d8 commit 4d38ecd
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 4d38ecd

Please sign in to comment.