forked from mirrors/gstreamer-rs
rtp: Add gst::Element
as parent class for RTPHeaderExtension
This commit is contained in:
parent
60cd874db7
commit
7ccab6cc8b
2 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@ generate = [
|
||||||
|
|
||||||
manual = [
|
manual = [
|
||||||
"Gst.Caps",
|
"Gst.Caps",
|
||||||
|
"Gst.Element",
|
||||||
"Gst.ElementFactory",
|
"Gst.ElementFactory",
|
||||||
"Gst.Structure",
|
"Gst.Structure",
|
||||||
]
|
]
|
||||||
|
|
|
@ -10,7 +10,7 @@ use glib::translate::*;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
#[doc(alias = "GstRTPHeaderExtension")]
|
#[doc(alias = "GstRTPHeaderExtension")]
|
||||||
pub struct RTPHeaderExtension(Object<ffi::GstRTPHeaderExtension, ffi::GstRTPHeaderExtensionClass>);
|
pub struct RTPHeaderExtension(Object<ffi::GstRTPHeaderExtension, ffi::GstRTPHeaderExtensionClass>) @extends gst::Element;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
type_ => || ffi::gst_rtp_header_extension_get_type(),
|
type_ => || ffi::gst_rtp_header_extension_get_type(),
|
||||||
|
|
Loading…
Reference in a new issue