Commit Graph

540 Commits

Author SHA1 Message Date
d856fb4c75 Use std::numeric_limits 2018-03-21 20:40:51 +01:00
20b4cc833f Reorder enums 2018-03-21 20:31:29 +01:00
f5bd1dc4e8 Use unsigned int as underlying type for enums 2018-03-21 20:30:51 +01:00
cbb54d5aeb Allow custom writing application 2018-03-20 21:41:05 +01:00
3e85eba00f Apply clang-format 2018-03-14 17:56:37 +01:00
281d3e7952 Workaround GGC bug 66297 2018-03-13 22:06:32 +01:00
ca0b8e4d8c Improve coding style 2018-03-11 22:28:15 +01:00
706c410edb Clear description encoding of TagValue 2018-03-11 22:27:55 +01:00
59024a66a0 Don't clear field before parsing by default 2018-03-11 22:27:12 +01:00
8d91886b14 Improve test output for TagValues 2018-03-11 22:24:57 +01:00
ed9939dc74 Support 'file://' protocol prefix 2018-03-11 19:15:13 +01:00
b47705ff81 Refactor MediaFileInfo::createAppropriateTags() 2018-03-11 18:57:22 +01:00
dabd18102e Remove out-commented code for nested tags 2018-03-11 16:15:46 +01:00
b35fc2ff0d Improve some structure layouts 2018-03-11 16:14:42 +01:00
0215b89057 Improve Id3v2Frame 2018-03-11 16:03:22 +01:00
a26b98dcd7 Improve TagValue
* Make more functions inline
* Fix use of std::size_t
2018-03-11 15:16:09 +01:00
c0336ed4bb Apply clang-format 2018-03-07 01:17:50 +01:00
27600642f1 Sort file names 2018-03-07 01:14:28 +01:00
a0986ad4a9 Fix style issues 2018-03-07 01:11:42 +01:00
efa67d6a1a Improve siblingById() and subelementByPath()
* Use 2 functions instead of flag parameter
* Support const correctness
2018-03-07 00:30:08 +01:00
091fa1daf7 Use "..." to implement subelementByPath 2018-03-07 00:16:20 +01:00
88edd43f8c Document usage, especially error handling 2018-03-06 23:50:40 +01:00
a5813f742e Re-add the WIP AAC parser
So it is considered when refactoring.
2018-03-06 23:17:35 +01:00
0e15c74103 Move everything into namespace TagParser 2018-03-06 23:09:15 +01:00
c875af0ce9 Use CPPUNIT_ASSERT_EQUAL 2018-03-06 22:44:01 +01:00
36511fcc13 Add progress feedback and diagnostics replacing status provider 2018-03-06 22:44:01 +01:00
652e4809b4 Use unordered_map in MatroskaCuePositionUpdater
std::unordered_map should be faster than std::map
2018-03-06 22:44:01 +01:00
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
5ed20c7e8e Add function to determine Mkv element level by ID
Does not cover all element IDs but should be more
than sufficient for its purpose.
2018-03-06 22:44:01 +01:00
8e66378b81 Add method to get last child of file element 2018-03-06 22:44:01 +01:00
611ae0916a Add methods to get n-th parent of file element 2018-03-06 22:44:01 +01:00
90dccb2bd9 Add method to determine level of file element 2018-03-06 22:44:01 +01:00
99227816b6 Allow specifying whether the size of an element is unknown 2018-03-06 22:44:01 +01:00
038d30587c Uniform spelling of Matroska IDs 2018-03-06 22:44:01 +01:00
7a02e8a325 Uniform/simplify typedefs in templates
* Begin type names with capital letter
* Remove typedefs for implementation type
* Remove useless/obsolete comments
* Simplify relevant code
2018-03-06 22:44:01 +01:00
0daabba17a Use static polymorphism in FieldMapBasedTag 2018-03-06 22:44:01 +01:00
138fa32f29 Restructure FieldMapBasedTag to use CRTP 2018-03-06 22:44:01 +01:00
11d881a41e Update major version to 7 2018-03-06 22:44:01 +01:00
de9e5bab1b Improve consistency of README.md 2018-03-06 22:41:21 +01:00
b55d956b83 Fix some warnings 2018-02-05 14:51:21 +01:00
6068bb09dc Improve coding style in determineElementPosition() 2018-02-05 00:59:34 +01:00
ae4e46869d Fix warning (signedness conversion) 2018-02-05 00:41:35 +01:00
2c4b0abbea Use C++ random API 2018-02-05 00:40:11 +01:00
74054e6e87 Fix default timecode scale in Matroska 2018-02-05 00:11:28 +01:00
24a6053c2f Make utilities test work with relative working dir 2018-02-04 23:57:04 +01:00
25d164a5ae Clean backup helper code 2018-02-04 23:55:52 +01:00
6a62ef7fc2 Fix typo 2018-01-29 16:33:55 +01:00
2d942a9f45 Add download for MPlayer samples 2017-10-30 21:36:27 +01:00
e5c93e8293 Update 100 % percentage correctly 2017-10-30 08:21:17 +01:00
c611543e30 Add entry for Monkey's Audio on track level 2017-10-29 18:42:15 +01:00