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 4e3882f429
commit 4782066345
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -10,7 +10,7 @@ use glib::translate::*;
glib::wrapper! {
#[doc(alias = "GstRTPHeaderExtension")]
pub struct RTPHeaderExtension(Object<ffi::GstRTPHeaderExtension, ffi::GstRTPHeaderExtensionClass>);
pub struct RTPHeaderExtension(Object<ffi::GstRTPHeaderExtension, ffi::GstRTPHeaderExtensionClass>) @extends gst::Element;
match fn {
type_ => || ffi::gst_rtp_header_extension_get_type(),