diff --git a/video_decoder.py b/video_decoder.py index 2bcc35f..ec6dfb3 100644 --- a/video_decoder.py +++ b/video_decoder.py @@ -46,6 +46,9 @@ class VideoDecoder(PyOperator): yield frame count += 1 + if cur_index < len(indexs): + yield frame + def _filter(self, frames): for f in frames: if self._end_time_ms and f.timestamp > self._end_time_ms: