mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 21:11:00 +00:00
ndi: Remove unnecessary explicit Send+Sync
impls
These are automatically available now.
This commit is contained in:
parent
dbd5a44b90
commit
862c2af1d9
5 changed files with 0 additions and 18 deletions
|
@ -8,16 +8,10 @@ glib::wrapper! {
|
||||||
pub struct DeviceProvider(ObjectSubclass<imp::DeviceProvider>) @extends gst::DeviceProvider, gst::Object;
|
pub struct DeviceProvider(ObjectSubclass<imp::DeviceProvider>) @extends gst::DeviceProvider, gst::Object;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for DeviceProvider {}
|
|
||||||
unsafe impl Sync for DeviceProvider {}
|
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
pub struct Device(ObjectSubclass<imp::Device>) @extends gst::Device, gst::Object;
|
pub struct Device(ObjectSubclass<imp::Device>) @extends gst::Device, gst::Object;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for Device {}
|
|
||||||
unsafe impl Sync for Device {}
|
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::DeviceProvider::register(
|
gst::DeviceProvider::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
|
|
|
@ -8,9 +8,6 @@ glib::wrapper! {
|
||||||
pub struct NdiSink(ObjectSubclass<imp::NdiSink>) @extends gst_base::BaseSink, gst::Element, gst::Object;
|
pub struct NdiSink(ObjectSubclass<imp::NdiSink>) @extends gst_base::BaseSink, gst::Element, gst::Object;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for NdiSink {}
|
|
||||||
unsafe impl Sync for NdiSink {}
|
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
|
|
|
@ -8,9 +8,6 @@ glib::wrapper! {
|
||||||
pub struct NdiSinkCombiner(ObjectSubclass<imp::NdiSinkCombiner>) @extends gst_base::Aggregator, gst::Element, gst::Object;
|
pub struct NdiSinkCombiner(ObjectSubclass<imp::NdiSinkCombiner>) @extends gst_base::Aggregator, gst::Element, gst::Object;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for NdiSinkCombiner {}
|
|
||||||
unsafe impl Sync for NdiSinkCombiner {}
|
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
|
|
|
@ -9,9 +9,6 @@ glib::wrapper! {
|
||||||
pub struct NdiSrc(ObjectSubclass<imp::NdiSrc>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
|
pub struct NdiSrc(ObjectSubclass<imp::NdiSrc>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for NdiSrc {}
|
|
||||||
unsafe impl Sync for NdiSrc {}
|
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
|
|
|
@ -8,9 +8,6 @@ glib::wrapper! {
|
||||||
pub struct NdiSrcDemux(ObjectSubclass<imp::NdiSrcDemux>) @extends gst::Element, gst::Object;
|
pub struct NdiSrcDemux(ObjectSubclass<imp::NdiSrcDemux>) @extends gst::Element, gst::Object;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for NdiSrcDemux {}
|
|
||||||
unsafe impl Sync for NdiSrcDemux {}
|
|
||||||
|
|
||||||
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
gst::Element::register(
|
gst::Element::register(
|
||||||
Some(plugin),
|
Some(plugin),
|
||||||
|
|
Loading…
Reference in a new issue