The code will estimate the file duration if the last block duration is
0. This is not totally correct, but better then what we currently have.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1100
Change-Id: I8f81df0bd592e6f7b1925fa2637a2e09cf182742
Instead of blindly doing a file compare and hoping that we're not
in a garbage in garbage out situation.
Change-Id: Ie2f278e09ad67b3e8f40e602fcdd5c9ffb5e1b7d
- Store actual element ID in SeekHead::Entry id field (instead
of a decoded EBML int, which is completely _wrong_).
- Add a SeekHead::Entry constructor so we get initialized values
in SeekHead::Entry's when parsing an Entry fails.
Change-Id: I152fae54628cb84918917139dba0cd0b42a44a57
Add a couple mkvparser wrapper functions for testing mkvmuxer
output. Also expose HasCuePoints() via test_util.h for use
in cue point related tests.
Change-Id: I77321840926f41b60b6ceac65a1e3cfd79b7d2c2
MSVC C4996 triggers upon use of functions like fopen, and suggests
use of non-portable Microsoft replacements. Disable it project wide,
and remove the pragmas littered throughout the tree.
Change-Id: I8b890bbfd3cd7224c25350bd28f334facd8b7783
Wrapping mkvmuxer and mkvparser in the libwebm namespace is no
longer necessary now that the tree reorganization is complete.
Put mkvmuxer and mkvparser namespaces back in the global
namespace to avoid unnecessary churn in downstream code.
Change-Id: I13a4fe0143d20bb2bb6038078c68636ff2af0c29
Move file utility classes and functions from testing/test_util to
common/file_util, and make them part of libwebm.
Change-Id: If5b25a63b20efacc16b0fecaa8876ade4ecc4b26