Commit Graph

15176 Commits

Author SHA1 Message Date
Moritz Bunkus
d34c9870ca
SVG icon theme: replace custom icon for audio tracks with SVG from Oxygen
Part of the fix of #3335.
2022-04-24 13:41:20 +02:00
Moritz Bunkus
9750105661
SVG icon theme: replace custom icon for subtitles with SVG from Oxygen
Part of the fix of #3335.
2022-04-24 13:41:20 +02:00
Moritz Bunkus
9208ccc309
SVN icon theme: add custom SVG variants for certain custom PNG ones
Part of the fix of #3335.
2022-04-24 13:41:20 +02:00
Moritz Bunkus
4942b2d555
SVN icon theme: remove PNG icons for which SVG variants exist
Part of the fix of #3335.
2022-04-24 13:41:20 +02:00
Moritz Bunkus
1c05841113
SVG icon theme: add SVG variants of most raster icons
Part of the fix of #3335.
2022-04-24 13:41:20 +02:00
Moritz Bunkus
3405d57ac3
SVG icon theme: load icons via a custom MKVToolNix GUI theme
Part of the fix of #3335.
2022-04-23 21:15:21 +02:00
Moritz Bunkus
bff1469dd2
Windows installer: don't try to install mkvtoolnix.xml man pages 2022-04-23 21:15:21 +02:00
Moritz Bunkus
f08d8894b9
GUI: system info: add message about what "supported audio codecs/formats" affects 2022-04-23 21:15:21 +02:00
Moritz Bunkus
f4a2f5ac81
GUI: use scaling factor "rounnd, prefer floor" on Qt 6 2022-04-23 20:38:10 +02:00
Moritz Bunkus
4cc30ec4ef
GUI: create full object for mutex locker, not a temporary 2022-04-23 20:38:10 +02:00
Moritz Bunkus
39529c226b
languages/scripts/regions/IANA lists: use different method of initialization
The prior method was to generate one line of
`g_container.emplace_back(…)` per entry in the list & letting the
compiler chew on that. Each string argument in that call was done was
`u8"Some Name"s`, meaning as a std::string instance.

Drawbacks:

• takes the compiler ages to compile, even forcing me to drop all
  optimizations for the ISO-639 language list file

• even smaller files such as the IANA language subtag registry lists
  take more than 30s to compile

• due to no optimizations initialization is actually not as fast as
  could be

The new method uses a plain C-style array of structs with `char
const *` entries for the initial list. The initialization method then
copies the entries from that list to the actual container, again using
`std::emplace_back(…)`.

This yields sub-1s compilation times even with the longest file, the
ISO-639 language list, and the runtime initialization is actually
faster.
2022-04-23 00:00:15 +02:00
Moritz Bunkus
4f95d68e5c
build system: convert to one exe per benchmark file 2022-04-22 21:31:37 +02:00
Antoni Bella Pérez
2d9f3de731
program translations: update Catalan 2022-04-20 19:47:39 +02:00
Andrei Stepanov
cec6ad17aa
program translations: update Russian 2022-04-20 19:47:26 +02:00
Andrei Stepanov
25ec6ec63c
man page translations: update Russian 2022-04-20 19:47:17 +02:00
Moritz Bunkus
357ec495ed
SRT reader: skip entries where end timestamp less than or equal start timestamp
Fixes #3332.
2022-04-20 19:45:50 +02:00
Fúlvio Alves
dedb7da466
program translations: update Brazilian Portuguese 2022-04-15 21:02:33 +02:00
Ricardo Perdigão
254ab34cde
program translations: update Portuguese 2022-04-15 21:02:25 +02:00
Andrei Stepanov
582a04284e
man page translations: update Russian 2022-04-15 21:02:10 +02:00
Moritz Bunkus
39377265c5
kax_analyzer_c: update internal records after removing trailing void elements
The actual file modification was executed (truncating before the last
void element), but the internal representation wasn't updated. This
lead to following validity checks to fail as what was expected to be
in the file didn't match what actually was in the file.

Part of the fix of #3325.
2022-04-15 20:59:14 +02:00
Moritz Bunkus
4113de427c
kax_analyzer_c: add more specific debug output in case of exceptions 2022-04-15 20:57:19 +02:00
Moritz Bunkus
8972f6500a
fix spelling mistake 2022-04-15 20:54:22 +02:00
Moritz Bunkus
9e8f7e47f8
update libebml 2022-04-15 18:52:48 +02:00
Moritz Bunkus
67d01ab318
doc type version handler: don't try to make EBML head's "size" field longer than 8 bytes
When replacing an element with a new one, the new one might be exactly
one byte smaller than existing one. In that case an EBML void element
cannot be written after the new element as a void element's minimum
size is two bytes (one byte ID, one byte "size" field).

So far the strategy to deal with those was to force the new element's
"size" field to be one byte larger than it needs to be, therefore
covering that one byte after where its data would have ended had the
minimum size be used.

Problem is that the "size" field's maximum length is eight bytes. If
the existing element's "size" field is already eight bytes long,
increasing it by one won't work.

However, in the case of the "EBML head" master element this isn't a
problem as that element only ever contains a handful of
elements. Instead of making the "size" field larger, we can easily
reduce its size down to one or two bytes, freeing up up to seven bytes
— which then allows a void element to be written after the new element
as we now have up to eight bytes free after the new head element.

Part of the fix of #3325.
2022-04-15 18:52:48 +02:00
Moritz Bunkus
ba13c0510e
tools: update element names from libEBML & libMatroska 2022-04-15 18:52:48 +02:00
Moritz Bunkus
45dcbfe59c
cosmetic: downcase element names 2022-04-15 11:57:45 +02:00
Moritz Bunkus
023c44e478
tools: rake target for updating element names from libMatroska 2022-04-15 11:57:45 +02:00
Burak Yavuz
d54e123fb0
program translations: update Turkish 2022-04-14 18:42:39 +02:00
Vlad Anisimov
975aa4ee2d
program translations: update Ukrainian 2022-04-14 18:42:31 +02:00
Vlad Anisimov
cf0f5fab17
man page translations: update Ukrainian 2022-04-14 18:42:24 +02:00
Timofey Lisunov
fb20dacf71
program translations: update Russian 2022-04-14 18:42:01 +02:00
Andrei Stepanov
d3d4a6b11e
man page translations: update Russian 2022-04-14 18:41:54 +02:00
Israel Lucas Torrijos
e46cccbe2a
program translations: update Spanish 2022-04-14 18:41:45 +02:00
Israel Lucas Torrijos
b994620a67
man page translations: update Spanish 2022-04-14 18:41:38 +02:00
Moritz Bunkus
fa49044785
PGS packetizer: try to detect & fix bogus timestamps
Implements #3268.
2022-04-14 18:05:00 +02:00
Moritz Bunkus
f532be3f56
PGS reader & packetizer: improve debug output 2022-04-14 18:05:00 +02:00
Moritz Bunkus
1ccce1a9bf
Windows MSIX: don't sign with custom certificate by default 2022-04-12 10:06:22 +02:00
Moritz Bunkus
49001033fb
packaging: use bundled drake part 2 2022-04-11 23:39:34 +02:00
Moritz Bunkus
0e34984bae
packaging: use bundled drake 2022-04-11 21:39:49 +02:00
Moritz Bunkus
5245f74b0e
Revert "build system: remove included drake"
This reverts commit 040c0fccf4.
2022-04-11 21:36:55 +02:00
Moritz Bunkus
286c1b7861
Rakefile: force parallel processing for rake
For some stupid reason plain old rake doesn't parallelize task
execution properly (at all?) if there's only one top level
target (e.g. "default"), no matter how high `-j` is set to. drake does
much better.
2022-04-11 21:36:55 +02:00
Moritz Bunkus
9c20b95ab4
MXE setup: compile with gcc 11; compile Qt 6 2022-04-11 19:02:17 +02:00
Moritz Bunkus
b730b04836
RPM spec file: call configure from %build section, not %prep/%setup
Otherwise it'll lead to a gcc failure during configure run:

configure:4114: checking whether the C compiler works
configure:4136: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/home/mosu/build/rpm/BUILD/.package_note-mkvtoolnix-67.0.0-1.x86_64.ld conftest.c  >&5
/usr/bin/ld: cannot open linker script file /home/mosu/build/rpm/BUILD/.package_note-mkvtoolnix-67.0.0-1.x86_64.ld: No such file or directory
collect2: error: ld returned 1 exit status
2022-04-10 19:00:25 +02:00
Moritz Bunkus
0d9fe1dae3
bump version number, set release code name 2022-04-10 15:54:33 +02:00
Moritz Bunkus
cb1c8cb6c2
NEWS: reorder entries for easier consumption 2022-04-10 15:52:02 +02:00
TMTisFree
737a9365b8
program translations: update French 2022-04-10 14:53:12 +02:00
Moritz Bunkus
60de2d888c
GUI: mux: make track property group boxes collapsible
The class implementing a collapsible group box,
`QgsCollapsibleGroupBox`, was extracted from the QGIS project. It is
licensed under the GNU GPL v2 or later.
2022-04-10 13:32:41 +02:00
Moritz Bunkus
86f2db4fad
README: update URL for fmtlib 2022-04-10 13:20:45 +02:00
Dian Li
2213f5fdb4
program translations: update Chinese Traditional (Traiwan) 2022-04-09 23:12:36 +02:00
Dian Li
42df1fd358
program translations: update Chinese Simplified (Singapore) 2022-04-09 23:12:25 +02:00