MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / max_behind

Method max_behind

scenedetect/detector.py:146–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144
145 @property
146 def max_behind(self) -> int:
147 if self._mode == FlashFilter.Mode.SUPPRESS:
148 return 0
149 if self._filter_secs is not None:
150 # Estimate using 240fps so the event buffer is large enough for any reasonable input.
151 return math.ceil(self._filter_secs * 240.0)
152 return self._filter_length
153
154 @property
155 def _is_disabled(self) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected