libavformat/matroska: Write stream durations in metadata, in the format of mkvmerge.
authorSasi Inguva <isasi@google.com>
Wed, 5 Aug 2015 05:09:57 +0000 (22:09 -0700)
committerwm4 <nfxjfg@googlemail.com>
Wed, 5 Aug 2015 20:29:23 +0000 (22:29 +0200)
commit31852540d4fba0c4e8a16d0b3ddff08fc98e48fd
tree0a02c565bc67540bf2ea71059beebc492a7f0b18
parentb1f78632c681f32c4901a85aa7ee72bf9ca6fece
libavformat/matroska: Write stream durations in metadata, in the format of mkvmerge.

Compute individual stream durations in matroska muxer.
Write them as string tags in the same format as mkvmerge tool does.

Signed-off-by: Sasi Inguva <isasi@google.com>
libavformat/matroskaenc.c
tests/fate/wavpack.mak
tests/ref/acodec/tta
tests/ref/fate/binsub-mksenc
tests/ref/lavf/mkv
tests/ref/seek/lavf-mkv