gcanat / video_reader-rs

A library to fastly decode video with ffmpeg and rust
MIT License
27 stars 4 forks source link

`decode` and `decode_gray` should be a single function #1

Open gcanat opened 4 months ago

gcanat commented 4 months ago

decode_gray is just calling rgb2gray function after decoding the video. It could simply be fenced behind a boolean flag. Also, the returned type differ: Array4 vs Array3. Need to see how we can handle this.