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. // 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::*; use glib::prelude::*;
pub trait GObjectExtManualGst: 'static { pub trait GObjectExtManualGst: 'static {

View file

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