mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-10 03:05:28 +00:00
18 lines
380 B
Rust
18 lines
380 B
Rust
|
use gst::glib;
|
||
|
use gst::prelude::*;
|
||
|
|
||
|
mod imp;
|
||
|
|
||
|
glib::wrapper! {
|
||
|
pub struct TestSink(ObjectSubclass<imp::TestSink>) @extends gst::Element, gst::Object;
|
||
|
}
|
||
|
|
||
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||
|
gst::Element::register(
|
||
|
Some(plugin),
|
||
|
"ts-standalone-test-sink",
|
||
|
gst::Rank::None,
|
||
|
TestSink::static_type(),
|
||
|
)
|
||
|
}
|