gstreamer: Don't re-export traits from the crate root

This commit is contained in:
Sebastian Dröge 2022-04-03 10:46:02 +03:00 committed by Sebastian Dröge
parent 73ab9054c4
commit 4d002786ec
2 changed files with 10 additions and 7 deletions

View file

@ -1,6 +1,6 @@
// Take a look at the license at the top of the repository in the LICENSE file.
use crate::GstValueExt;
use crate::value::GstValueExt;
use glib::prelude::*;
pub trait GObjectExtManualGst: 'static {

View file

@ -55,7 +55,9 @@ pub mod message;
pub use crate::message::{Message, MessageErrorDomain, MessageRef, MessageView};
mod value;
pub use crate::value::*;
pub use crate::value::{
Array, ArrayRef, Bitmask, Fraction, FractionRange, IntRange, List, ListRef,
};
#[cfg(feature = "ser_de")]
#[macro_use]
mod value_serde;
@ -174,13 +176,15 @@ mod gobject;
mod iterator;
mod object;
mod pad;
pub use pad::*;
mod registry;
pub use crate::pad::PadBuilder;
pub use pad::{
EventForeachAction, PadBuilder, PadGetRangeSuccess, PadProbeData, PadProbeId, PadProbeInfo,
StreamLock,
};
mod control_binding;
mod control_source;
mod parse_context;
mod proxy_pad;
mod registry;
mod tag_setter;
mod task_pool;
pub use crate::element::{ElementMessageType, NotifyWatchId};
@ -197,7 +201,6 @@ pub use crate::enums::{
ClockError, ClockSuccess, FlowError, FlowSuccess, PadLinkError, PadLinkSuccess,
StateChangeError, StateChangeSuccess, TagError,
};
pub use crate::pad::{PadGetRangeSuccess, PadProbeData, PadProbeId, PadProbeInfo};
pub use crate::parse_context::ParseContext;
mod plugin_feature;
@ -235,7 +238,7 @@ mod clock;
pub use crate::clock::{AtomicClockReturn, ClockId, PeriodicClockId, SingleShotClockId};
mod buffer_pool;
pub use crate::buffer_pool::*;
pub use crate::buffer_pool::{BufferPoolAcquireParams, BufferPoolConfig, BufferPoolConfigRef};
mod pad_template;