From 66f177005bbaeb4fd9db283e04a673f095444c0a Mon Sep 17 00:00:00 2001 From: Stuart Woodbury Date: Thu, 13 Jul 2023 16:38:57 -0400 Subject: [PATCH] expose mfhd box --- src/mp4box/mod.rs | 1 + src/mp4box/mvex.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mp4box/mod.rs b/src/mp4box/mod.rs index cf2a616..3085777 100644 --- a/src/mp4box/mod.rs +++ b/src/mp4box/mod.rs @@ -110,6 +110,7 @@ pub(crate) mod vpcc; pub use emsg::EmsgBox; pub use ftyp::FtypBox; pub use mdia::MdiaBox; +pub use mfhd::MfhdBox; pub use moof::MoofBox; pub use moov::MoovBox; pub use mvex::MvexBox; diff --git a/src/mp4box/mvex.rs b/src/mp4box/mvex.rs index 8be683b..8eb0e53 100644 --- a/src/mp4box/mvex.rs +++ b/src/mp4box/mvex.rs @@ -7,6 +7,7 @@ use crate::mp4box::{mehd::MehdBox, trex::TrexBox}; #[derive(Debug, Clone, PartialEq, Eq, Default, Serialize)] pub struct MvexBox { pub mehd: Option, + // todo: this should be a vec pub trex: TrexBox, }