Commit Graph

11500 Commits

Author SHA1 Message Date
Moritz Bunkus
e7bfa0ad91 mkvinfo: remove GUI 2018-02-04 17:02:28 +01:00
Moritz Bunkus
dee85f5f63 MP4 reader: support HEVC/h.265 stored as Annex B byte streams
Fixes #2215.
2018-02-04 12:08:22 +01:00
Moritz Bunkus
709d7863c6 mkvmerge: handle appending files with additional parts correctly
The code path for handling appending was only triggered if there was
exactly one entry between the parenthesis (e.g. `… + '(' VTS_02_1.VOB
')'`), but not with two and more.

Additional parts are usually only used for content from DVDs, and
appending content from DVDs is not an often-used function, it
seems. Therefore this bug didn't affect the vast majority of users.
2018-02-03 22:05:04 +01:00
Moritz Bunkus
c72df58a91 GUI: mux: disable tracks by default when appending to disabled tracks
For example: you add a file, disable the second audio track. Then you
append another file (again having two audio tracks). The second audio
track from the appended file will end up appended to the second audio
track from the first file by default — and as that is disabled, the
appended second audio track should be disabled too.

This is even clearer when considering that the GUI doesn't allow the
user to enable an appended track that's appended to a disabled track.
2018-02-03 21:40:10 +01:00
Moritz Bunkus
c1e884d7b8 GUI: mux: allow changing subtitle character set for appended tracks, too
Unlike e.g. the track language, which only applies to the single
destination track, the subtitle character set is a property of the
source file/source container format. Therefore the user must be able
to set it for each source file/track, too. mkvmerge already follows
that model.

Fixes #2214.
2018-02-03 11:39:01 +01:00
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