debug video reader

pull/8/head
xiongyu 2018-09-21 22:25:02 +08:00
parent 7bea02c0fa
commit 6d51a94196
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class VideoReader(object):
self._set_real_position(self._position)
ret, img = self._vcap.read()
if ret:
self._cache.put(pos, img)
self._cache.put(self._position, img)
else:
ret, img = self._vcap.read()
if ret: