Skip to content

Commit

Permalink
v1.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Lijun-Yu committed Oct 19, 2020
1 parent d24f9a0 commit a627b5c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion avi_r/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ def __del__(self):
self._del()

def _init(self, video_stream_id=0):
self._container = av.open(self.path, metadata_errors='ignore')
self._container = av.open(
self.path, metadata_errors='replace', timeout=60)
self._stream = self._container.streams.video[video_stream_id]
self._frame_gen = self._get_frame_gen()
self.reorder_buffer = []
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.6

* Add timeout for PyAV.

## AVI-R v1.3.5

* More robust extraction of frame size.
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.5',
version='1.3.6',
author='Lijun Yu',
author_email='lijun@lj-y.com',
description='A robust reader for avi videos.',
Expand Down

0 comments on commit a627b5c

Please sign in to comment.