Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mod.rs « onvifpay « src « onvif « net - github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 18b4a8a30c59ab75bfc22cb64f4cbe545c78c861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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(),
    )
}