diff options
Diffstat (limited to 'ebml/src/bin/mkvdump.rs')
-rw-r--r-- | ebml/src/bin/mkvdump.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ebml/src/bin/mkvdump.rs b/ebml/src/bin/mkvdump.rs index 45030cd..9602f61 100644 --- a/ebml/src/bin/mkvdump.rs +++ b/ebml/src/bin/mkvdump.rs @@ -1,4 +1,4 @@ -use ebml::read::EbmlReader; +use jellyebml::{read::EbmlReader, matroska::MatroskaTag}; use std::{fs::File, io::BufReader}; fn main() -> anyhow::Result<()> { @@ -8,7 +8,11 @@ fn main() -> anyhow::Result<()> { while let Some(tag) = r.next() { let tag = tag?; - eprintln!("{} {tag:?}", r.position) + match tag { + MatroskaTag::SimpleBlock(_) => (), + MatroskaTag::Block(_) => (), + _ => eprintln!("{} {tag:?}", r.position), + } } Ok(()) } |