forked from mirrors/gstreamer-rs
Adapt to no longer re-exported auto functions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1307>
This commit is contained in:
parent
54979d859d
commit
3228c36ef7
9 changed files with 15 additions and 8 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
use std::mem;
|
use std::mem;
|
||||||
|
|
||||||
|
pub use crate::auto::functions::*;
|
||||||
use glib::{prelude::*, translate::*};
|
use glib::{prelude::*, translate::*};
|
||||||
|
|
||||||
#[doc(alias = "gst_type_find_helper_for_data")]
|
#[doc(alias = "gst_type_find_helper_for_data")]
|
||||||
|
|
|
@ -21,7 +21,7 @@ macro_rules! skip_assert_initialized {
|
||||||
}
|
}
|
||||||
|
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use crate::auto::{functions::*, *};
|
pub use crate::auto::*;
|
||||||
|
|
||||||
pub mod functions;
|
pub mod functions;
|
||||||
pub use crate::functions::*;
|
pub use crate::functions::*;
|
||||||
|
|
|
@ -2,6 +2,7 @@ use std::ptr;
|
||||||
|
|
||||||
use glib::{object::IsA, translate::*};
|
use glib::{object::IsA, translate::*};
|
||||||
|
|
||||||
|
pub use crate::auto::functions::*;
|
||||||
use crate::{GLContext, GLDisplay};
|
use crate::{GLContext, GLDisplay};
|
||||||
|
|
||||||
#[doc(alias = "gst_gl_handle_context_query")]
|
#[doc(alias = "gst_gl_handle_context_query")]
|
||||||
|
|
|
@ -23,7 +23,7 @@ macro_rules! skip_assert_initialized {
|
||||||
}
|
}
|
||||||
|
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use crate::auto::{functions::*, *};
|
pub use crate::auto::*;
|
||||||
|
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
mod flag_serde;
|
mod flag_serde;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
use std::{mem, ptr};
|
use std::{mem, ptr};
|
||||||
|
|
||||||
|
pub use crate::auto::functions::*;
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
|
|
||||||
pub unsafe trait CodecTag<'a>: gst::Tag<'a, TagType = &'a str> {}
|
pub unsafe trait CodecTag<'a>: gst::Tag<'a, TagType = &'a str> {}
|
||||||
|
|
|
@ -28,7 +28,7 @@ macro_rules! skip_assert_initialized {
|
||||||
}
|
}
|
||||||
|
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use crate::auto::{functions::*, *};
|
pub use crate::auto::*;
|
||||||
|
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_20")]
|
||||||
mod element_properties;
|
mod element_properties;
|
||||||
|
|
|
@ -21,7 +21,7 @@ macro_rules! skip_assert_initialized {
|
||||||
}
|
}
|
||||||
|
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use crate::auto::{functions::*, *};
|
pub use crate::auto::*;
|
||||||
|
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
mod flag_serde;
|
mod flag_serde;
|
||||||
|
@ -58,3 +58,7 @@ pub mod prelude {
|
||||||
auto::traits::*, rtp_base_depayload::RTPBaseDepayloadExtManual, rtp_buffer::RTPBufferExt,
|
auto::traits::*, rtp_base_depayload::RTPBaseDepayloadExtManual, rtp_buffer::RTPBufferExt,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub mod functions {
|
||||||
|
pub use super::auto::functions::*;
|
||||||
|
}
|
||||||
|
|
|
@ -7,9 +7,9 @@ use glib::{prelude::*, translate::*};
|
||||||
#[cfg(feature = "v1_18")]
|
#[cfg(feature = "v1_18")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||||
use crate::Tracer;
|
use crate::Tracer;
|
||||||
use crate::{
|
use crate::{Bin, Element, Object, ParseContext, ParseFlags};
|
||||||
auto::functions::parse_bin_from_description, Bin, Element, Object, ParseContext, ParseFlags,
|
|
||||||
};
|
pub use crate::auto::functions::*;
|
||||||
|
|
||||||
pub fn parse_bin_from_description_with_name(
|
pub fn parse_bin_from_description_with_name(
|
||||||
bin_description: &str,
|
bin_description: &str,
|
||||||
|
|
|
@ -41,7 +41,7 @@ macro_rules! skip_assert_initialized {
|
||||||
#[allow(clippy::needless_borrow)]
|
#[allow(clippy::needless_borrow)]
|
||||||
#[allow(clippy::let_unit_value)]
|
#[allow(clippy::let_unit_value)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use crate::auto::{functions::*, *};
|
pub use crate::auto::*;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
|
|
Loading…
Reference in a new issue