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

Method __int__

scenedetect/common.py:733–736  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

731 # need to use relevant property instead.
732
733 def __int__(self) -> int:
734 if isinstance(self._time, _FrameNumber):
735 return self._time.value
736 return self.frame_num
737
738 def __float__(self) -> float:
739 return self.seconds

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected