Commit Graph

477 Commits

Author SHA1 Message Date
Martchus fe5ac296b3 Fix unused lambda capture 2017-09-20 19:39:04 +02:00
Martchus 5c4de0909a Adjust tests to handle all notifications being present again 2017-09-14 22:31:32 +02:00
Martchus 5e4e6a04a9 Transfer notifications to media file info
Commit 'Fix duplicate notifications' (0f6ac6a) caused missing
notifications by omitting `addNotifications(*m_container);`
before clearing parsing results. This commit restores the old
behavior and will actually preserve all notifications. However,
it will cause duplicated notifications again. The notification
system must be reworked in v7 for a decent solution.
2017-09-14 22:13:34 +02:00
Martchus 098c54e016 Update documentation 2017-09-14 21:41:18 +02:00
Martchus ebcbe092a4 Reduce if-cascades in Mp4TagField 2017-09-14 19:33:49 +02:00
Martchus a1547f9365 Fix some style issues 2017-09-14 18:19:30 +02:00
Martchus 9153e726d5 Fix EbmlElement::idToString() 2017-09-14 18:19:12 +02:00
Martchus a71ffd3fc5 Improve some notification when parsing Matroska files 2017-09-14 18:18:59 +02:00
Martchus ce92665848 Fix making TrackEntry element 2017-09-14 18:17:31 +02:00
Martchus ad3b578bfe Fix calculating size of mdat atom when writing chunk-by-chunk 2017-09-14 18:16:40 +02:00
Martchus 6eb8eaab11 tests: Check whether no cricical notifications or warnings occurred 2017-09-14 18:16:00 +02:00
Martchus 9c8a27c8b1 Fix gathering notifications of MatroskaContainer 2017-09-14 01:57:22 +02:00
Martchus ba8c9204a9 Fix messing track header of MP4 files (tkhd atom) 2017-09-14 01:37:15 +02:00
Martchus d4a406ba57 Increase minor version 2017-09-03 18:55:51 +02:00
Martchus 15af444e5a Refactor calculating duration of OGG streams 2017-09-03 18:54:46 +02:00
Martchus 9448c3bc92 Add media format entry for Daala 2017-09-03 18:34:55 +02:00
Martchus 8197374249 Detect Speex in Ogg 2017-09-03 18:34:33 +02:00
Martchus a2b36a0b30 Detect YUV4MPEG2 files 2017-09-03 18:27:37 +02:00
Martchus ab9ab4ba48 Add missing class descriptions 2017-08-29 01:35:45 +02:00
Martchus 568f876b34 Improve performance when parsing big OGG files
by skipping pages in the middle (unless a full parse
is forced).

Additionally, the size of the tracks is now determined
on container-level which makes handling the skipping
easier.
2017-08-29 01:29:27 +02:00
Martchus 7ab83a55ec Improve documentation about USE_NATIVE_FILE_BUFFER 2017-08-21 01:29:32 +02:00
Martchus 0f6ac6a7e3 Fix duplicate notifications 2017-08-20 01:59:43 +02:00
Martchus a740f96875 Improve notifications when validating Matroska index 2017-08-18 00:19:54 +02:00
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