gst-plugins-rs/generic/threadshare
François Laignel 8e38d861b4 threadshare: save upgrade in Pad functions
When initializing Pad functions in `Pad{Src,Sink}`, we downgrade the
`Pad{Src,Sink}` and upgrade it when necessary. This was implemented
to avoid reference cycles:

`gst::Pad` -> pad function -> `Pad{Src,Sink}` -> `gst::Pad`.

Since `Pad{Src,Sink}` reset the pad functions when dropping, there is
no cycles, so we can use an `Arc<Pad{Src,Sink}>` in the pad functions,
thus saving an `upgrade`.
2020-04-29 16:10:19 +02:00
..
examples threadshare: align some properties with their C counterparts 2020-04-27 11:22:26 +02:00
src threadshare: save upgrade in Pad functions 2020-04-29 16:10:19 +02:00
tests threadshare: build Pad{Src,Sink} with handlers 2020-04-29 16:08:16 +02:00
build.rs Fix various new clippy warnings with clippy 1.43 2020-04-24 13:55:01 +03:00
Cargo.toml fix LGPL-2.1+ license in Cargo.toml 2020-04-16 13:07:21 +02:00