diff --git a/video_decoder.py b/video_decoder.py index b8c5a7d..3820c40 100644 --- a/video_decoder.py +++ b/video_decoder.py @@ -76,6 +76,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: