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

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felix committed Aug 26, 2019
1 parent a76a460 commit 71cb36f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gnes/preprocessor/io_utils/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ def scale_video(input_filename: str = 'pipe:',
'vcodec': vcodec,
'pix_fmt': pix_fmt,
'crf': crf,
's': scale,
'framerate': frame_rate
}

if scale:
out_kwargs['s'] = scale

if capture_stdout:
out_kwargs['format'] = format
# an empty moov means it doesn't need to seek and thus works with a pipe.
Expand Down

0 comments on commit 71cb36f

Please sign in to comment.