debug video reader

This commit is contained in:
xiongyu 2018-09-21 22:25:02 +08:00
parent 7bea02c0fa
commit 6d51a94196

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: