Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
felix committed Aug 23, 2019
1 parent 9d45567 commit 02f70a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnes/preprocessor/io_utils/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def capture_frames(filename: str = 'pipe:',
out, err = stream.run(
input=video_data, capture_stdout=True, capture_stderr=True)

# video_width, video_height = extract_frame_size(err.decode())
if not scale:
width, height = extract_frame_size(err.decode())

depth = 3
if pix_fmt == 'rgba':
Expand Down

0 comments on commit 02f70a0

Please sign in to comment.