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

mod.rs « onvifmetadatapay « src « onvif « net - gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5f87ba1702605853ff8ded3d67a9e5e95b50761d (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 OnvifMetadataPay(ObjectSubclass<imp::OnvifMetadataPay>) @extends gst_rtp::RTPBasePayload, gst::Element, gst::Object;
}

pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
    gst::Element::register(
        Some(plugin),
        "rtponvifmetadatapay",
        gst::Rank::PRIMARY,
        OnvifMetadataPay::static_type(),
    )
}