Commit Graph

12474 Commits

Author SHA1 Message Date
Moritz Bunkus
d6707da459
build system: protect digest calls from re-entry
The code for Ruby's Digest module seems to be racy
wrt. multi-threading. See e.g.
https://github.com/aws/aws-sdk-ruby/issues/525 for details.
2018-12-04 21:13:17 +01:00
Moritz Bunkus
7b9abff716
translations: fix a couple of format string issues 2018-12-04 17:18:50 +01:00
Moritz Bunkus
cc7b32a6f4
build system: implement fmt::format & Qt verification in translation files 2018-12-04 17:18:50 +01:00
Moritz Bunkus
1677217003
bump version number, set release codename 2018-12-01 12:14:39 +01:00
Moritz Bunkus
efa64cb7e8
NEWS.md: reorder for easier consumption 2018-12-01 12:07:49 +01:00
Israel Lucas Torrijos
28315098e7
translations: update Spanish 2018-12-01 11:35:51 +01:00
Moritz Bunkus
383b910fe2
mkvmerge, GUI's chapter editor: use name template for nameless Ogg chapters
Fixes #2441.
2018-11-25 22:27:33 +01:00
Moritz Bunkus
eef32f6f02
chapters: move name generation template from cluster helper to global variable
The cluster helper is only available in mkvmerge, but the template
will be required in other tools, too.
2018-11-25 22:26:51 +01:00
Dian Li
5fb54c5710
translations: update Chinese Simplified 2018-11-25 21:24:56 +01:00
Andriy Bilous'ko
30572687bf
translations: update Ukrainian 2018-11-25 21:24:16 +01:00
Burak Yavuz
4b1dec96cd
translations: update Turkish 2018-11-25 21:23:52 +01:00
Andrei Stepanov
c26a28a225
translations: update Russian 2018-11-25 21:23:29 +01:00
TMTisFree
0a09155c1c
translations: update French 2018-11-25 21:23:10 +01:00
Antoni Bella Pérez
518ad6e641
translations: update Catalan 2018-11-25 21:22:38 +01:00
Roberto Boriotti
f6bb9db401
translations: update Italian 2018-11-25 21:18:45 +01:00
Moritz Bunkus
4b87f049e7
kax_analyzer_c: adjust cues when a cluster was moved
Writing level 1 elements can lead to the situation that a one-byte gap
must be covered. In that case `kax_analyzer_c` can move the head of
the following element by shrinking or enlarging its size field.

If that following element happens to be a cluster, there may be cues
that refer to that cluster. They must be updated in order to reflect
the cluster's new position.

Fixes #2408.
2018-11-24 15:04:24 +01:00
Moritz Bunkus
0683d30a19
mkvextract: AAC: write program config element if present in AudioSpecificConfig
The `CodecPrivate` Matroska element contains AAC's
`AudioSpecificConfig` structure. That structure can contain a
`GASpecificConfig` structure which in turn can contain a
`program_config_element` (short: PCE).

The PCE carries vital information about number of
channels in certain situations and must be present in the first raw
AAC packet if it is present in the `AudioSpecificConfig`. Otherwise
the number of channels cannot be determined.

mkvextract will now check whether the first packet contains the PCE
already. If it doesn't and if there's a PCE in the
`AudioSpecificConfig`, mkvextract will now prepend the first audio
packet with that PCE (right behind the ADTS headers).

Fixes #2205 and #2433.
2018-11-21 17:05:48 +01:00
Moritz Bunkus
38c046eda3
bit_writer_c: fix copy_bits to be able to copy more than 64 bits 2018-11-21 16:31:59 +01:00
Moritz Bunkus
175f043ed1
bit_reader_c/bit_writer_c: add constructors taking memory_c 2018-11-21 16:31:44 +01:00
Moritz Bunkus
65870e15af
fmt conversion: Debian packaging: fix dependencies for Ubuntu 16.04 2018-11-20 21:40:36 +01:00
Moritz Bunkus
cb51487445
tests: update due to translation update in 2f11d815d 2018-11-20 21:30:28 +01:00
Moritz Bunkus
e53d6f574d
fmt conversion: convert more translation files 2018-11-20 21:30:28 +01:00
Moritz Bunkus
87df36fe35
fmt conversion: hotfix pt_BR.po before conversion 2018-11-20 21:30:28 +01:00
Moritz Bunkus
1c6b7d3539
fmt conversion: convert translation files 2018-11-20 21:30:27 +01:00
Moritz Bunkus
8b626c7efe
fmt conversion: never use C & Boost formats 2018-11-20 21:30:27 +01:00
Moritz Bunkus
58199b8588
fmt conversion: no boost::format support in translation files 2018-11-20 21:30:27 +01:00
Moritz Bunkus
8f4569ae73
RPM packaging: enable optimizations 2018-11-20 21:30:27 +01:00
Moritz Bunkus
e5980ef0c0
include boost/optional.hpp centrally
A lot of header files use boost::optional, including central ones such
as memory.h which itself is already included from common.h. Therefore
include boost/optional.hpp in common.h only.
2018-11-20 21:30:27 +01:00
Moritz Bunkus
629234e9e9
fmt conversion: add to NEWS.md 2018-11-20 21:30:27 +01:00
Moritz Bunkus
6f519158fe
fmt conversion: add to & reorganize README.md & fix table of contents 2018-11-20 21:30:27 +01:00
Moritz Bunkus
6e7f04a142
fmt conversion: integrate bundled fmt into build system 2018-11-20 21:30:27 +01:00
Moritz Bunkus
73463a33b8
fmt conversion: bundle fmt in lib/fmt for OSes that don't include it 2018-11-20 21:30:27 +01:00
Moritz Bunkus
e1a887d3b8
fmt conversion: require packages in RPM/DEB build scripts 2018-11-20 21:30:27 +01:00
Moritz Bunkus
6ce65a23a7
fmt conversion: remove boost::format from documentation 2018-11-20 21:30:26 +01:00
Moritz Bunkus
8ac0abf3a0
fmt conversion: remove remaining usage of boost::format, boost::wformat 2018-11-20 21:30:26 +01:00
Moritz Bunkus
659e25dc36
fmt conversion: convert the unit test files 2018-11-20 21:30:26 +01:00
Moritz Bunkus
13f9b91c04
fmt conversion: convert the GUI's files 2018-11-20 21:30:26 +01:00
Moritz Bunkus
042cf56687
fmt conversion: convert files for the tools 2018-11-20 21:30:26 +01:00
Moritz Bunkus
aaccc71d36
fmt conversion: convert mkvpropedit's files 2018-11-20 21:30:26 +01:00
Moritz Bunkus
ac533b84ba
fmt conversion: convert mkvextract's files 2018-11-20 21:30:26 +01:00
Moritz Bunkus
8fe36d0667
fmt conversion: convert more files 2018-11-20 21:30:26 +01:00
Moritz Bunkus
1f63e2ef0e
fmt conversion: convert files 2018-11-20 21:30:26 +01:00
Moritz Bunkus
00957c6b61
fmt conversion: convert several files 2018-11-20 21:30:22 +01:00
Moritz Bunkus
0bbc8a30e4
fmt conversion: include centrally, link to library 2018-11-19 22:42:59 +01:00
Andriy Bilous'ko
2f11d815d0
translations: update Ukrainian 2018-11-19 22:39:41 +01:00
Moritz Bunkus
29cdba5f29
chapters: take smallest timestamp in first file into account
When generating chapters mkvmerge has to take into account things such
as splitting and file linking. This requires shifting chapter
timestamps to match file timestamps. However, for files which don't
start at 0 generated chapters would be wrongfully shifted down to
below 0 causing invalid timestamps.

Fixes #2432.
2018-11-16 09:54:52 +01:00
Moritz Bunkus
d672c35354
tests: switch to mkvextract's new syntax 2018-11-16 09:51:30 +01:00
Moritz Bunkus
88ef93984f
MP4 reader: don't read atom data beyond parent atom's size
Fixes #2431.
2018-11-15 20:03:07 +01:00
Moritz Bunkus
497d9d0874
MP4 reader: re-factor parsing atoms
This moves code common to all atom parsing functions out into a single
function.
2018-11-15 19:54:24 +01:00
Jan Mazurczyk
4be727b933
translations: update Polish 2018-11-14 15:33:27 +01:00