Moritz Bunkus
bbb2f069eb
MIME detection: use libmagic's default path on Windows, too
...
On Windows libmagic uses the ANSI file functions for opening
files. Therefore passing file names with non-ASCII/non-ANSI characters
won't work a lot of the time. Therefore letting libmagic's look for
and use its default location algorithm is safer. As a result
`magic.mgc` must be stored in `share/misc` instead of `data`.
Fixes #2212 .
2018-02-03 11:39:01 +01:00
Moritz Bunkus
b74a67a79d
MIME: move to namespace mtx::mime
2018-02-03 10:37:58 +01:00
Moritz Bunkus
9e98109e9c
common: split MIME stuff from extern_data.{cpp,h}
2018-02-03 10:31:21 +01:00
Moritz Bunkus
2fee6c2d52
JSON parser: allow and ignore C++-style line comments
2018-01-31 21:17:38 +01:00
Moritz Bunkus
a1cbb5a63e
mm_text_io_c: refactor read_next_char
to return std::string
, rename
2018-01-31 09:21:29 +01:00
Moritz Bunkus
a6d7ce893c
kax_file_c: only report cluster timestamp after resync if element found is cluster
2018-01-30 21:10:06 +01:00
Moritz Bunkus
b11d441811
kax_file_c: only report cluster timestamp after resync if cluster is found
...
If the first level 1 element after the resync is something
else (e.g. chapters, tags, cues etc.), then no element is returned,
and the result would be a segfault.
Fixes #2211 .
2018-01-30 21:05:56 +01:00
Moritz Bunkus
a6100abe0f
tests: intentional update due to translation updates
2018-01-28 17:15:22 +01:00
Jan Mazurczyk
53b2051bff
translations: update Polish
2018-01-28 17:14:19 +01:00
Danko
22d3af6019
translations: update Serbian Latin
2018-01-28 17:04:09 +01:00
Dian Li
9eb6c6fe16
translations: update Chinese Simplified
2018-01-28 17:03:29 +01:00
Timofey Lisunov
e6b4000b00
translations: update Russian
2018-01-28 17:03:21 +01:00
Potato
ae0aaa919b
translations: update Korean
2018-01-28 17:03:13 +01:00
TMTisFree
837bab8a79
translations: update French
2018-01-28 17:03:09 +01:00
Xabier Aramendi
df2d4b4e97
translations: update Basque
2018-01-28 17:02:58 +01:00
Israel Lucas Torrijos
4b1fa0c66c
translations: update Spanish
2018-01-28 17:02:51 +01:00
Antoni Bella Pérez
2d9df78fd3
translations: update Catalan
2018-01-28 17:02:44 +01:00
Moritz Bunkus
dc07742588
libebml: update
2018-01-22 23:41:57 +01:00
Moritz Bunkus
0dc4ed132c
Rakefile: read build-config.local
if present and overlay over build-config
2018-01-22 23:41:32 +01:00
Timo Gurr
8b229b399c
cmark.m4: don't hardcode the pkg-config command
2018-01-22 19:05:06 +01:00
Moritz Bunkus
a26be1f600
configure: verify presence of msgfmt
instead of relying on it
2018-01-21 13:04:29 +01:00
Moritz Bunkus
de37cf3418
build system: output error if command to execute isn't found
2018-01-21 12:48:15 +01:00
Moritz Bunkus
6e89cbc05d
kax_info_c: Windows: write line endings as \r\n
2018-01-19 22:02:29 +01:00
Moritz Bunkus
54e6ee0b1b
propedit: fix compilation with older compilers/standard C++ libs
2018-01-18 21:20:01 +01:00
Moritz Bunkus
c6ad716b50
translations: update list of translatable strings; update German translation
2018-01-18 21:03:52 +01:00
Potato
87c080f326
man page translations: update Korean
2018-01-18 21:01:19 +01:00
Dian Li
e3990cccdd
translations: update Chinese Simplified
2018-01-18 21:00:59 +01:00
Timofey Lisunov
d53b958865
translations: update Russian
2018-01-18 21:00:54 +01:00
Potato
28897d09af
translations: update Korean
2018-01-18 21:00:49 +01:00
Israel Lucas Torrijos
1177d93204
translations: update Spanish
2018-01-18 21:00:43 +01:00
Antoni Bella Pérez
c67699cd6d
translations: update Catalan
2018-01-18 21:00:25 +01:00
Jan Mazurczyk
2955de750b
translations: update Polish
2018-01-18 20:59:41 +01:00
Moritz Bunkus
80b5be1fd5
propedit: track statistics: account number of uncompressed bytes
...
Fixes #2200 .
2018-01-18 20:58:33 +01:00
Moritz Bunkus
d609e0364b
merge: track statistics: don't write TagDefault=1
as it's the default anyway
...
Implements #2202 .
2018-01-18 20:04:56 +01:00
mkver
31d174411b
Update de.po
2018-01-18 11:18:45 +00:00
Moritz Bunkus
ce191d097b
configure: handle --disable-ubsan
and --disable-addrsan
correctly
...
Fixes #2199 .
2018-01-16 09:09:25 +01:00
Moritz Bunkus
39b3e34f6e
translations: update list of translatable strings; update German translation
2018-01-15 23:26:58 +01:00
Moritz Bunkus
9586d394ef
macOS build: build cmake & cmark
2018-01-15 19:32:33 +01:00
Moritz Bunkus
43b0ec1b20
bump version number, set release code name
2018-01-15 18:55:01 +01:00
Moritz Bunkus
8e2d70af64
NEWS.md: reorder & reword elements for easier consumption
2018-01-15 18:51:06 +01:00
Moritz Bunkus
da6c8bb6fc
AUTHORS: update for Spanish translators
2018-01-15 18:40:48 +01:00
Timofey Lisunov
7ffb26030a
translations: update Russian
2018-01-15 18:40:13 +01:00
David Rey
c6988a6341
translations: update Spanish
2018-01-15 18:40:04 +01:00
Antoni Bella Pérez
202cbba6ba
translations: update Catalan
2018-01-15 18:38:39 +01:00
Moritz Bunkus
7fd87981a6
MPEG TS reader: drop incomplete PES packets when errors are detected
...
Before this change the incomplete packet would be filled with data
from other PES packets from after the error location. This would lead
to invalid frame data.
So now both the currently incomplete PES packet as well as all
following TS packets that don't have the
`payload_unit_start_indicator` flag set will be dropped.
mkvmerge assumes an error is present either if the
`transport_error_indicator` flag is set in the transport stream packet
header, or if the `continuity_counter` header field's value doesn't
match the expected value based on the previous transport stream packet
for the same track.
Fixes #2181 .
2018-01-14 16:56:37 +01:00
Moritz Bunkus
eebe77f6a3
build system: use FileUtils.mkdir_p
instead of a mutex for creating directories
...
No need for a full-blown mutex as `mkdir_p` already handles the
directory existing correctly via catching the corresponding
exception.
See #2194 .
2018-01-13 21:30:56 +01:00
Moritz Bunkus
6b43072ed1
MPEG TS reader: only parse TS payload as PES if payload starts with PES start code
...
A transport stream packet doesn't have to contain a packetized
elementary stream packet. If a TS packet is treated as such and
doesn't actually contain a PES packet, then trying to extract
timestamps from it will only result in invalid timestamps.
Fixes #2193 .
2018-01-13 21:29:09 +01:00
Moritz Bunkus
dd48bdb7e2
NEWS.md: update for fixing #2194 .
2018-01-11 09:45:45 +01:00
Moritz Bunkus
f36cfe74a5
mm_read_buffer_io_c: add method for changing the buffer size
2018-01-11 09:43:59 +01:00
Moritz Bunkus
635e546a58
build system: avoid race condition when creating dependency directories
2018-01-08 21:10:52 +01:00