Which mode the filter should use for enforcing minimum scene length.
| 107 | """Filters fast-cuts to enforce minimum scene length.""" |
| 108 | |
| 109 | class Mode(Enum): |
| 110 | """Which mode the filter should use for enforcing minimum scene length.""" |
| 111 | |
| 112 | MERGE = 0 |
| 113 | """Merge consecutive cuts shorter than filter length.""" |
| 114 | SUPPRESS = 1 |
| 115 | """Suppress consecutive cuts until the filter length has passed.""" |
| 116 | |
| 117 | def __init__(self, mode: Mode, length: TimecodeLike): |
| 118 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected