mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-10-03 11:39:41 +00:00
Update for glib_wrapper! API changes
This commit is contained in:
parent
469ab53377
commit
9c48de75d8
4 changed files with 5 additions and 5 deletions
|
@ -132,7 +132,7 @@ use glib::translate::*;
|
||||||
use std::mem;
|
use std::mem;
|
||||||
|
|
||||||
glib_wrapper! {
|
glib_wrapper! {
|
||||||
pub struct RTPJitterBuffer(Object<ffi::RTPJitterBuffer, RTPJitterBufferClass>);
|
pub struct RTPJitterBuffer(Object<ffi::RTPJitterBuffer>);
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
get_type => || ffi::rtp_jitter_buffer_get_type(),
|
get_type => || ffi::rtp_jitter_buffer_get_type(),
|
||||||
|
|
|
@ -14,7 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib_wrapper! {
|
glib_wrapper! {
|
||||||
pub struct Aggregator(Object<gst_base_sys::GstAggregator, gst_base_sys::GstAggregatorClass, AggregatorClass>) @extends gst::Element, gst::Object;
|
pub struct Aggregator(Object<gst_base_sys::GstAggregator, gst_base_sys::GstAggregatorClass>) @extends gst::Element, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
get_type => || gst_base_sys::gst_aggregator_get_type(),
|
get_type => || gst_base_sys::gst_aggregator_get_type(),
|
||||||
|
|
|
@ -14,7 +14,7 @@ use std::boxed::Box as Box_;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
|
|
||||||
glib_wrapper! {
|
glib_wrapper! {
|
||||||
pub struct AggregatorPad(Object<gst_base_sys::GstAggregatorPad, gst_base_sys::GstAggregatorPadClass, AggregatorPadClass>) @extends gst::Pad, gst::Object;
|
pub struct AggregatorPad(Object<gst_base_sys::GstAggregatorPad, gst_base_sys::GstAggregatorPadClass>) @extends gst::Pad, gst::Object;
|
||||||
|
|
||||||
match fn {
|
match fn {
|
||||||
get_type => || gst_base_sys::gst_aggregator_pad_get_type(),
|
get_type => || gst_base_sys::gst_aggregator_pad_get_type(),
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
mod aggregator;
|
mod aggregator;
|
||||||
pub use self::aggregator::AggregatorExt;
|
pub use self::aggregator::AggregatorExt;
|
||||||
pub use self::aggregator::{Aggregator, AggregatorClass, NONE_AGGREGATOR};
|
pub use self::aggregator::{Aggregator, NONE_AGGREGATOR};
|
||||||
|
|
||||||
mod aggregator_pad;
|
mod aggregator_pad;
|
||||||
pub use self::aggregator_pad::AggregatorPadExt;
|
pub use self::aggregator_pad::AggregatorPadExt;
|
||||||
pub use self::aggregator_pad::{AggregatorPad, AggregatorPadClass, NONE_AGGREGATOR_PAD};
|
pub use self::aggregator_pad::{AggregatorPad, NONE_AGGREGATOR_PAD};
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub mod traits {
|
pub mod traits {
|
||||||
|
|
Loading…
Reference in a new issue