Commit graph

32 commits

Author SHA1 Message Date
Sebastian Dröge 501934a29b Allow unused imports in autogenerated code
These should not be there to begin with but they're hard to prevent.
2020-10-17 13:09:45 +03:00
Guillaume Gomez 9e30687d8e Fix glib reexports 2019-11-11 11:34:09 +01:00
Sebastian Dröge 2d2459ed52 Export traits from the crate level and ensure that all traits are in the preludes 2019-10-17 13:30:35 +03:00
Sebastian Dröge 52509b4b95 Remove subclassing feature and make it the default 2019-09-09 11:51:07 +03:00
Sebastian Dröge 85d01e853e baseparse/transform/aggregator: Add constants for custom flow returns 2019-08-14 20:26:22 +03:00
Sebastian Dröge b87ffa17bb Run rustfmt also over all the generated code 2019-06-18 13:12:00 +03:00
Guillaume Desmottes c774bd8114 base: add bindings for GstBaseParse
Fix #157
2019-06-01 13:04:12 +05:30
Sebastian Dröge e7898c1b24 Update manual code 2019-04-15 19:19:19 +03:00
Sebastian Dröge 86a31b4139 Silence/fix various clippy warnings 2019-03-07 14:05:35 +02:00
Sebastian Dröge 8c39da4e5b Update to Rust 1.31 linter-specific attributes 2019-03-04 15:16:01 +02:00
Sebastian Dröge bfcdec782e Switch to stable rustfmt and add skip annotations for the generated code to the lib.rs 2019-01-16 17:10:01 +02:00
Sebastian Dröge 43ec33a1db Remove some code that is nowadays generated by the glib_wrapper! macro 2019-01-16 15:23:53 +02:00
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 8eb4b879fc Port Aggregator subclassing 2018-11-21 17:03:59 +02:00
Sebastian Dröge 2bc6efa893 Port AggregatorPad subclassing 2018-11-21 17:03:59 +02:00
Sebastian Dröge 411319198a Port BaseTransform subclassing 2018-11-21 17:03:59 +02:00
Sebastian Dröge 2f90961ef1 Port BaseSink subclassing 2018-11-21 16:14:06 +02:00
Sebastian Dröge 771defa377 Port BaseSrc subclassing 2018-11-21 16:14:06 +02:00
Sebastian Dröge 9e90a1264f Add getter for the aggregator pad segment 2018-08-01 19:24:54 +03:00
Sebastian Dröge c7fa48984e Aggregator is only available from gstreamer-base since 1.14 2018-07-31 00:05:40 +03:00
Sebastian Dröge 5df360a983 Add bindings for aggregator and aggregagor pad 2018-07-30 12:55:41 +03:00
Sebastian Dröge 694bcaa697 Fix all clippy warnings
Or silence the ones we don't care about.
2018-07-20 10:28:20 +03:00
Sebastian Dröge e0972ae1e5 Get rid of manual usage of callback_guard! 2018-06-24 14:52:50 +03:00
Sebastian Dröge 492c3d656c Run everything through rustfmt again 2018-04-01 11:57:58 +03:00
Sebastian Dröge a3b294f0f2 Add back callback guards 2018-03-02 21:34:29 +02:00
Sebastian Dröge f1426c82ba Remove callback guards
Since Rust 1.24 it is safe to let panics go to the FFI boundary
2018-02-17 19:58:41 +02:00
Sebastian Dröge 08dbde4c0e Add getters for the BaseSrc/Sink/Transform configured segment 2018-02-12 10:44:44 +02:00
Sebastian Dröge 917255de89 Add typefind helper bindings 2017-12-18 10:05:42 +02:00
Sebastian Dröge 2e2dd95365 Re-export gst_base::FlowCombiner again from the module 2017-10-11 13:52:49 +03:00
Sebastian Dröge b4cb81cd56 Run everything through latest rustfmt-nightly 2017-09-10 15:21:26 +03:00
Sebastian Dröge 357d98bf3a Remove unused extern crate libc from gstreamer-base 2017-09-10 13:53:03 +03: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