Commit Graph

11945 Commits

Author SHA1 Message Date
Moritz Bunkus
f9a61dd917 AVC: fix memory leak in SPS/FPS fixing code 2018-04-17 13:20:53 +02:00
Moritz Bunkus
aebf5e4d1e extract TTA: free allocated memory in close_file 2018-04-17 13:08:51 +02:00
Moritz Bunkus
7a4d89ee95 clusters: properly delete non-block elements on destruction 2018-04-17 09:43:07 +02:00
Moritz Bunkus
6bd1486abc EBML converter: clean up allocated but invalid element in error case 2018-04-16 22:59:49 +02:00
Moritz Bunkus
6742cb7c19 Ogg reader: no double allocation & single freeing when reading Vorbis comments 2018-04-16 21:37:15 +02:00
Moritz Bunkus
045fb9df48 avilib: free malloc'ed memory for super indexes 2018-04-16 21:33:06 +02:00
Moritz Bunkus
9867210534 chapters: use std::vector instead of manual memory management
Removes a memory leak when returning early.
2018-04-16 20:44:45 +02:00
Moritz Bunkus
b067013b34 propedit: fix memory leak when deleting properties 2018-04-16 20:39:18 +02:00
Moritz Bunkus
c1eeccec00 Vorbis packetizer: remove memory leak via safememdup in constructor 2018-04-16 20:36:00 +02:00
Moritz Bunkus
d6079e3dba MP3 packetizer: remove memory leak via safememdup in get_mp3_packet 2018-04-16 20:35:40 +02:00
Moritz Bunkus
eabbef32c5 build system: build with -Wshadow-compatible-local & fix warnings from it 2018-04-16 19:37:02 +02:00
Moritz Bunkus
5bc43a9b04 cosmetic: alignment 2018-04-15 11:33:25 +02:00
Moritz Bunkus
8495b32c7c Merge branch 'master' of gitlab.com:avostrik/mkvtoolnix 2018-04-15 11:31:31 +02:00
Moritz Bunkus
dfbf879d11 GUI: mux: copy title to destination file name: overwrite all up to last period
Fixes #2276.
2018-04-15 11:10:53 +02:00
Moritz Bunkus
b6daad6330 NEWS.md: use full name for MKVToolNix GUI 2018-04-11 19:58:04 +02:00
Moritz Bunkus
06948a4078 MXE setup: only add --enable-static-qt when creating static build 2018-04-11 19:57:30 +02:00
Andrey Vostrikov
e04d34b5ff Use memory_cptr for video colour source attribute type
Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
2018-04-11 18:42:16 +03:00
Andrey Vostrikov
34b11d684a Preserve Video Colour Space value for uncompressed video tracks
MKV files generated with GStreamer matroskamux for uncompressed video contain value in ColourSpace element.
If such file is edited with mkvmerge or mkvtoolnix-gui resulting file can't be decoded anymore by GStreamer.
Root cause is that GStreamer relies on presence of this element to chose pixel format for uncompressed video.

According to https://github.com/Matroska-Org/matroska-specification/blob/master/ebml_matroska.xml
'This Element is MANDATORY in TrackEntry when the CodecID Element of the TrackEntry is set to "V_UNCOMPRESSED"'

Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
2018-04-11 18:08:27 +03:00
Moritz Bunkus
6f5423bd9b MXE setup: only set HOST if isn't set outside 2018-04-11 12:57:41 +02:00
Moritz Bunkus
e24136cf6e GUI: prefs: save vertical space on the "enabling tracks" pane 2018-04-10 20:42:03 +02:00
Moritz Bunkus
0f82761bc6 translations: update list of translatable strings; update German translation 2018-04-10 20:39:31 +02:00
Moritz Bunkus
88d6585b46 GUI: mux: option for enabling dialog normalization gain removal by default
Implements #2272.
2018-04-10 20:30:27 +02:00
Moritz Bunkus
20daab09b4 GUI: fix "don't enable by default" if none is selected
Fixes part of the implementation of #2271.
2018-04-10 20:12:37 +02:00
Moritz Bunkus
9960f5044b GUI: fix "don't enable by default" for non-regular tracks
Fixes part of the implementation of #2271.
2018-04-10 19:54:26 +02:00
Moritz Bunkus
8e172d87b4 GUI: mux: options for only enabling tracks of certain types by default
Implements #2271.
2018-04-09 23:14:58 +02:00
Moritz Bunkus
3e99b4b212 GUI: track: provide static name-for-type function 2018-04-09 23:14:58 +02:00
Moritz Bunkus
164b006d9c GUI: move Track::Type, Track::Compression to their own header file 2018-04-09 23:14:58 +02:00
Moritz Bunkus
5ca4ab069d MP4 reader: fix compilation 2018-04-09 21:15:17 +02:00
Moritz Bunkus
f48a8e493f GUI: prefs: fix tab order for side-by-side multi-selects 2018-04-09 21:13:56 +02:00
Moritz Bunkus
02bd23748a MP4 reader: ignore second edit list entry if identical to first
There are several files out there with the following constellation:

* The video track contains an edit list with two entries.
* Both entries are identical.
* Both entries span the whole file's duration (they start at timestamp
  0 and span the time given in the movie header atom).
* The audio track doesn't have an edit list.

The result was that the video track was copied twice, the audio track
only once.

This enhancement changes mkvmerge to ignore the second, bogus entry if
these conditions are met.

See #2196 and #2270.
2018-04-09 20:48:17 +02:00
Moritz Bunkus
5f5ae9542e Windows build: build libmtxcommon as DLL on shared builds 2018-04-08 12:53:57 +02:00
Moritz Bunkus
f99bea1f4a Windwos build: support shared libraries 2018-04-08 12:26:03 +02:00
Moritz Bunkus
1bb0d51d86 GUI: make default size larger
Now that the central widget is a scroll area, the main window won't
actually resize to the minimum required size of all the tabs
anymore. Therefore a smaller default size for the main window results
in scroll bars being shown.
2018-04-07 22:26:06 +02:00
Moritz Bunkus
d42dfe6ca1 GUI: job output: disable "acknowledge" button on "clear output"
Fixes #2268.
2018-04-07 15:15:50 +02:00
Dian Li
a93adbb251 translations: update Chinese Simplified 2018-04-07 11:58:44 +02:00
Burak Yavuz
da7258fe33 translations: update Turkish 2018-04-07 11:58:40 +02:00
Timofey Lisunov
a92fbec297 translations: update Russian 2018-04-07 11:58:33 +02:00
TMTisFree
4ed18da0de translations: update French 2018-04-07 11:58:27 +02:00
Israel Lucas Torrijos
c62aa3647a translations: update Spanish 2018-04-07 11:58:23 +02:00
Antoni Bella Pérez
03353a1b00 translations: update Catalan 2018-04-07 11:58:15 +02:00
Moritz Bunkus
05a35d446c translations: update list of translatable strings; update German translation 2018-04-07 11:54:42 +02:00
Moritz Bunkus
c8490b99a2 side-by-side select: add revert button 2018-04-07 11:54:41 +02:00
Moritz Bunkus
c9e3b0b0f1 side-by-side select: use pimpl idiom 2018-04-07 11:54:41 +02:00
Moritz Bunkus
0df19bc0ed GUI: mux: derive track language: let user customize recognized languages
Part of the enhancements for #2267.
2018-04-07 11:54:41 +02:00
Moritz Bunkus
f2da9990e8 GUI: mux: derive track language: let user customize regex
Part of the enhancements for #2267.
2018-04-07 11:54:41 +02:00
Moritz Bunkus
ccd92f0594 configure: redirect error of qmake to /dev/null
Recent `qmake` versions warn about plugins being added multiple times
via the `QT_PLUGIN` setting. However, our configure must add the
plugins manually as it cannot rely on them being present automatically
in older Qt versions. So just ignore those warnings.
2018-04-07 11:45:51 +02:00
Moritz Bunkus
22ee0dc8eb GUI: mux: derive language from file name: if season/episode pattern present, only use postfix
Part of the enhancements for #2267.
2018-04-07 11:45:51 +02:00
Moritz Bunkus
9b39f0a5a8 Windows cross env: use LOCAL_PKG_LIST for restricting list of packages compiled by default 2018-04-07 09:07:52 +02:00
Moritz Bunkus
298ad0077d GUI: make main window scrollable
Fixes #2265.
2018-04-05 20:18:25 +02:00
Moritz Bunkus
fa66229506 tests: update AV1 case due to new test files 2018-04-05 20:05:34 +02:00