Martchus
d48722f26c
Fix unity builds
...
* Define `CHRONO_UTILITIES_TIMESPAN_INTEGER_SCALE_OVERLOADS` consistently
with all necassary changes
* Avoid ambiguity between enum members and certain class/struct names
2024-01-30 23:31:15 +01:00
Martchus
a3dc63b677
Fix parsing flags of Matroska tracks
...
The default for the flags "default" and "enabled" is actually 1.
2022-04-05 21:27:58 +02:00
Martchus
e095c7d87d
Fix check for comment of Matroska test file
2021-07-06 17:19:58 +02:00
Jonas Kvinge
ea23d71e8a
Fix spelling and typos
2021-07-02 11:12:39 +02:00
Martchus
0a041f6ad2
Fix warnings
2021-03-20 21:26:25 +01:00
Martchus
65597fd71e
Add API to allow aborting overall/expensive parsing functions
...
* Not really implemented within the various code paths of the parsers at
this point; this commit mainly adds the API.
* Adjust example in README
2021-02-04 23:21:50 +01:00
Martchus
6b469f1c26
Add Locale class to deal with differently specified languages/countries
...
Different media/tag formats specify languages and countries
differently. This change introduces a Locale class to keep track
of the format being used. So far there are no automatic conversions
implemented so it is entirely up to the user to pass valid values using
a format which matches the one required by the media/tag format.
This change also adds support for Matroska's IETF elements so at least the
raw value can be read, written and is preserved.
2020-12-16 17:48:08 +01:00
Martchus
965ee4ab4b
Adapt tests to recent changes
2020-04-26 22:22:29 +02:00
Martchus
c9e1dde70b
Adapt to changes in c++utilities
2019-06-12 20:40:45 +02:00
Martchus
5ad00a083c
Adapt to changes in c++utilities
2019-06-10 23:11:39 +02:00
Martchus
7efa7a0d5a
Adapt to c++utilities v5
2019-05-04 16:04:21 +02:00
Martchus
969828e181
Fix compiling tests for Windows
2018-11-01 19:18:00 +01:00
Martchus
b955a6b79f
Fix compilation of tests under Linux
...
hopefully works now under Linux and Windows
2018-10-09 20:31:03 +02:00
Martchus
1c4f485b10
Fix compilation of test for Windows
2018-10-07 21:58:36 +02:00
Martchus
13bccb12f0
Enable all tests under Windows
...
Since workingCopyPath() has now been implemented under
Windows it is possible to enable the entire testsuite.
2018-10-07 21:58:15 +02:00
Martchus
6f2dcdc2d9
Fix leaking memory or file handles in StreamDataBlock descendants
...
StreamDataBlock needs a virtual d'tor since it is supposed to
be subclassed but the d'tor will be called on the base type.
The leaking file handles were observed by invoking the tests
with strace, eg.:
strace -e trace=file,close ./tagparser_tests
2018-08-11 23:12:12 +02:00
Martchus
c71a497f2b
Don't generate testfiles during testrun
...
Instead, all additional files are generated in
download_testfiles.sh.
2018-07-11 12:02:30 +02:00
Martchus
761b380c03
tests: Fix mkvmerge path
2018-07-09 15:37:48 +02:00
Martchus
d856fb4c75
Use std::numeric_limits
2018-03-21 20:40:51 +01:00
Martchus
c0336ed4bb
Apply clang-format
2018-03-07 01:17:50 +01:00
Martchus
c875af0ce9
Use CPPUNIT_ASSERT_EQUAL
2018-03-06 22:44:01 +01:00
Martchus
36511fcc13
Add progress feedback and diagnostics replacing status provider
2018-03-06 22:44:01 +01:00
Martchus
e705de3704
Handle Mkv files with unknown element sizes correctly
...
Those elements are still assumed to fill the max available
space. However, if it turns out one "child" is more likely
a sibling, the wrong assumption is fixed.
2018-03-06 22:44:01 +01:00
Martchus
74054e6e87
Fix default timecode scale in Matroska
2018-02-05 00:11:28 +01:00
Martchus
6eb8eaab11
tests: Check whether no cricical notifications or warnings occurred
2017-09-14 18:16:00 +02:00
Martchus
9ae903f247
Add note about matroska_wave1/test4.mkv
2017-08-17 20:39:55 +02:00
Martchus
6741e9ca0f
Set Matroska track meta-data when element not present
2017-06-14 22:46:33 +02:00
Martchus
9b0d74b6ad
Implement applying changed track meta-data for Mkv
2017-06-11 22:57:28 +02:00
Martchus
8d08314e3b
Introduce MatroskaTrackHeaderMaker
...
First step to implement applying changed track
meta-data for Matroska
2017-06-11 01:21:56 +02:00
Martchus
381d8db895
Fix check for removed tests in Mkv tests
2017-06-07 23:40:02 +02:00
Martchus
b03273da44
Allow setting track meta-data
...
Currently applying is only implemented for
MP4 tracks (only ID, name and language).
2017-06-06 23:26:20 +02:00
Martchus
b88672e32f
Fix compiling tests under 32-bit arch
2017-05-30 23:59:23 +02:00
Martchus
1f1fb4c302
tests: Check tag and index position
2017-05-23 00:52:56 +02:00
Martchus
44de1e6b7a
tests: Move format specific flags from header
2017-05-20 23:37:33 +02:00
Martchus
2ed7ea800d
Improve overall tests
...
* Move code for each format in an own file
* Use enum for test mode flags instead of magic
numbers
2017-05-20 21:19:55 +02:00