Commit Graph

12260 Commits

Author SHA1 Message Date
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
Roberto Boriotti
81be5c41e6
translations: update Italian 2018-11-14 15:33:18 +01:00
Moritz Bunkus
40e33417ff
AppImage: use gcc 7 for compilation 2018-11-09 18:11:14 +01:00
Moritz Bunkus
89f0c6defb
RPM spec: require gcc 7 on CentOS 2018-11-09 16:45:57 +01:00
Moritz Bunkus
654907c6d1
use own byte swapping function instead of swab function from unistd.h
That function isn't available on all platforms, e.g. Android. See #2428.
2018-11-09 14:03:18 +01:00
Danko
2f54526dc3
translations: update Serbian Latin 2018-11-07 17:19:47 +01:00
Dian Li
8901f65e3a
translations: update Chinese Simplified 2018-11-07 17:19:47 +01:00
Andrei Stepanov
198991283c
translations: update Russian 2018-11-07 17:19:47 +01:00
Israel Lucas Torrijos
679f0a2639
translations: update Spanish 2018-11-07 17:19:47 +01:00
Antoni Bella Pérez
9b1aa1f8ea
translations: update Catalan 2018-11-07 17:19:47 +01:00
stevenlele
d27519df27 Fix mkvextract document typo 2018-11-06 06:13:40 +00:00
Moritz Bunkus
92a57a2e00
os.h: use "size of pointer" pre-processor define for determining build bit width
Fixes #2400.
2018-11-05 14:39:14 +01:00
Moritz Bunkus
3ee0b9276e
GUI: don't compile logind sleep inhibitor if QtDBus isn't available 2018-11-05 09:08:47 +01:00
Moritz Bunkus
e8342d4d92
GUI: inhibit sleep while the job queue is running on macOS
Part of the implementation of #2411.
2018-11-04 21:06:20 +01:00
Moritz Bunkus
2250476c3a
GUI: inhibit sleep while the job queue is running on Windows
Part of the implementation of #2411.
2018-11-04 18:58:06 +01:00