rtp: Add gst::Object as parent class to the various types

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1402>
This commit is contained in:
Sebastian Dröge 2024-02-16 19:49:16 +02:00
parent 9adddc29af
commit 62973fc83c
4 changed files with 4 additions and 3 deletions

View file

@ -32,6 +32,7 @@ manual = [
"Gst.Caps",
"Gst.Element",
"Gst.ElementFactory",
"Gst.Object",
]
[[object]]

View file

@ -15,7 +15,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstRTPBaseDepayload")]
pub struct RTPBaseDepayload(Object<ffi::GstRTPBaseDepayload, ffi::GstRTPBaseDepayloadClass>) @extends gst::Element;
pub struct RTPBaseDepayload(Object<ffi::GstRTPBaseDepayload, ffi::GstRTPBaseDepayloadClass>) @extends gst::Element, gst::Object;
match fn {
type_ => || ffi::gst_rtp_base_depayload_get_type(),

View file

@ -15,7 +15,7 @@ use std::boxed::Box as Box_;
glib::wrapper! {
#[doc(alias = "GstRTPBasePayload")]
pub struct RTPBasePayload(Object<ffi::GstRTPBasePayload, ffi::GstRTPBasePayloadClass>) @extends gst::Element;
pub struct RTPBasePayload(Object<ffi::GstRTPBasePayload, ffi::GstRTPBasePayloadClass>) @extends gst::Element, gst::Object;
match fn {
type_ => || ffi::gst_rtp_base_payload_get_type(),

View file

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