Commit graph

5 commits

Author SHA1 Message Date
Sebastian Dröge
9665a89940 adapter: Add a UniqueAdapter wrapper
This implements Send/Sync and for allowing this safely it provides no
reference counting and requires a mutable reference for all mutable
operations.

It also provides safe access to the Adapter::map() function as without
reference counting we can ensure that nothing else is invalidating the
returned memory while it's still being accessed.
2019-01-03 11:24:52 +02:00
Sebastian Dröge
2cefd9aea6 Re-run everything through rustfmt 2018-04-25 11:13:14 +03:00
Sebastian Dröge
492c3d656c Run everything through rustfmt again 2018-04-01 11:57:58 +03:00
Sebastian Dröge
2f7ee30aa1 Implement std::io::Read on Adapter
Patch based on the one from Thibault Saunier for gst-plugin-rs's Adapter
2017-11-06 14:53:34 +02:00
Sebastian Dröge
160fd103c0 Add initial bindings for GStreamer base library
https://github.com/sdroege/gstreamer-rs/issues/7
2017-09-10 00:36:47 +03:00