gst-plugins-rs/net/ndi/src/ndisinkcombiner/mod.rs
2023-11-02 14:10:59 +02:00

18 lines
438 B
Rust

// SPDX-License-Identifier: MPL-2.0
use glib::prelude::*;
mod imp;
glib::wrapper! {
pub struct NdiSinkCombiner(ObjectSubclass<imp::NdiSinkCombiner>) @extends gst_base::Aggregator, gst::Element, gst::Object;
}
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"ndisinkcombiner",
gst::Rank::NONE,
NdiSinkCombiner::static_type(),
)
}