Skip to content

Commit

Permalink
v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Lijun-Yu committed Sep 2, 2020
1 parent 091d3a2 commit a73629a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion avi_r/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def _get_frame_gen(self, start_frame_id=0, retry=5, retry_step=120):
frame = next(frame_gen)
break
except:
seek_frame_id -= retry_step
seek_frame_id = max(0, seek_frame_id - retry_step)
else:
seek_frame_id = 0
self._logger.warn(
Expand Down
4 changes: 4 additions & 0 deletions docs/version.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Version History

## AVI-R v1.3.3

* Fix seek retry.

## AVI-R v1.3.2

* More robust seek.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name='avi-r',
version='1.3.2',
version='1.3.3',
author='Lijun Yu',
author_email='lijun@lj-y.com',
description='A robust reader for avi videos.',
Expand Down

0 comments on commit a73629a

Please sign in to comment.