mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
Fix motion scrubbing lockout
This commit is contained in:
parent
8be2157c28
commit
1b2f4ed3e4
@ -453,7 +453,7 @@ export class DynamicVideoController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (time > this.preview.end) {
|
if (time > this.preview.end) {
|
||||||
if (this.clipChangeLockout) {
|
if (this.clipChangeLockout && time - this.preview.end < 30) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -470,7 +470,7 @@ export class DynamicVideoController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (time < this.preview.start) {
|
if (time < this.preview.start) {
|
||||||
if (this.clipChangeLockout) {
|
if (this.clipChangeLockout && this.preview.start - time < 30) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user