Skip to content

Use FnMut instead of Fn in new_sample()

Jerry Lin requested to merge jerry73204/gstreamer-rs:jerry73204 into master

This change allows new_sample() to accept closures with side-effects. It would give great convenience for multi-threading code. For example, one would pass a mutable channel receiver into the closure.

Merge request reports

Loading