In the interest of not making a backwards-incompatible change to the api -- here's a documentation fix for flush.
If a version bump is on the table, I would probably propose removing Delay from the return value and either returning Ok(output.samples()) (where Ok(0) is the finished case), or just Ok(()) and let the user check the output buffer.
In the interest of not making a backwards-incompatible change to the api -- here's a documentation fix for
flush
.If a version bump is on the table, I would probably propose removing
Delay
from the return value and either returningOk(output.samples())
(whereOk(0)
is the finished case), or justOk(())
and let the user check the output buffer.Addresses https://github.com/meh/rust-ffmpeg/issues/162