mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
Update web/src/components/player/JSMpegPlayer.tsx
This commit is contained in:
parent
79e3361793
commit
1a0fd50081
@ -37,7 +37,6 @@ export default function JSMpegPlayer({
|
||||
const scaledHeight = useMemo(() => {
|
||||
const scaledHeight = Math.floor(availableWidth / aspectRatio);
|
||||
const finalHeight = Math.min(scaledHeight, height);
|
||||
console.log(`${containerWidth} / ${aspectRatio} -< ${containerHeight}`);
|
||||
|
||||
if (containerHeight < finalHeight) {
|
||||
return containerHeight;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user