Commit Graph

14592 Commits

Author SHA1 Message Date
Moritz Bunkus
3c1b472ea9
build system: fix descriptions of language list generation tasks 2021-08-07 17:12:38 +02:00
Moritz Bunkus
b9847f2bd6
build system: fix for rubyzip gem API changes in newer v2.x versions 2021-08-07 17:12:38 +02:00
Moritz Bunkus
ee8ac18402
GUI: auto-fix process priority if settings written v60 ≤ version < 60.0.0.18 2021-08-06 22:15:38 +02:00
Moritz Bunkus
f6b0f4420e
GUI: use "lower" process priority by default, not "lowest"
Turns out "lowest" really slows processing down, at least on Windows,
and is therefore not the best default.
2021-08-06 13:57:52 +02:00
Fúlvio Alves
535fc8ab9f
BCP 47: fix script/variants validation if any prefix restricts them
Example:

The `ekavsk` variant has three prefixes: `sr`, `sr-Latn` and
`sr-Cyrl`. This must be interpreted as "if the language tag contains a
script, it must be either `Latn` or `Cyrl`; no other script subtag is
allowed". Not having a script subtag is allowed as well.

In effect this means that the following three language tags are all
supposed to be valid: `sr-ekavsk`, `sr-Cyrl-ekavsk` and
`sr-Latn-ekavsk`. This part of the validation worked correctly.

However, any other script was considered to be valid as well,
e.g. `sr-Bali-ekavsk`. This was due to the first prefix `sr`, which,
on its own, is a prefix match of `sr-Bali-ekavsk`. This did not take
into account that there are other prefixes that do restrict the script
subtag.

This was fixed. Now only either no script subtag or a script subtag of
`Cyrl` or `Latn` is considered valid.
2021-08-05 20:14:54 +02:00
Fúlvio Alves
bd16327344
translations: update Brazilian Portuguese 2021-08-04 22:53:28 +02:00
Симеон Цветков
77517319a9
translations: update Bulgarian 2021-08-04 22:53:28 +02:00
Симеон Цветков
c7d55b2069
man page translations: update Bulgarian 2021-08-04 22:53:26 +02:00
Moritz Bunkus
acaf9e455e
IANA language subtag registry: update list of entries 2021-08-04 22:50:22 +02:00
Moritz Bunkus
2c5b3c27a8
IANA language subtag registry: fix reading continuation lines
Also shorten certain very long descriptions.
2021-08-04 22:47:48 +02:00
Moritz Bunkus
cbc1d6b645
AVC packetizer: cosmetics (indentation) 2021-08-04 15:31:01 +02:00
Moritz Bunkus
95361a8cc6
SSA/ASS: re-calculate frame numbers when appending 2021-08-04 15:30:57 +02:00
Moritz Bunkus
e828e89b0c
refactoring: make packetizer process_impl void 2021-08-02 21:31:27 +02:00
Moritz Bunkus
f673933e2f
refactoring: more const smart pointers 2021-08-02 21:15:11 +02:00
Moritz Bunkus
9a7a91a7d1
refactor "process" to generic "process" & packetizer-specific implementation 2021-08-02 20:59:11 +02:00
Moritz Bunkus
e502f1ac03
mkvmerge, GUI chapters: write legacy und for IETF language without 639-2 code
This patch changed two things. The first is that for all IETF chapter
language elements that don't contain a valid ISO 639-2
code (e.g. because they contain a 639-5 code instead) a legacy chapter
language element set to `und` ("undetermined") is written. Not writing
a legacy element would mean that legacy parsers that don't support
IETF language elements have to use the legacy element's default value
`eng` ("English") in its absence, which is clearly not the language
the author intended.

The second change simply ensures that when multiple legacy or IETF
languages are present, each value will only be written once. This also
effects the situation above: when e.g. two IETF language elements
without 639-2 codes exist in the same chapter display element, only
one legacy element will be written, set to `und`.

Fixes #3174.
2021-08-01 15:04:16 +02:00
Moritz Bunkus
4e81c99085
fix compilation on non-Windows 2021-07-31 23:10:42 +02:00
Moritz Bunkus
9352a69bab
GUI: mux: detect full BCP 47/RFC 5646 language tags in file names
Implements the rest of #3173.
2021-07-31 23:07:48 +02:00
Moritz Bunkus
5dc52310c2
GUI: mux: add - to default boundary chars for deriving track languages
Inspired by #3173.
2021-07-31 23:07:38 +02:00
Moritz Bunkus
1f6f9aba40
remove included copy of the Boost license 2021-07-31 20:00:14 +02:00
Moritz Bunkus
b4224edb83
use std::codecvt_utf8 instead of boost::utf8_codecvt_facet
Uses the standard library instead of third-party libraries & allows
the removal of the bundled copy in `lib/boost`.
2021-07-31 19:38:39 +02:00
Moritz Bunkus
0856b3a6bd
bump version number, set release codename 2021-07-31 14:25:23 +02:00
Moritz Bunkus
3416e3bfeb
NEWS: re-order & re-word for easier consumption 2021-07-31 14:18:37 +02:00
Paride Barison
c1341e376b
man page translations: update Italian 2021-07-31 13:57:17 +02:00
Moritz Bunkus
7a35c4cab4
GUI: settings: default to lowest process priority 2021-07-31 13:52:32 +02:00
Burak Yavuz
ab5cbb2a6e
translations: update Turkish 2021-07-25 18:42:05 +02:00
Timofey Lisunov
b7ceccf6fd
translations: update Russian 2021-07-25 18:41:59 +02:00
Moritz Bunkus
d69915c2e6
HEVC packetizer: copy parser instance at start of muxing process
When appending tracks, there's one packetizer instance for each source
file, in case of the HEVC packetizer each with its own HEVC ES parser
instance. In order to properly process all parameter sets all
packetizer instances must use the same ES parser instance, though.

So far the appended packetizers only copied the reference to the
preceding packetizer's ES parser instance the moment the connection
was made by mkvmerge's muxing core. This turns out to be too late:
there are situations in which data is passed to the appended
packetizer before that second "connect now" call has been made for
some reason. In that case that data was passed to the appended
packetizer's ES parser instance which is then thrown away in favor of
the preceding packetizer's ES parser instance, losing the frames in
the process.

The fix is rather obvious: copy the reference to the ES parser right
at the start of muxing when the first connection phase is run, before
any data is actually processed by them.

Fixes #3170.
2021-07-25 18:34:04 +02:00
Moritz Bunkus
e7dc1e178a
HEVC ES parser: debug: dump info about parameter sets/pending frame data 2021-07-25 18:28:06 +02:00
Roberto Boriotti
e5c5a95c8b
translations: update Italian 2021-07-24 19:01:11 +02:00
TMTisFree
2ec83c7d2e
translations: update French 2021-07-24 19:00:44 +02:00
Antoni Bella Pérez
9e1b06c22f
translations: update Catalan 2021-07-24 19:00:39 +02:00
Moritz Bunkus
a861434c80
GUI: mux: use natural sorting for file names
Handles numbers correctly.
2021-07-24 18:59:50 +02:00
Moritz Bunkus
34e6a52333
translations: update list of translatable strings; update German translation 2021-07-21 22:35:25 +02:00
Moritz Bunkus
e3736e9def
ISO 639: add codes from 639-5 that aren't part of 639-2 2021-07-21 22:34:26 +02:00
Burak Yavuz
6db5e8e3af
translations: update Turkish 2021-07-19 22:28:06 +02:00
Roberto Boriotti
4827202491
translations: update Italian 2021-07-19 22:28:01 +02:00
TMTisFree
10c398889d
translations: update French 2021-07-19 22:27:56 +02:00
Israel Lucas Torrijos
5d72018f8f
translations: update Spanish 2021-07-19 22:27:43 +02:00
Moritz Bunkus
fe79909f44
GUI: header editor: honor "use legacy MIME types for fonts" setting 2021-07-19 22:25:59 +02:00
Moritz Bunkus
7858db3ade
ISO 15924: added all private use entries, not just start & end 2021-07-19 14:32:12 +02:00
Moritz Bunkus
d2e0222418
ISO 3166: remove unused variable 2021-07-19 14:15:03 +02:00
Moritz Bunkus
e6eac871a2
GUI: preferences dialog: use no margin for all sub-pages 2021-07-17 22:15:45 +02:00
Moritz Bunkus
e104020eef
translations: update list of translatable strings; update German translation 2021-07-17 22:11:59 +02:00
Antoni Bella Pérez
aa874fe52d
translations: update Catalan 2021-07-17 22:07:49 +02:00
Moritz Bunkus
fbbc37a3af
GUI: source file model: remove unused icons 2021-07-17 22:05:05 +02:00
Moritz Bunkus
d0e95cc4ef
GUI: mux: added option for disabled file & track color indicators 2021-07-17 22:04:36 +02:00
Moritz Bunkus
5a353eba99
ISO 3166: update list of countries & regions from lists on the internet 2021-07-17 13:51:17 +02:00
Moritz Bunkus
f34fe823c4
ISO 3166: unify line format 2021-07-17 13:51:17 +02:00
Moritz Bunkus
f690be057b
build system: move HTML table data extraction to separate function 2021-07-17 13:51:17 +02:00