There is duplication across frame handling that could be kept in frames.py
|
class FrameProcessingResult(Enum): |
|
"""Explicit result types for frame processing operations.""" |
|
SKIPPED = "skipped" # Frame was skipped due to adaptive logic |
|
class VideoProcessingResult(Enum): |
|
"""Explicit result to distinguish intentional frame withholding from errors.""" |
|
WITHHELD = "withheld" |