Commit Graph

12389 Commits

Author SHA1 Message Date
Moritz Bunkus
47058a6da2
HEVC: use height of full frame for dimensions for interlaced streams
Fixes #2446.
2019-01-26 13:48:52 +01:00
Moritz Bunkus
dfe23e5f52
AppImage build: fix building against self-compiled Boost 2019-01-26 13:31:27 +01:00
Moritz Bunkus
00468a549b
macOS build: move certain compiler & linker flags to build system
That way they don't have to be set manually before running `configure`.

Fixes #2485.
2019-01-26 12:02:55 +01:00
Moritz Bunkus
1f077f99cb
macOS build: don't use a cache file for configure 2019-01-25 22:47:46 +01:00
Moritz Bunkus
77b810a9d2
RPM spec file: use self-built, current Boost instead of system Boost 2019-01-25 22:37:42 +01:00
Moritz Bunkus
e249e396f4
fix wrong naming due to copy & paste 2019-01-25 15:06:53 +01:00
Moritz Bunkus
9e1a1f3de6
subtitles: allow duration = 0ms
Various places needed to differentiate better between "no duration is
known or set for this packet" and "this packet has a duration of
0ms". The former means that no duration element should be written to
the file, and the use of `SimpleBlock` instead of `BlockGroup` is
OK. The latter on the other hand means that a `BlockGroup` must be
used and a duration element must be added.

This core change uncovered a couple of subtle bugs in other places
where subtitles were handled:

• The Matroska reader passed 0 as the duration even if no duration
  element was present making it impossible for other code to
  differentiate between "no duration present" and "duration present
  but set to 0".
• The DVB subtitle packetizer always enforced writing the duration
  even if the duration wasn't known.
• The Kate packetizer used a wrong dummy value of 1us for the duration
  for the "end of stream" packet as the core would not write a
  duration of 0.
• The text subtitle packetizer was using the difference between the
  current packet and the following one for packets were the duration
  was 0 or unknown. The correct behavior is to do this only if the
  duration is unknown, not if it is 0.

Fixes #2490.
2019-01-24 16:01:22 +01:00
Moritz Bunkus
52420c6a51
mkvmerge: more debug output regarding durations 2019-01-23 19:51:03 +01:00
Moritz Bunkus
e978392359
cosmetics: alignment 2019-01-23 16:11:21 +01:00
Moritz Bunkus
df751b37d7
bluray_dump: add support for dumping index.bdmv files 2019-01-23 10:42:49 +01:00
Moritz Bunkus
378686a08d
bluray_dump: add support for dumping .clpi (clip information) files 2019-01-22 18:05:00 +01:00
Moritz Bunkus
78a46ac215
bit_reader_c: add function for reading bits into a std::string 2019-01-22 18:01:09 +01:00
Moritz Bunkus
ba931be6c5
rename mpls_dump to bluray_dump & fix --help & --version output 2019-01-22 18:00:58 +01:00
Moritz Bunkus
7cd404894d
refactoring: add & use helpers for finding files in Blu-ray dir structures 2019-01-21 21:03:03 +01:00
Moritz Bunkus
7dccb34837
refactoring: fix Blu-ray spelling/capitalization 2019-01-21 19:51:38 +01:00
Moritz Bunkus
7d4141e48f
refactor: move Blu-ray related source to src/common/bluray directory 2019-01-21 14:58:39 +01:00
Dian Li
172e676fd2
man page translations: update Chinese Simplified 2019-01-21 14:57:58 +01:00
Dian Li
f01a3ff53d
translations: update Chinese Simplified 2019-01-21 14:57:51 +01:00
Burak Yavuz
9494f40d15
translations: update Turkish 2019-01-21 14:57:36 +01:00
Timofey Lisunov
a37f8231e3
translations: update Russian 2019-01-21 14:57:29 +01:00
Roberto Boriotti
e7dc7c4fe2
translations: update Italian 2019-01-21 14:57:20 +01:00
Trottel
714aba32bf
translations: update Czech 2019-01-21 14:57:12 +01:00
Antoni Bella Pérez
fa18fedc3b
man page translations: update Catalan 2019-01-21 14:56:59 +01:00
Antoni Bella Pérez
013fd63cf0
translations: update Catalan 2019-01-21 14:56:49 +01:00
Moritz Bunkus
3ae299da07
GUI: character set preview dlg: keep scroll position when changing character sets
Implements #2489.
2019-01-21 14:12:18 +01:00
Moritz Bunkus
37e2da5502
MP4 reader: ignore edit lists consisting solely of unsupported elements
Unsupported edits such as dwells were simply ignored. If all of them
were ignored, then the new timeline was empty resulting in no data
being copied for that track. Instead simply ignore edit lists whose
new timeline ends up empty after the entries have been processed.

Fixes #2487.
2019-01-19 11:12:26 +01:00
Moritz Bunkus
ec5935e46f
unify HDMV PGS related file & symbol names 2019-01-12 20:22:28 +01:00
Moritz Bunkus
e8fe36bdbd
man page translations: update list of translatable strings; update German translation 2019-01-10 22:18:14 +01:00
Moritz Bunkus
05261a36c4
translations: update list of translatable strings; update German translation 2019-01-10 22:14:16 +01:00
Burak Yavuz
2fc6a3816f
translations: update Turkish 2019-01-10 22:07:43 +01:00
Roberto Boriotti
b286bbd6b3
translations: update Italian 2019-01-10 22:07:36 +01:00
TMTisFree
7aed297dd3
translations: update French 2019-01-10 22:07:19 +01:00
Israel Lucas Torrijos
f9457c8e21
translations: update Spanish 2019-01-10 22:07:00 +01:00
Moritz Bunkus
901e49b049
mm_file_io_c: don't flush on close by default
When closing files that were opened for writing, cached data will not
be flushed to storage automatically anymore. This reverts the
workaround implemented for #2469. A new option was added to both
programs (`--flush-on-close`) that re-enables flushing for people who
are affected by data loss such as described in #2469.

The reason is that automatic flushing causes long delays in processing
queues when the output by mkvmerge/mkvextract isn't the final product but
just an intermediate result to be processed further.

Implements #2480.
2019-01-10 22:05:34 +01:00
Moritz Bunkus
f3e1688ac2
cosmetics: fix alignment 2019-01-10 21:06:59 +01:00
Moritz Bunkus
86659e0e4d
HDMV PGS merging/extraction: add debugging output 2019-01-10 21:06:45 +01:00
Moritz Bunkus
49d81f4e95
HDMV PGS: convert preprocessor defines to static constexprs 2019-01-10 21:06:44 +01:00
Moritz Bunkus
86e754bf90
HDMV PGS: convert preprocessor defines to static constexprs 2019-01-08 21:06:25 +01:00
Moritz Bunkus
8cde39725e
build system: update Qt requirement to 5.4.0 or newer 2019-01-06 15:29:33 +01:00
Moritz Bunkus
653f74b692
source: fix implicit narrowing conversion in brace initializers
Fixes #2477.
2019-01-06 14:19:20 +01:00
Moritz Bunkus
61cf09e478
bump version number, set release code name 2019-01-05 16:09:05 +01:00
TMTisFree
49be135ff3
translations: update French 2019-01-05 16:02:32 +01:00
Israel Lucas Torrijos
136a2ebdfd
translations: update Spanish 2019-01-05 16:02:11 +01:00
Moritz Bunkus
01f95c316e
GUI: chapters: don't remove tab while appending on chapter read errors 2019-01-05 15:55:18 +01:00
Moritz Bunkus
18b9d3d89c
GUI: chapters: retain analyzer when opening Matroska file without chapters
The analyzer must be kept as it is needed when writing the chapters
back. This had always been the case until the implementation of #2439
where it got lost accidentally.

The result of not having the analyzer when saving is that the file is
truncated to a couple of KB, effectively destroying all of its content.

Fixes #2476.
2019-01-05 15:53:54 +01:00
Moritz Bunkus
ba10005ec4
NEWS.md: update for #2474. 2019-01-05 15:46:43 +01:00
Moritz Bunkus
2d7d27f504
build system: fix building with non-UTF-8 locales
Fixes #2474.
2019-01-05 15:10:14 +01:00
Moritz Bunkus
74da9dd6db
GUI: mux: implement dragMoveEvent for Tool
Due to a bug in Qt 5.12 on macOS, drag & drop only works if the
`dragMoveEvent` is implemented, too. See this discussion[1] on the Qt
forum and the corresponding bug report[2].

Implements a workaround for #2472.

[1]  https://forum.qt.io/topic/97649/bug-in-qt-5-12-drag-n-drop/56
[2]  https://bugreports.qt.io/browse/QTBUG-72844
2019-01-05 14:51:03 +01:00
Moritz Bunkus
2384deddd4
macOS build: fix minimum supported macOS version in documentation 2019-01-05 14:11:28 +01:00
Moritz Bunkus
54854c20ec
bump version number, set release codename 2019-01-04 13:35:06 +01:00