Commit Graph

9490 Commits

Author SHA1 Message Date
René Maassen
52c0138ad7 translations: update Dutch 2016-03-30 18:43:40 +02:00
René Maassen
304d253c7c translations: update Dutch 2016-03-30 18:41:42 +02:00
Moritz Bunkus
97427d2fd0 AVC/h.264: handle interlaced bottom field first correctly
The currently queued frames must be flushed before either a progressive
key frame or before the first field of an interlaced key frame. The
first field may also be the bottom field even though that is rare.
2016-03-29 22:08:43 +02:00
Moritz Bunkus
f7cfa96ec9 AVC/h.264: add more debug code 2016-03-29 20:55:38 +02:00
Moritz Bunkus
ad4fc3ea30 ChangeLog: udpate 2016-03-29 20:27:58 +02:00
Moritz Bunkus
42271f5c57 JSON: update nlohmann's JSON library
The old revision has a serious memory usage issue. For example, on
Windows a 650 KB JSON file results in memory usage of roughly 2 GB of
allocated RAM that won't be freed anymore.

The updated version doesn't have this problem anymore.

Fixes #1631.
2016-03-29 20:05:50 +02:00
Moritz Bunkus
ac1aa8f374 QuickTime/MP4 reader: JSON ident: report audio sampling frequency as an integer
My JSON schema says it should be an integer, so make it one and not a
floating point number.

All other input modules already either use integers for storing the
value or cast the floating point variables to integers before adding
them to the JSON output.

This will only required required with an updated version of nlohmann's
JSON library as the current library implicitly casts the float to an
int. The updated version won't do that anymore and preserve the type.
2016-03-29 20:01:23 +02:00
Ricardo Perdigão
bb9f40d8b7 translations: update Portuguese 2016-03-29 15:01:18 +02:00
Moritz Bunkus
3c27ccf5d0 Rakefile: optionally include Transifex push/pull targets for languages in -T 2016-03-29 14:57:08 +02:00
Moritz Bunkus
f26fe8211e translations: update list of translatable strings 2016-03-29 14:47:58 +02:00
Moritz Bunkus
e4c56bec91 AVC/h.264: remove commented-out code 2016-03-29 12:32:55 +02:00
Moritz Bunkus
4646833b8c AVC/h.264: add debug output for flushing on key frames 2016-03-29 12:32:25 +02:00
Moritz Bunkus
d3d2b8aa46 MPEG TS reader: improve debug output 2016-03-29 12:31:31 +02:00
Timofey Lisunov
c2ff22e540 translations: update Russian 2016-03-29 08:56:39 +02:00
Moritz Bunkus
c8a20d52a4 Mac OS build: link with -headerpad_max_install_names
The executable headers on Mac OS contain paths to shared libraries. When
building the disk image these absolute paths must be changed into ones
relative to the executable's location so that the end user doesn't have
to install those libraries (Qt in this case) system-wide.

Unfortunately there may not be enough room in the headers for this
substitution. The additional linker flag "-headerpad_max_install_names"
forces the linker to reserve enough space.
2016-03-28 18:17:46 +02:00
Moritz Bunkus
5d5767d95c Bump version number, set release code name, add release message 2016-03-28 17:56:53 +02:00
Timofey Lisunov
19dc1e36c5 translations: update Russian 2016-03-28 17:55:57 +02:00
Moritz Bunkus
9a2beaca81 build system: add git sub-command to action side of non-verbose output 2016-03-28 17:41:07 +02:00
Moritz Bunkus
9bbe8da474 build system: puts_runq has been refactored to puts_qaction, not puts_vaction 2016-03-28 17:40:48 +02:00
Moritz Bunkus
39f421bffb Transifex pull: use Plural-Forms meta entry from Transifex 2016-03-28 17:36:47 +02:00
Potato
460504b5ef translations: update Korean 2016-03-28 17:35:03 +02:00
Moritz Bunkus
78a561113d build system: puts_runq has been refactored to puts_vaction 2016-03-28 17:34:32 +02:00
Moritz Bunkus
ff42108c44 subtitle packetizer: assume system character set if none is given
This is a regression introduced in
8ca1160de0 which was supposed to fix
--sub-charset having an effect on files with a byte-order
mark (BOM).

Problem is that the supposed fix also made the subtitle packetizer only
recode if a character set was explicitly given even for files which do
not contain a BOM. Instead it should recode from the system's character
set in such a case. This is done if charset_converter_c::init() is
called with an empty string. Unfortunately commit 8ca1160 changed the
packetizer not to call charset_converter_c::init() if the given
character set is empty.

Thee semantics are:

- "recode" is not set if the source is known to be in UTF-8 already,
  e.g. if the track is read from an SRT file with a BOM or if it's read
  from a Matroska file.
- "is_utf8" is set if the source is known to be in UTF-8 for other
  reasons.

Therefore if recode is set and is_utf8 isn't then the conversion must
take place no matter if --sub-charset is given or not. If it is
given (m_ti.m_sub_charset is not empty) then use that;
otherwise (m__ti.m_sub_charset is empty) use the system's character
set.

Fixes #1639.
2016-03-28 17:24:23 +02:00
KonaBlend
ca686f2ff8 build system: consolidate puts_runq and $verbose 2016-03-28 05:32:00 -04:00
Moritz Bunkus
5c33f13935 Merge pull request #1637 from KonaBlend/pch
build system: fix moc dependencies
2016-03-28 09:20:02 +02:00
KonaBlend
693de4f112 build system: fix moc dependencies
- fix is a combination of 95c2edd3 and cee1debe progression
- 95c2edd3 masked a cee1debe regression

When pch is enabled we must establish a .moco => .moc dependency
(regressed by cee1debe).

Other changes are cosmetic.
2016-03-27 17:21:58 -04:00
Moritz Bunkus
f50e956d22 mkvmerge: update chapter size before deciding to overwrite chapter void
Without a call to UpdateSize() the actual size of the chapters to be
written would not be known. Therefore the decision whether or not to
overwrite the void placeholder reserved for chapters would be made based
on wrong data. In effect mkvmerge was always trying to overwrite the
void which ultimately failed because it was actually calling
UpdateSize() and saw that the new elements wouldn't fit.

This affected chapters generated with --generate-chapters but not
chapters added through other means (e.g. --chapters or when reading them
from other source files). For the latter other code paths were already
calling UpdateSize() in appropriate places.
2016-03-27 17:44:31 +02:00
Potato
c8c68e71da translations: update Korean 2016-03-27 16:06:56 +02:00
Andriy Bilous'ko
474f0e22ce translations: update Ukrainian 2016-03-27 16:06:12 +02:00
Moritz Bunkus
e1484ae588 DTS packetizer: only use channel count from core when reducing 2016-03-27 15:00:55 +02:00
Moritz Bunkus
f21b7ca87d test base class: method for identifying file & returning parsed JSON 2016-03-27 15:00:12 +02:00
Moritz Bunkus
cc06e3fa53 mkvmerge: cosmetics: use mtx::included_in for list comparison 2016-03-27 14:09:21 +02:00
Moritz Bunkus
a709316837 mkvmerge: accept "-J file" as a shortcut for "-F json -i file" 2016-03-27 14:08:53 +02:00
Moritz Bunkus
e7ca4a314a Mac OS: make SCRIPT_PATH absolute 2016-03-27 11:14:06 +02:00
Moritz Bunkus
741327c0e7 Mac OS: build Qt 5.5.1 2016-03-27 11:13:31 +02:00
René Maassen
8bac2cb666 translations: update Dutch 2016-03-27 08:48:47 +02:00
Moritz Bunkus
c7e4902ac6 Merge pull request #1635 from KonaBlend/pending
fix regression from 7e600c7
2016-03-26 15:32:27 +01:00
KonaBlend
c7ef62e513 fix regression from 7e600c7 2016-03-26 10:26:51 -04:00
Moritz Bunkus
b968fa8930 Bump version number, set release code name, add release message 2016-03-26 14:18:31 +01:00
Moritz Bunkus
703dc12222 ChangeLog: add entry about explicit pre-compiled headers 2016-03-26 14:11:59 +01:00
Moritz Bunkus
95c2edd329 build system: fix dependencies for pre-compiled headers
The error was that a dependency was set from the source files to the
pre-compiled header (e.g. src/mkvmerge/mkvmerge.cpp =>
src/common/common_pch.h.pch). The dependency must be for the object
file, though, otherwise the source files will always be considered to be
out of date.
2016-03-26 13:21:59 +01:00
Moritz Bunkus
98e5bda5e9 build system: fix indentation 2016-03-26 13:10:31 +01:00
Moritz Bunkus
7e600c7e70 build system: centralize runq output
That way adjusting to a uniform width is easier.
2016-03-26 12:34:52 +01:00
Moritz Bunkus
535a188255 build system: remove outdated rule for wxWidgets help books 2016-03-26 12:32:46 +01:00
Moritz Bunkus
8af78d72fc build system: add targets for pushing to Transifex 2016-03-26 12:15:11 +01:00
Moritz Bunkus
63b07980a7 build system: only pull from Transifex if no unstaged changes exist 2016-03-26 11:58:44 +01:00
Moritz Bunkus
0ad5131eba build system: add target for verifying there are no unstaged changes 2016-03-26 11:56:40 +01:00
Moritz Bunkus
2034c3b614 translations: don't push fuzzy entries 2016-03-26 11:28:23 +01:00
Dean Lee
0e069269a5 translations: update Chinese Simplified 2016-03-26 10:40:28 +01:00
Potato
75c3f0458d translations: update Korean 2016-03-26 10:38:38 +01:00