Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
6d51a941
Commit
6d51a941
authored
Sep 21, 2018
by
xiongyu
Browse files
debug video reader
parent
7bea02c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmcv/video/io.py
mmcv/video/io.py
+1
-1
No files found.
mmcv/video/io.py
View file @
6d51a941
...
@@ -146,7 +146,7 @@ class VideoReader(object):
...
@@ -146,7 +146,7 @@ class VideoReader(object):
self
.
_set_real_position
(
self
.
_position
)
self
.
_set_real_position
(
self
.
_position
)
ret
,
img
=
self
.
_vcap
.
read
()
ret
,
img
=
self
.
_vcap
.
read
()
if
ret
:
if
ret
:
self
.
_cache
.
put
(
pos
,
img
)
self
.
_cache
.
put
(
self
.
_position
,
img
)
else
:
else
:
ret
,
img
=
self
.
_vcap
.
read
()
ret
,
img
=
self
.
_vcap
.
read
()
if
ret
:
if
ret
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment