mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-28 23:06:13 +02:00
Quick fix (#12153)
* Use list for zones to keep chronological order * Replace when changing playbackRate
This commit is contained in:
@@ -202,7 +202,7 @@ export default function HlsVideoPlayer({
|
||||
videoRef.current.currentTime = Math.max(0, currentTime + diff);
|
||||
}}
|
||||
onSetPlaybackRate={(rate) => {
|
||||
setPlaybackRate(rate);
|
||||
setPlaybackRate(rate, true);
|
||||
|
||||
if (videoRef.current) {
|
||||
videoRef.current.playbackRate = rate;
|
||||
|
||||
Reference in New Issue
Block a user