Commit 6d51a941 authored by xiongyu's avatar xiongyu
Browse files

debug video reader

parent 7bea02c0
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment