mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-25 01:20:35 +00:00
18 lines
396 B
Rust
18 lines
396 B
Rust
|
use gst::glib;
|
||
|
use gst::prelude::*;
|
||
|
|
||
|
mod imp;
|
||
|
|
||
|
glib::wrapper! {
|
||
|
pub struct OnvifPay(ObjectSubclass<imp::OnvifPay>) @extends gst_rtp::RTPBasePayload, gst::Element, gst::Object;
|
||
|
}
|
||
|
|
||
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||
|
gst::Element::register(
|
||
|
Some(plugin),
|
||
|
"rtponvifpay",
|
||
|
gst::Rank::Primary,
|
||
|
OnvifPay::static_type(),
|
||
|
)
|
||
|
}
|