Commit Graph

454 Commits

Author SHA1 Message Date
Martchus 395ccd50ed Add missing include for total file size 2017-08-18 00:18:16 +02:00
Martchus 9ae903f247 Add note about matroska_wave1/test4.mkv 2017-08-17 20:39:55 +02:00
Martchus a45e199c02 Fix warnings in EbmlElement 2017-08-17 20:37:49 +02:00
Martchus fb3702e311 Don't seek at the end for each top-level element
Rather use the previously determined file size to
determine the max element size.
2017-08-17 20:05:32 +02:00
Martchus 21dc376ad1 Improve documentation 2017-08-17 19:08:54 +02:00
Martchus 728a6a27dc Add == operator for notifications 2017-08-17 19:08:54 +02:00
Martchus de42acd190 Recognize xz compressed files 2017-08-17 19:08:54 +02:00
Martchus 9df142bdf6 Adjust constraints for ID3 tag conversion 2017-08-17 19:08:54 +02:00
Martchus 43c843ca6b Fix track count if no single track or container present 2017-08-17 19:08:54 +02:00
Martchus 0485d6b5c6 Add method to generate technical summary 2017-08-17 19:08:54 +02:00
Martchus fd138f65ca Add method to find available languages 2017-08-17 19:08:54 +02:00
Martchus e1ab34d8fd Fix name/abbreviation for DTS sub formats 2017-08-17 19:08:54 +02:00
Martchus a49c1cbbe9 Assume English as default language for Mkv tracks 2017-08-17 19:08:54 +02:00
Martchus d02b3ffcf4 Fix bound check of aspect ratio type 2017-08-17 19:08:54 +02:00
Martchus 5aa5ccb6eb Add method to generate short track description 2017-08-17 19:08:54 +02:00
Martchus 267bd62879 media format: Add method for short abbreviation
The current abbreviation is still a little bit too
verbose for some use cases.
2017-08-17 19:08:44 +02:00
Martchus cb46cac637 backup helper: Don't remove previous backup
The backup helper is no longer supposed to override
previous backups.
2017-08-17 18:46:15 +02:00
Martchus 1b96ab15fd Test utilities 2017-08-17 18:44:34 +02:00
Martchus 3924b5f56b Test more methods of MediaFileInfo 2017-08-17 18:44:11 +02:00
Martchus b9fb3c9695 Move test helper in its own namespace 2017-08-17 18:40:34 +02:00
Martchus fd98c5b968 Fix invalidating notifications 2017-08-17 18:19:07 +02:00
Martchus c79e0435fe Extend Size class
* Compute resolution
* Get abbreviation, eg. 1080p
2017-08-17 18:18:10 +02:00
Martchus 78ceef49fb Replace 'inline constexpr' with only 'constexpr' 2017-08-17 18:15:03 +02:00
Martchus e9c923471b Fix ambigious function call 2017-08-11 21:48:39 +02:00
Martchus 555fb53ab8 Improve documentation of MediaFileInfo::createAppropriateTags() 2017-07-28 21:01:28 +02:00
Martchus 66532353c7 Read track statistics from Matroska tags 2017-06-27 00:36:32 +02:00
Martchus c120b117c0 Fix tests 2017-06-19 13:54:23 +02:00
Martchus 99b177a9ff Handle invalid language for MP4 track better 2017-06-17 00:32:38 +02:00
Martchus f323061767 Apply MP4 track meta-data also when not writing chunk-by-chunk 2017-06-17 00:31:35 +02:00
Martchus 03383a18b9 Add GenericFileElement::copyPreferablyFromBuffer() 2017-06-17 00:29:49 +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 b4de493b56 Prevent warning about unused variable 2017-06-11 01:22:30 +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 f7ce96f4f9 Add convenience method to find tracks by ID 2017-06-11 01:17:13 +02:00
Martchus 2beb4b02aa Prevent some warnings 2017-06-10 21:47:07 +02:00
Martchus 2a808df3f5 Use argsToString() avoiding numberToString() 2017-06-08 01:26:34 +02:00
Martchus 646fc4d302 Fix TagValue::toInteger() from Latin1/UTF-8 str 2017-06-08 00:48:10 +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 4e59ed2742 Mind encoding in TagValue::toStandardGenreIndex() 2017-06-03 21:00:36 +02:00
Martchus 8ae3dd6f6f Specify behaviour of Id3Genres::indexFromString() in error case 2017-06-03 21:00:36 +02:00
Martchus e1d14ad61b Allow conversion of DateTime in TagValue::toString() 2017-06-03 21:00:36 +02:00
Martchus 6c1a0b9126 Fix TagValue::toDateTime() 2017-06-03 21:00:36 +02:00
Martchus 6b705d5652 Mind encoding when converting TagValue to pos 2017-06-03 21:00:26 +02:00
Martchus b76d35acfd Mind encoding when converting TagValue to int 2017-06-03 21:00:26 +02:00
Martchus 39b63c84cb TagValue equality: Actually ignore encoding if not relevant 2017-06-03 21:00:26 +02:00
Martchus 5e91661de3 Test TagValue 2017-06-03 21:00:26 +02:00
Martchus b88672e32f Fix compiling tests under 32-bit arch 2017-05-30 23:59:23 +02:00
Martchus 79845b96dc Remove friend class from Id3v2Frame 2017-05-29 14:36:22 +02:00