Commit Graph

9145 Commits

Author SHA1 Message Date
Moritz Bunkus
45f61c4390 TrueHD reader: only count real TrueHD sync frames during identification
AC-3 frames are also possible as a result of the parser. This is
especially true for non-TrueHD streams as those don't have a strong
signature.

The reader's main code relies on a real TrueHD header having been found,
though.

Fixes #1559.
2016-01-02 22:29:16 +01:00
Moritz Bunkus
7f47fbed92 translations: update list of translatable strings; update German translation 2016-01-02 20:55:23 +01:00
Moritz Bunkus
cffe631a99 mkvmerge: add warning when adding attachments >= 2GiB 2016-01-02 20:53:02 +01:00
Moritz Bunkus
55064d8700 translations: update list of translatable strings; update German translation 2016-01-02 20:46:05 +01:00
Moritz Bunkus
1d655a5666 GUI: merge: add warning when adding attachments >= 2GiB
libEBML only supports attachments smaller than that.
2016-01-02 20:45:13 +01:00
René Maassen
bc6b1a9672 translations: update Dutch 2016-01-02 20:04:17 +01:00
René Maassen
1596eeeb5f translations: update Dutch 2016-01-02 19:25:53 +01:00
Moritz Bunkus
f862901c28 translations: update list of translatable strings; update German translation 2016-01-02 19:17:40 +01:00
Moritz Bunkus
fc8ccc4690 GUI: attachments: improved error handling for attachments that're too big 2016-01-02 19:16:41 +01:00
Moritz Bunkus
d669b7138d translations: update list of translatable strings; update German translation 2016-01-02 18:01:56 +01:00
Moritz Bunkus
284b893dac GUI: fix a couple of spelling/grammar mistakes 2016-01-02 18:00:25 +01:00
TMTisFree
47cc922f9e translations: update French 2016-01-02 17:58:14 +01:00
Moritz Bunkus
104f3a091f translations: update list of translatable strings 2016-01-02 17:55:44 +01:00
Moritz Bunkus
4757f9fa0e mkvmerge: don't drop attachments with same name/size from same file 2016-01-02 17:40:47 +01:00
Moritz Bunkus
a9e5e39771 GUI: merge: add "size" column to "attachments" tab 2016-01-02 16:46:02 +01:00
Moritz Bunkus
5109ce6127 GUI: attachments: change page storage from list to hash
Each page has an ID when it's stored in the model. This ID used to be
the position in the list. This was fine as long as the list wasn't
dynamic. However, with the new attachment editing features the user can
add and remove attachments in arbitrary order. This means that the
position inside the list changes but not the ID associated with the
page.

Therefore a hash is now used instead with a sequential number as the ID.
2016-01-02 16:35:22 +01:00
Moritz Bunkus
0bc231f4a2 translations: fix spelling mistake in German translation 2016-01-02 16:33:12 +01:00
René Maassen
8e976ea8cb translations: update Dutch 2016-01-02 16:11:34 +01:00
Moritz Bunkus
3d64ac84f2 translations: update list of translatable strings 2016-01-02 16:01:52 +01:00
Moritz Bunkus
2958bdbeaa GUI: move split max files control init to correct place; alignment 2016-01-02 13:42:03 +01:00
Moritz Bunkus
bdd8b98472 translations: fix formatting/escape sequence errors in Swedish translations 2016-01-02 12:37:54 +01:00
Moritz Bunkus
09a4140a23 Merge pull request #1558 from Umeaboy/patch-1
Updated Swedish translation
2016-01-02 12:16:31 +01:00
Moritz Bunkus
00ffa48b55 GUI: attachments: save correct content if content has been replaced already 2016-01-02 10:52:58 +01:00
Moritz Bunkus
858b101513 GUI: attachments: fix deleting attachments
The page was removed from the view and deleted, but it wasn't removed
from the model's internal list of pages. Therefore the it got deleted a
second time upon model reset leading to a segfault.
2016-01-02 10:42:42 +01:00
Moritz Bunkus
1dd074c9ea ChangeLog: update 2016-01-02 10:34:12 +01:00
Moritz Bunkus
28bcb3aff0 GUI: headers: add/remove attachments on pressing insert/delete 2016-01-02 10:32:40 +01:00
Moritz Bunkus
5a5649d878 GUI: chapters: add new edition/chapter on pressing insert in chapter tree 2016-01-02 10:28:23 +01:00
Moritz Bunkus
bcec1ac106 GUI: merge: add on pressing insert in files/attachments views 2016-01-02 10:27:26 +01:00
Moritz Bunkus
e61037d412 GUI: attachment editor: fix adding new attachments
The content wasn't read at all.
2016-01-02 09:56:10 +01:00
Moritz Bunkus
e6c91bb480 GUI: attachment editor: don't call Util::dirPath() twice
Util::lastOpenDirPath() already does that.
2016-01-02 09:55:35 +01:00
Moritz Bunkus
45b7428d22 GUI: attachment editor: fix size display after reset 2016-01-02 09:55:18 +01:00
Kristoffer Grundström
1cb8bc3d28 Updated Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2016-01-02 07:50:03 +01:00
Moritz Bunkus
486bb5b900 GUI: merge: fix column range for "select tracks of type"
The end column given must be the number of columns - 1. Subtracting 1
twice, though, is a bit too much ;)
2016-01-01 23:12:47 +01:00
Moritz Bunkus
b01bee8874 GUI: add more icons 2016-01-01 22:31:01 +01:00
Moritz Bunkus
e87d4f64f4 ChangeLog: update 2016-01-01 21:59:43 +01:00
Moritz Bunkus
405bb9f417 translations: update list of translatable strings; update German translation 2016-01-01 21:56:12 +01:00
Moritz Bunkus
b60dfb9eaf GUI: add icons to various menu entries and buttons 2016-01-01 21:56:12 +01:00
Moritz Bunkus
1ac25bc3c5 GUI: edit attachments inside the header editor
Implements #1533.
2016-01-01 21:56:12 +01:00
Moritz Bunkus
8badffee79 construct: change return type of cons() from EbmlMaster* to T*
There's really no need to use the generic parent type. Using the
template argument's type instead allows one to wrap the result into
shared pointers as in e.g.

KaxAttachedPtr
createAttachment() {
  // …
  return {
    mtx::construct::cons<KaxAttached>(new KaxFile, …)
  };
}
2015-12-31 21:56:33 +01:00
Moritz Bunkus
970afbe517 Bump version number, set release code name, add release message 2015-12-31 13:23:20 +01:00
Moritz Bunkus
1cdbe9215e tests: fix output of end timestamp 2015-12-31 13:17:49 +01:00
Moritz Bunkus
4d81aa099c tests: show start & end date of the whole run 2015-12-31 13:16:24 +01:00
Moritz Bunkus
72c30cc4f8 Merge branch 'master' of https://github.com/basicmaster/mkvtoolnix 2015-12-31 13:07:28 +01:00
Stefan Pöschel
f36b3e847b MPEG TS: small improvements
Also removes one useless IF, as after ts_payload_size is set above, it can only
get smaller.
2015-12-31 12:37:39 +01:00
Stefan Pöschel
fc10f8f84f MPEG VideoBuffer: fix search range 2015-12-31 12:30:11 +01:00
Moritz Bunkus
69d7567ed9 common: use boost::join() instead of my own implementation 2015-12-31 11:13:41 +01:00
Moritz Bunkus
f4fbf0c591 MPEG TS: simplify "send to packetizer" logic; drop incomplete packets; handle unknown-sized packets
The old logic was so complex (even within parse_start_unit_packet()
there were two or three places were data was sent to the packetizer)
that it had to be simplified a lot. The new logic knows only three
cases:

1. When parsing a normal packet then data is sent to the packetizer if
   and only if the expected PES size is known (!= 0) and the accumulated
   PES data's size equals the expected PES size.

2. When parsing a "start unit" packet then there are two cases:

2.a. If the previous unit's expected PES size is unknown ( == 0) then
     all data gathered so far is sent to the packetizer.

2.b. Otherwise (the expected PES size is known) the packet must be too
     short or too large. Otherwise it would have been sent to the
     packetizer in case 1. already.

On top the packet's data is cleared in both "send_to_packetizer()" and
in "probe_packet_complete()", the two functions that handle complete
packets in the muxing phase ("send_to_packetizer()") respectively
probing phase ("probe_packet_complete()").

Fixes #1553.
2015-12-30 22:23:53 +01:00
Moritz Bunkus
2251fff1db MPEG TS: re-factor to simplify control flow & "send to packetizer" logic 2015-12-30 21:41:05 +01:00
Moritz Bunkus
6f38c01263 MPEG ES reader: don't require start code at beginning of file
Instead make determination based on number of slice start codes
found. Also move the MPEG ES probing further down to the other ES video
types (AVC, HEVC) as all of those tend to produce a lot of false
positives.

Fixes #1462.
2015-12-30 18:28:01 +01:00
Moritz Bunkus
7e95187463 Merge pull request #1552 from remuxer32/patch-13
Update pl.po
2015-12-30 18:01:19 +01:00