Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-23Fix GObject type names, GStreamer debug category names and element factory namesSebastian Dröge
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/198
2022-10-21Take advantage of `Into<Option<_>>` argsFrançois Laignel
Commit 24b7cfc8 applied changes related to nullability as declared by gir. One consequence was that some functions signature ended up requiring users to pass `Some(val)` when they could use `val` before. This commit applies changes on `gstreamer-rs` which, will honoring the nullability stil allow users to pass `val` for the few affected functions. This commit also fixes the signature for `Element::request_new_pad` which was updated upstream.
2022-10-18Update for GStreamer API changesSebastian Dröge
2022-10-12ts: better use of `imp` & `elem` args in `Pad{Sink,Src}Handler`sFrançois Laignel
This is a follow-up to commit 7ee4afac. This commit cleans up the `Pad{Sink,Src}Handler` by - Keeping arguments which are strictly necessary. - Passing arguments by value for the trait functions which return a `Future`. The arguments which were previously passed by reference were `clone`d internally and then `clone`d again in most implementations. There are unfortunate differences in trait function signatures between those which return a `Future` and the sync functions. This is due to the requirement for the arguments to be moved to the resulting `Future`, whereas sync functions can rely on references. One particular notable difference is the use of the `imp` in sync functions instead of the `elem` in functions returning a `Future`. Because the `imp` is not guaranteed to implement `Clone`, we can't move it to the resulting `Future`, so the `elem` is used.
2022-10-10Change *Impl trait methods to only take &self and not Self::Type in additionSebastian Dröge
2022-09-05Update for GLib ParamSpec builder API changesSebastian Dröge
2022-08-30Generate plugins documentation using hotdocThibault Saunier
Which will automatically be integrated in gstreamer documentation
2022-08-22plugins: Simplify code using ParamSpecBuilderVivia Nikolaidou
2022-08-17Fix build after glib SignalBuilder::param_types() API changeSebastian Dröge
2022-08-10ts: migrate elements to try_next / handle_itemFrançois Laignel
See previous commit for details. Also switched to panicking for some programming errors.
2022-08-09ts: update elements for new TransitionStatusFrançois Laignel
See previous commit
2022-07-21Update per glib::SignalBuilder changesBilal Elmoussaoui
2022-07-09ts/appsrc: reduce sync primitives in async hot pathFrançois Laignel
2022-06-30Fix/silence a couple new clippy warningsSebastian Dröge
2022-02-28Remove now unnecessary `Send+Sync` impls for element/etc subclassesSebastian Dröge
This is now automatically implemented.
2022-02-21Update to gst::_log_macro_François Laignel
See the details: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/980
2022-01-19Update for event/message/query view API changesSebastian Dröge
2022-01-17Replace `Foo::from_instance(foo)` with `foo.imp()`Sebastian Dröge
2022-01-15Add SPDX-License-Identifier to all file headersSebastian Dröge
2021-12-25ts/executor: replace tokio with smol-like implementationFrançois Laignel
The threadshare executor was based on a modified version of tokio which implemented the throttling strategy in the BasicScheduler. Upstream tokio codebase has significantly diverged from what it was when the throttling strategy was implemented making it hard to follow. This means that we can hardly get updates from the upstream project and when we cherry pick fixes, we can't reflect the state of the project on our fork's version. As a consequence, tools such as cargo-deny can't check for RUSTSEC fixes in our fork. The smol ecosystem makes it quite easy to implement and maintain a custom async executor. This MR imports the smol parts that need modifications to comply with the threadshare model and implements a throttling executor in place of the tokio fork. Networking tokio specific types are replaced with Async wrappers in the spirit of [smol-rs/async-io]. Note however that the Async wrappers needed modifications in order to use the per thread Reactor model. This means that higher level upstream networking crates such as [async-net] can not be used with our Async implementation. Based on the example benchmark with ts-udpsrc, performances seem on par with what we achieved using the tokio fork. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/118 Related to https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/604
2021-11-20Update for glib constructor renamesSebastian Dröge
See https://github.com/gtk-rs/gtk-rs-core/pull/384
2021-10-31Update to Rust edition 2021 and minimum supported Rust version to 1.56Sebastian Dröge
2021-10-23Update for GstObjectImpl API changeSebastian Dröge
2021-10-18Improve usability thanks to opt-opsFrançois Laignel
The crate option-operations simplifies usage when dealing with `Option`s, which is often the case with `ClockTime`.
2021-07-30Fix various needless-borrow clippy warnings and othersSebastian Dröge
2021-06-05generic: migrate to new ClockTime designFrançois Laignel
2021-06-03use gst::glib where applicableFrançois Laignel
2021-04-25Update for Value trait refactoringSebastian Dröge
2021-04-20fix-getters-calls 0.3.0 passFrançois Laignel
2021-04-20fix-getters-def 0.3.0 passFrançois Laignel
2021-04-13post fix-getters manual updatesFrançois Laignel
2021-04-12fix-getters-{def,calls} passFrançois Laignel
2021-03-09Update for the subclassing glib/gstreamer bindings API changesSebastian Dröge
2021-03-07Update for new #[glib::object_subclass] attribute macroSebastian Dröge
2021-02-22Update for changed GLib signals APISebastian Dröge
2021-01-25Update for glib/gstreamer bindings API changesSebastian Dröge
2020-12-20Update for macro renamesSebastian Dröge
2020-12-18Update everything for glib macro renamingsSebastian Dröge
2020-11-23generic: Update to 2018 editionSebastian Dröge
2020-11-19Update for ObjectImpl::get_property() being infallible nowSebastian Dröge
2020-11-15generic: Update for subclassing API changesSebastian Dröge