From b257e1d1105f301708b5259655821f264ed054e4 Mon Sep 17 00:00:00 2001 From: "junjie.jiang" Date: Thu, 16 Mar 2023 20:29:12 +0800 Subject: [PATCH] fix bug Signed-off-by: junjie.jiang --- video_decoder.py | 3 +++ 1 file changed, 3 insertions(+) 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: