forked from mirrors/gstreamer-rs
gst/format: move related modules under a directory
This commit is contained in:
parent
69ea30dbda
commit
79377337a4
6 changed files with 15 additions and 13 deletions
|
@ -191,8 +191,8 @@ impl fmt::Debug for BufferList {
|
|||
|
||||
impl fmt::Debug for BufferListRef {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
use crate::clock_time::ClockTime;
|
||||
use crate::utils::Displayable;
|
||||
use crate::ClockTime;
|
||||
|
||||
let size = self.iter().map(|b| b.size()).sum::<usize>();
|
||||
let (pts, dts) = self
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
use crate::utils::Displayable;
|
||||
use crate::ClockTime;
|
||||
|
||||
mod clock_time;
|
||||
pub use clock_time::ClockTime;
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
mod clock_time_serde;
|
||||
|
||||
use crate::Format;
|
||||
use glib::translate::{FromGlib, GlibNoneError, IntoGlib, OptionIntoGlib, TryFromGlib};
|
||||
use muldiv::MulDiv;
|
|
@ -46,9 +46,6 @@ mod auto;
|
|||
pub use crate::auto::functions::*;
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(feature = "serde")]
|
||||
mod serde_macros;
|
||||
|
@ -170,9 +167,6 @@ mod bus_unix;
|
|||
mod bus_windows;
|
||||
|
||||
mod child_proxy;
|
||||
mod clock_time;
|
||||
#[cfg(feature = "serde")]
|
||||
mod clock_time_serde;
|
||||
mod date_time;
|
||||
#[cfg(feature = "serde")]
|
||||
mod date_time_serde;
|
||||
|
@ -207,7 +201,6 @@ pub use crate::element::{
|
|||
pub use crate::task_pool::{TaskHandle, TaskPoolTaskHandle};
|
||||
|
||||
pub use self::iterator::{Iterator, IteratorError, IteratorImpl, StdIterator};
|
||||
pub use crate::clock_time::ClockTime;
|
||||
pub use crate::device_monitor::DeviceMonitorFilterId;
|
||||
pub use crate::enums::{
|
||||
ClockError, ClockSuccess, FlowError, FlowSuccess, PadLinkError, PadLinkSuccess,
|
||||
|
@ -226,10 +219,10 @@ mod typefind_factory;
|
|||
|
||||
pub mod format;
|
||||
pub use crate::format::{
|
||||
CompatibleFormattedValue, FormattedValue, FormattedValueFullRange, FormattedValueIntrinsic,
|
||||
FormattedValueNoneBuilder, GenericFormattedValue, NoneSignedBuilder, Signed,
|
||||
SpecificFormattedValue, SpecificFormattedValueFullRange, SpecificFormattedValueIntrinsic,
|
||||
UnsignedIntoSigned,
|
||||
ClockTime, CompatibleFormattedValue, FormattedValue, FormattedValueFullRange,
|
||||
FormattedValueIntrinsic, FormattedValueNoneBuilder, GenericFormattedValue, NoneSignedBuilder,
|
||||
Signed, SpecificFormattedValue, SpecificFormattedValueFullRange,
|
||||
SpecificFormattedValueIntrinsic, UnsignedIntoSigned,
|
||||
};
|
||||
#[cfg(feature = "serde")]
|
||||
mod format_serde;
|
||||
|
|
Loading…
Reference in a new issue