Commit Graph

475 Commits

Author SHA1 Message Date
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
Moritz Bunkus
e6b384ce8c MPEG-1/-2: Do only one pass over video frames in packetizer
Also: put all extension chunks into CodecPrivate.
2012-08-04 09:56:29 +02:00
Moritz Bunkus
49ecf2a857 MPEG-1/-2 video: remove stuffing bytes
Implements #734.
2012-08-02 22:13:32 +02:00
Moritz Bunkus
cfecf3542b Calculate video B frame offset by counting B frames
Fixes #579.
2012-08-01 18:27:01 +02:00
Moritz Bunkus
c776c9c0b4 SRT: Accept spaces in timecode line arrows 2012-08-01 17:27:29 +02:00
Moritz Bunkus
9995c44148 VC1: only mark frames as I frames if a sequence header precedes them directly
Fixes #755.
2012-07-31 20:08:52 +02:00
Moritz Bunkus
1c4f9e37fe Use 64bit numbers as UIDs; don't overwrite chapter UIDs during verification
Fixes #760.
2012-07-08 19:43:27 +02:00
Moritz Bunkus
637bf39882 Calculate sample table from constant sample size if present
Fixes #764.
2012-06-05 23:09:10 +02:00
Moritz Bunkus
e53bbd6837 Skip tracks with empty chunk offset tables
Addresses #764.
2012-06-05 22:50:40 +02:00
Moritz Bunkus
c6e14e948e Intentional update due to translation update 2012-06-03 22:30:35 +02:00
Moritz Bunkus
ae9c49b046 Intentional update due to translation updates 2012-06-01 21:39:54 +02:00
Moritz Bunkus
4fb58b652a SRT: Accept colons as decimal separators
Fixes issue 754.
2012-05-20 18:08:23 +02:00
Moritz Bunkus
1a9e4716b2 Accept <Simple> tags with nested <Simple>, but without <String>/<Binary>
Fixes #725.
2012-05-13 22:46:12 +02:00
Moritz Bunkus
60e2a3029f Keep cluster timecodes strictly increasing if possible 2012-05-13 20:09:36 +02:00
Moritz Bunkus
754410e505 Only use file name component for 'other_file:' identification output during test 2012-05-06 19:28:00 +02:00
Moritz Bunkus
a9be17c8a6 Add option to filter mkvinfo's output for test cases 2012-05-06 19:27:06 +02:00
Moritz Bunkus
923cda22ff Intentional update due to translation updates 2012-05-06 19:10:33 +02:00