logo
Browse Source

fix bug

main
junjie.jiang 2 years ago
parent
commit
46561508a2
  1. 3
      video_decoder.py

3
video_decoder.py

@ -46,6 +46,9 @@ class VideoDecoder(PyOperator):
yield frame yield frame
count += 1 count += 1
if cur_index < len(indexs):
yield frame
def _filter(self, frames): def _filter(self, frames):
for f in frames: for f in frames:
if self._end_time_ms and f.timestamp > self._end_time_ms: if self._end_time_ms and f.timestamp > self._end_time_ms:

Loading…
Cancel
Save