1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-06-02 13:39:54 +00:00

expose mfhd box

This commit is contained in:
Stuart Woodbury 2023-07-13 16:38:57 -04:00
parent 9d00214061
commit 66f177005b
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -7,6 +7,7 @@ use crate::mp4box::{mehd::MehdBox, trex::TrexBox};
#[derive(Debug, Clone, PartialEq, Eq, Default, Serialize)]
pub struct MvexBox {
pub mehd: Option<MehdBox>,
// todo: this should be a vec
pub trex: TrexBox,
}