mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Fix duration for long events and playback rate for top of the hour
This commit is contained in:
parent
452e3decda
commit
4e2845edc1
@ -64,9 +64,6 @@ export default function Recording({ camera, date, hour, seconds }) {
|
|||||||
this.player.playlist.currentItem(selectedHour);
|
this.player.playlist.currentItem(selectedHour);
|
||||||
if (seconds !== undefined) {
|
if (seconds !== undefined) {
|
||||||
this.player.currentTime(seconds);
|
this.player.currentTime(seconds);
|
||||||
// Force playback rate to be correct
|
|
||||||
const playbackRate = this.player.playbackRate();
|
|
||||||
this.player.defaultPlaybackRate(playbackRate);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Force playback rate to be correct
|
// Force playback rate to be correct
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user