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