forked from mirrors/gstreamer-rs
rtp: Add gst::Object as parent class to the various types
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1396>
This commit is contained in:
parent
d575cd1f95
commit
1649e268c5
4 changed files with 4 additions and 3 deletions
|
@ -32,6 +32,7 @@ manual = [
|
||||||
"Gst.Caps",
|
"Gst.Caps",
|
||||||
"Gst.Element",
|
"Gst.Element",
|
||||||
"Gst.ElementFactory",
|
"Gst.ElementFactory",
|
||||||
|
"Gst.Object",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
|
|
|
@ -15,7 +15,7 @@ use std::boxed::Box as Box_;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
#[doc(alias = "GstRTPBaseDepayload")]
|
#[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 {
|
match fn {
|
||||||
type_ => || ffi::gst_rtp_base_depayload_get_type(),
|
type_ => || ffi::gst_rtp_base_depayload_get_type(),
|
||||||
|
|
|
@ -15,7 +15,7 @@ use std::boxed::Box as Box_;
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
#[doc(alias = "GstRTPBasePayload")]
|
#[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 {
|
match fn {
|
||||||
type_ => || ffi::gst_rtp_base_payload_get_type(),
|
type_ => || ffi::gst_rtp_base_payload_get_type(),
|
||||||
|
|
|
@ -8,7 +8,7 @@ use glib::{prelude::*, translate::*};
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
#[doc(alias = "GstRTPHeaderExtension")]
|
#[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 {
|
match fn {
|
||||||
type_ => || ffi::gst_rtp_header_extension_get_type(),
|
type_ => || ffi::gst_rtp_header_extension_get_type(),
|
||||||
|
|
Loading…
Reference in a new issue