Commit Graph

491 Commits

Author SHA1 Message Date
Moritz Bunkus
c6f46bde9b MP3 header search: continue directly behind ID3 header
...and not one byte after where the ID3 tag was found in the first
place. Otherwise detection might find something looking like a valid
MP3 header inside the ID3 tag and would skip valid frames. behind the
ID3 tag.

Fixes #747.
2012-12-16 21:25:01 +01:00
Moritz Bunkus
462639bc48 Re-implement edit list parsing and calculation
Fixes #780.
2012-12-16 19:29:05 +01:00
Moritz Bunkus
8746e7651e Only append tracks when all required information for the timecode offset is available
Fixes #793.
2012-12-08 19:12:00 +01:00
Moritz Bunkus
c0b67050b5 Keep timecodes for PCM tracks
Fixes #804
2012-12-08 18:48:43 +01:00
Moritz Bunkus
8759e0f3c0 Intentional update due to EBMLVoid-in-XML handling fix 2012-12-05 23:21:30 +01:00
Moritz Bunkus
5f0189dcfb Add unit tests for the ebml_converter_c based classes 2012-12-05 22:39:25 +01:00
Moritz Bunkus
ec4c1c19e9 Do not write EBML void elements to XML files
Fixes #801.
2012-12-02 17:45:30 +01:00
Moritz Bunkus
1a24c1c6f2 Fix/implement reading linked seek heads 2012-12-02 12:13:07 +01:00
Moritz Bunkus
076a2296d5 Remove GetChildAs<>() in favor of GetValue()/SetValue() calls 2012-09-30 18:37:01 +02:00
Moritz Bunkus
34fa38fdea Add test case for Basque locale 2012-09-30 15:04:36 +02:00
Moritz Bunkus
be44638f60 Set doc type version 4 if CueDuration/CueRelativePosition is used 2012-09-27 11:09:22 +02:00
Moritz Bunkus
6b7baaf1c9 Intentional update 2012-09-26 21:48:29 +02:00
Moritz Bunkus
53e6667e45 Write CueDuration elements for subtitle tracks 2012-09-26 20:47:49 +02:00
Moritz Bunkus
4004f3a9f1 Intentional test result update due to 9f3899f 2012-09-26 16:12:42 +02:00
Moritz Bunkus
46e76a447b Use new libebml functions GetValue()/SetValue()/GetElementList() and Matroska reader refactoring 2012-09-09 22:13:54 +02:00
Moritz Bunkus
b18b3b095d Fix cons_impl() template for all cases of (w)char*/(w)string 2012-09-07 15:38:00 +02:00
Moritz Bunkus
2e12bbf5b9 Add test case for mkvpropedit with attachments 2012-09-02 12:26:25 +02:00
Moritz Bunkus
f0335a916b Use the proper way to set EbmlUnicodeString object values 2012-09-02 12:18:54 +02:00
Moritz Bunkus
01a9842cd8 Handle attachment targets from propedit main source 2012-08-28 20:00:01 +02:00
Moritz Bunkus
2c5404734e Implement attachment replacing by UID/name/MIME type 2012-08-28 09:33:43 +02:00
Moritz Bunkus
7ae9ca3f7a Implement attachment replacing by ID 2012-08-27 22:33:05 +02:00
Moritz Bunkus
d6bb51646b Implement deleting attachments 2012-08-27 08:53:42 +02:00
Moritz Bunkus
d8cf10bb7d Implement adding attachments 2012-08-26 22:21:21 +02:00
Moritz Bunkus
a1a2d409cf Fix wrong header include guard 2012-08-26 21:59:49 +02:00
Moritz Bunkus
dd59f9c624 Engage "no_variable_data" during tests for predictable unique IDs 2012-08-26 21:34:00 +02:00
Moritz Bunkus
bbe876c7bd Conditional construction 2012-08-26 16:23:50 +02:00
Moritz Bunkus
70f8c5d220 Implement attachment target validation 2012-08-26 15:53:57 +02:00
Moritz Bunkus
985211760f Add function for reading the whole file in one go 2012-08-26 15:32:17 +02:00
Moritz Bunkus
f225d01d4f Fixup from moving construct.h to common 2012-08-26 12:47:25 +02:00
Moritz Bunkus
bb267f180e A target_id_manager_c class for the attachment_target_c 2012-08-26 12:43:15 +02:00
Moritz Bunkus
938b8ada62 Implement: attachment_target_c, partial interface -- especially CLI parsing 2012-08-26 12:43:15 +02:00
Moritz Bunkus
bff0d7e6d4 Move construct.h to common 2012-08-26 12:41:04 +02:00
Moritz Bunkus
cb27a9f05a Make construct functions inline 2012-08-26 12:37:49 +02:00
Moritz Bunkus
fc62801628 Make cons_impl() work with EbmlUnicodeString & std::wstring 2012-08-26 12:37:44 +02:00
Moritz Bunkus
78fa9e04cf Always build unit tests if gtest is available 2012-08-26 12:36:14 +02:00
Moritz Bunkus
c1fa6f0381 Unit tests for constructing and comparing EBML hierarchies 2012-08-21 19:03:01 +02:00
Moritz Bunkus
e1634f4540 Construct and compare EbmlDate 2012-08-21 11:26:48 +02:00
Moritz Bunkus
b97aef14da Fix constructing for mixed cases of EbmlMaster and other types 2012-08-21 11:23:10 +02:00
Moritz Bunkus
284d2dc76b Move dump to util.cpp; implement EBML structure comparator class & assertions 2012-08-21 11:22:48 +02:00
Moritz Bunkus
83907e90c4 Remove accidentally checked-in unit test executable 2012-08-17 22:50:11 +02:00
Moritz Bunkus
898a6e6fc8 Dump helper method for tests 2012-08-17 22:46:54 +02:00
Moritz Bunkus
00b0b921d1 Helper functions for construction EBML hierarchies 2012-08-17 22:46:45 +02:00
Moritz Bunkus
1cd37eb212 Common init code for test cases; start of unit tests for propedit 2012-08-15 09:16:52 +02:00
Moritz Bunkus
6a2698f5ec Split single unit test directory into multiple ones
The goal is to enable testing of application specific files, e.g. for
mkvpropedit.
2012-08-13 20:41:35 +02:00
Moritz Bunkus
51767dcf70 Unit tests for basic_timecode_c<> 2012-08-07 23:55:29 +02:00
Moritz Bunkus
79421eaa6f Build framework for unit tests based on Google's test framework 2012-08-07 23:08:40 +02:00
Moritz Bunkus
7f1b4cd18b MPEG TS: Detect and handle overflowing timecodes
Fixes #777.
2012-08-07 12:08:31 +02:00
Moritz Bunkus
98c3cd10dc Refactoring: MPEG TS: Use the basic_timecode_c<> class 2012-08-07 11:46:50 +02:00
Moritz Bunkus
0e53fea12e Decode MP3 header from correct location in buffer
Also make sure that the MP3 header can be decoded correctly.
2012-08-06 19:04:14 +02:00
Moritz Bunkus
6ba42cc2ce Add test case for reading ALAC in CAF, MP4, Matroska 2012-08-05 16:01:53 +02:00