mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 09:02:15 +03:00
UI tweaks and fixes (#22448)
* fix double scrollbar in debug replay * always hide ffmpeg cpu warnings for replay cameras * add slovenian * fix motion previews on safari and ios match the logic used in ScrubbablePreview for manually stepping currentTime at the correct rate * prevent motion recalibration when opening motion tuner
This commit is contained in:
@@ -106,13 +106,11 @@ export default function useStats(stats: FrigateStats | undefined) {
|
||||
|
||||
const cameraName = config?.cameras?.[name]?.friendly_name ?? name;
|
||||
|
||||
// Skip ffmpeg warnings for replay cameras when debug replay is active
|
||||
// Skip ffmpeg warnings for replay cameras
|
||||
if (
|
||||
!isNaN(ffmpegAvg) &&
|
||||
ffmpegAvg >= CameraFfmpegThreshold.error &&
|
||||
!(
|
||||
debugReplayStatus?.active && debugReplayStatus?.replay_camera === name
|
||||
)
|
||||
!isReplayCamera(name)
|
||||
) {
|
||||
problems.push({
|
||||
text: t("stats.ffmpegHighCpuUsage", {
|
||||
|
||||
Reference in New Issue
Block a user