rtp: Add gst::Element as parent class for RTPHeaderExtension

This commit is contained in:
Sebastian Dröge 2022-01-27 14:33:21 +02:00
parent 60cd874db7
commit 7ccab6cc8b
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ generate = [
manual = [ manual = [
"Gst.Caps", "Gst.Caps",
"Gst.Element",
"Gst.ElementFactory", "Gst.ElementFactory",
"Gst.Structure", "Gst.Structure",
] ]

View file

@ -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(),