mirror of
https://github.com/open-mmlab/mmcv.git
synced 2025-06-03 21:54:52 +08:00
debug video reader
This commit is contained in:
parent
7bea02c0fa
commit
6d51a94196
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user