Skip to content

Commit

Permalink
v1.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Lijun-Yu committed Oct 19, 2020
1 parent 5e4054b commit d24f9a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions avi_r/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(self, video_path: str, parent_dir: str = '',
self._init()
self.num_frames = self._stream.duration
self.frame_rate = float(self._stream.average_rate)
self.height = self._stream.codec_context.format.height
self.width = self._stream.codec_context.format.width
self.height = self._stream.codec_context.height
self.width = self._stream.codec_context.width

# Deprecated attributes
self.length = self.num_frames
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.5

* More robust extraction of frame size.

## AVI-R v1.3.4

* Ignore errors in metadata decoding.
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.4',
version='1.3.5',
author='Lijun Yu',
author_email='lijun@lj-y.com',
description='A robust reader for avi videos.',
Expand Down

0 comments on commit d24f9a0

Please sign in to comment.