gst-plugins-rs/generic
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
..
file Configure crate-type to cdylib/rlib consistently in Cargo.toml 2020-04-24 15:02:12 +03:00
sodium Configure crate-type to cdylib/rlib consistently in Cargo.toml 2020-04-24 15:02:12 +03:00
threadshare threadshare: save upgrade in Pad functions 2020-04-29 16:10:19 +02:00