mirror of
https://github.com/alfg/mp4-rust.git
synced 2025-01-03 08:58:40 +00:00
fix(moovbox): write out mvex box.
This commit is contained in:
parent
52e8a8b654
commit
aeb75eb9f2
1 changed files with 8 additions and 4 deletions
|
@ -131,16 +131,20 @@ impl<W: Write> WriteBox<&mut W> for MoovBox {
|
|||
BoxHeader::new(self.box_type(), size).write(writer)?;
|
||||
|
||||
self.mvhd.write_box(writer)?;
|
||||
for trak in self.traks.iter() {
|
||||
trak.write_box(writer)?;
|
||||
}
|
||||
if let Some(meta) = &self.meta {
|
||||
meta.write_box(writer)?;
|
||||
}
|
||||
if let Some(mvex) = &self.mvex {
|
||||
mvex.write_box(writer)?;
|
||||
}
|
||||
for trak in self.traks.iter() {
|
||||
trak.write_box(writer)?;
|
||||
}
|
||||
|
||||
if let Some(udta) = &self.udta {
|
||||
udta.write_box(writer)?;
|
||||
}
|
||||
Ok(0)
|
||||
Ok(size)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue