mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
The previous commit caused a double dimension swap for rotated cameras: - LiveCameraView was inverting the aspect ratio (1/ratio) → portrait container - MsePlayer was then swapping width/height again internally when isRotatedGrid=true → video got zero/invalid dimensions, nothing visible The MsePlayer already handles the full rotation internally via CSS variables (transform + width/height swap). The container in LiveCameraView should keep the original (landscape) aspect ratio, matching the grid cell behavior in DraggableGridLayout where this works correctly. https://claude.ai/code/session_01CDLHQPGpf8w44jpsG8g8nM |
||
|---|---|---|
| .. | ||
| DraggableGridLayout.tsx | ||
| LiveBirdseyeView.tsx | ||
| LiveCameraView.tsx | ||
| LiveDashboardView.tsx | ||