Commit History

Author SHA1 Message Date
  Matthew Gregan 05953b7c92 Move tracing to a global variable. 9 years ago
  Matthew Gregan af6a38dee5 Include the file offset when reporting errors from dump.rs. 9 years ago
  Matthew Gregan 44e129ec07 Make examples/dump.rs quiet by default. Use -v for verbose mode. 9 years ago
  Matthew Gregan 21311727ac Make dump.rs print a nicer error on file open errors. 9 years ago
  Matthew Gregan d151552ecc dump.rs shouldn't treat UnexpectedEOF as a non-error since b05c9c5d. 9 years ago
  Matthew Gregan 86a2196255 Minor cleanups. 9 years ago
  Ralph Giles 0f3e3e0d62 Print parse errors from the dump example. 9 years ago
  Matthew Gregan faeb8d0974 Split read_box into subfunctions divided by the atoms the box can contain. 9 years ago
  Ralph Giles 5fb0357d81 Restore tracing in the dump.rs example. 9 years ago
  Ralph Giles 9581f30b27 Define our own Error and Result types. 9 years ago
  Ralph Giles 69052a9277 Update dump.rs to use #[derive(Debug)] box formatters. 9 years ago
  Matthew Gregan 5907e33187 Add a constructor for MediaContext. 9 years ago
  Ralph Giles a614819bb9 dump.rs: Print the final result after traversing the file. 9 years ago
  Matthew Gregan 1e91987a12 Call read_box in a loop inside read_box_from_buffer. Also retain the MediaContext over calls to read_box in dump.rs. 9 years ago
  Matthew Gregan 7c5952f0fa Thread parser context through call tree in preparation for parsing stsd atom. 9 years ago
  Ralph Giles 00925f7c56 Use BufRead::consume instead of Seek. 9 years ago
  Ralph Giles 678c5c43b1 Handle results in the dump example. 10 years ago
  Ralph Giles d7454e497c Remove task wrapper from the dump example. 10 years ago
  Ralph Giles e2c8459fc7 Move recursive read_box into the crate. 10 years ago
  Ralph Giles ce87ca89c5 Call tkhd from the dump example. 10 years ago
  Ralph Giles 41a8137f21 Abstract read_box() recursion and call it from 'trak' boxes. 10 years ago
  Ralph Giles 3250ace234 Unwrap the return value of skip_box_content(). 10 years ago
  Ralph Giles 544ace1611 Dump mvhd box. 10 years ago
  Ralph Giles 5ffaba4a66 Try recursing into moov boxes. 10 years ago
  Ralph Giles 52d3ff1da6 Turn the outer match into an and_then(). 10 years ago
  Ralph Giles 38e8cee9bf Move box reading to a separate function. 10 years ago
  Ralph Giles cd0be9b105 Demonstrate recursion for content parsing in dump.rs. 10 years ago
  Ralph Giles 4a8917df34 Just ignore any panics from the parser. 10 years ago
  Ralph Giles 463c7ea28e Be more explicit about catching the task error. 10 years ago
  Ralph Giles 001d32945a Loop over all top-level boxes. 10 years ago