Commit Graph

11001 Commits

Author SHA1 Message Date
Moritz Bunkus
a05fecc5e0 propedit: support "video projection" track header elements
Part of the implementation of #2064.
2017-08-05 15:44:07 +02:00
Moritz Bunkus
b2df6e87e7 propedit: store (sub-)sub-sub-masters in change, not track
One track can only have one type of sub-master that changes may
affect: TrackVideo or TrackAudio, and there are no other masters on
that level that are relevant. So the sub-master can still be stored in
the track.

Below that there are now at least two different masters changes for
the same track may apply to: VideoColour and VideoProject. Therefore
storing the sub-sub-masters and its children in the track doesn't make
sense.

This is in preparation of adding support for "video projection" track
header elements in #2064.
2017-08-05 13:12:18 +02:00
Moritz Bunkus
ad89dee9a4 propedit: refactor: use lookup_property() for code duplication removal 2017-08-05 10:28:23 +02:00
Moritz Bunkus
b76621db2a info: support "video projection" track headers
Part of the implementation of #2064.
2017-08-05 09:30:22 +02:00
Moritz Bunkus
7da8df779e NEWS: fix entry for 44d2a7f5f7 2017-08-05 09:20:09 +02:00
Moritz Bunkus
9864224fcf info: refactor video colour attribute output & don't include them in summary 2017-08-05 09:19:15 +02:00
Moritz Bunkus
dde4729a43 translations: update list of translatable strings; update German translation 2017-08-05 07:47:15 +02:00
Xabier Aramendi
a856aa9193 translations: update Basque 2017-08-05 07:21:39 +02:00
Potato
b7f82f193b translations: update Korean 2017-08-05 07:21:33 +02:00
Moritz Bunkus
44d2a7f5f7 GUI: headers: support for editing video colour track attributes
Implements the second half of #2038. Also adds the necessary changes
for implementing #2064 eventually.
2017-08-05 07:18:40 +02:00
Moritz Bunkus
cd80150a24 GUI: headers: refactor page initialization to use property_element_c
The information about each element's parents, its type, title and
description is available in property_element_c and used by mkvpropedit
already. As that's all the information needed by the GUI's header
editor, there's no reason to duplicate it in the header
editor. Instead it can iterate over the tables provided by
`property_element_c` and create pages based on that information.

This is in preparation of supporting the changes required for #2038
and #2064.
2017-08-04 13:08:54 +02:00
Roberto Boriotti
b88cae5bba translations: update Italian 2017-08-04 13:00:05 +02:00
Moritz Bunkus
8e19e67dbf propedit: fix compilation with older gcc (e.g. Debian Jessie's 4.9.2) 2017-08-03 22:04:23 +02:00
Moritz Bunkus
07ed6bd656 propedit: add support for video colour attributes
This implements one half of #2038.

Note that this commit breaks the GUI's header editor until support for
editing sub-sub-sub-masters will be added to it (soon).
2017-08-03 21:06:55 +02:00
Moritz Bunkus
9e14507aad propedit: add general support for elements in (sub-)sub-sub-masters
This is needed for implementing #2038 and #2064. Those new elements
located in `Track → TrackVideo → VideoColour` and `Track → TrackVideo
→ VideoColour → VideoColourMasteringMeta`, meaning four levels
deep. So far both mkvpropedit and the GUI's header editor only
supported two levels (`Track → TrackVideo` and `Track → TrackAudio`).
2017-08-03 20:42:59 +02:00
remuxer32
2fd1462200 Update AUTHORS
As I'm not contented because of a very poor (humble) description regarding my person, I decided to add (complete) important information about myself and my role. I hope you have nothing against my initiative; I just felt that I deserve for more words than just "Polish translation" (only two words). 

Thank you for understanding and accepting the pull request.
2017-08-03 11:29:16 +02:00
Moritz Bunkus
c8ebc37bb3 translation: fix copy & paste error 2017-08-02 22:37:30 +02:00
Antoni Bella Pérez
d4c31617d8 translations: update Catalan 2017-08-01 21:58:40 +02:00
Timofey Lisunov
19be02a903 translations: update Russian 2017-08-01 21:58:40 +02:00
Burak Yavuz
31850ea451 translations: update Turkish 2017-08-01 21:58:40 +02:00
Jan Mazurczyk
b0d23ac20c translations: update Polish 2017-08-01 21:58:40 +02:00
Moritz Bunkus
1874bd9d29 version info: use 32-bit/64-bit instead of 32bit/64bitc 2017-08-01 21:58:40 +02:00
Moritz Bunkus
1e3cb2f053 GUI: fix compilation with generic lambdas, member function calls
gcc has a bug that it cannot determine the object to call member
functions on in a generic lambda:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636

Therefore prefixing such calls with this-> is required.

Same issue as 8667855928.
2017-07-31 21:33:35 +02:00
Moritz Bunkus
f212463f76 GUI: job queue: show "move up/down" buttons if enabled in preferences
Implements the second half of #2060.
2017-07-31 21:19:39 +02:00
Moritz Bunkus
40af013949 GUI: job queue: moving select jobs up/down with the keyboard
The shortcuts are the same used in all other views where moving with
keyboard shortcuts is possible: `Ctrl+Up` and `Ctrl+Down`.

Implements the first half of #2060.
2017-07-31 20:59:43 +02:00
Moritz Bunkus
e8ccf22b0d translations: update list of translatable strings; update German translation 2017-07-30 19:38:11 +02:00
Moritz Bunkus
9ac926f3bd GUI: added several missing commas in tooltips in the preferences dialog 2017-07-30 19:22:29 +02:00
Moritz Bunkus
d150fdc77b GUI: mux: option for ignoring non-video files for auto-setting destination file name
Added an option in the preferences on "Multiplexer" → "Output" labeled
"Only use the first source file that contains a video track". If
enabled, only source files containing video tracks will be used for
setting the destination file name. Other files that are added are
ignore.

Implements the rest of #2058.
2017-07-30 19:17:29 +02:00
Moritz Bunkus
05da08c33d GUI: prefs: move auto destination file name controls for directory into a groupbox 2017-07-30 17:54:31 +02:00
Moritz Bunkus
b5a30e9533 GUI: mux: menu entry for setting destination file name from source file's
This is a new menu entry in the "source files" list box's context
menu.  Selecting it will force the GUI to consider the selected file
to be the reference for automatically setting the file name, no matter
which file was originally added as the first file.

It will also force setting the destination file name once if automatic
destination file name generation is turned off in the preferences.

Implements part of #2058.
2017-07-30 17:34:10 +02:00
Israel Lucas Torrijos
d0685f2a9f translations: update Spanish 2017-07-30 16:44:30 +02:00
Moritz Bunkus
7dbc512b53 spec: require desktop-file-utils package for desktop-file-validate command 2017-07-30 15:23:27 +02:00
Moritz Bunkus
7bec7bb078 spec: use gcc 7 on openSUSE 2017-07-30 15:23:27 +02:00
Moritz Bunkus
2471e66d59 MKVToolNix GUI: removed keyboard shortcuts for switching between tools
This removes shortcuts such as `Ctrl+Alt+1` for switching to the
multiplexer. These shortcuts overlapped with basic functionality on
keyboards that use an `AltGr` key, e.g. German ones, where `AltGr+7`
emits `{`. As `AltGr+key` is implemented as `Ctrl+Alt+key` under the
hood, this means that `AltGr+7` is really `Ctrl+Alt+7` which the GUI
now took to mean "switch to the job queue" instead of "insert
`{`".

Fixes #2056.
2017-07-28 15:44:09 +02:00
Roberto Boriotti
78b856cae6 translations: update Italian 2017-07-25 18:28:17 +02:00
Dean Lee
940f8cfaf8 translations: update Chinese Simplified 2017-07-25 18:28:04 +02:00
Israel Lucas Torrijos
76a81a190a man page translations: update Spanish 2017-07-25 18:27:40 +02:00
Timofey Lisunov
235425bf01 translations: update Russian 2017-07-25 18:27:31 +02:00
Antoni Bella Pérez
92dd9cf29f man page translations: update Catalan 2017-07-25 18:27:24 +02:00
Antoni Bella Pérez
124685b014 translations: update Catalan 2017-07-25 18:27:18 +02:00
Moritz Bunkus
d31fb3961a configure: add option for disabling the update check code 2017-07-23 17:25:13 +02:00
Moritz Bunkus
69788c4a95 NEWS.md: re-order/re-file entries to make them easier to digest 2017-07-23 10:22:41 +02:00
Moritz Bunkus
81e80883ee bump version number, set release codename 2017-07-23 10:11:32 +02:00
Moritz Bunkus
a7471fd80f GUI: updates: link code name to YouTube search for corresponding artist & song 2017-07-23 10:02:43 +02:00
Burak Yavuz
a5da6bdd8d translations: update Turkish 2017-07-23 09:29:15 +02:00
Dean Lee
0ac78edb34 man page translations: update Chinese Simplified 2017-07-23 09:29:06 +02:00
Moritz Bunkus
52700e5139 GUI: mux: don't allow sub charset changes if mkvmerge doesn't support changing
This commit implements two things for subtitle tracks:

1. There are several situations in which mkvmerge doesn't let the user
   change the subtitle character set, e.g. due to a byte order mark in
   the source file or the source file only supporting UTF-8
   anyway (e.g. Matroska). In such a case the GUI will now disable the
   "subtitle character set" drop-down box.

2. mkvmerge now outputs a track's encoding/character set as a track
   property during file identification if that encoding can be
   determined with confidence (same situations as in 1.). If that is
   the case, the GUI will auto-select that encoding in the "subtitle
   character set" drop-down box, even if that drop-down box is
   disabled.

Both changes together give the user the information that she doesn't
have to take care of the encoding herself, and which encoding it
actually is.

Implements the GUI's part of #2053.
2017-07-23 09:28:03 +02:00
Moritz Bunkus
95092247aa mkvmerge: identify track's "encoding" if known and fixed
This is preparation for making the GUI present the encoding detected
by e.g. a byte order mark to the user so that she doesn't have to (and
cannot) chose a subtitle character set herself. Implements mkvmerge's
part of #2053.
2017-07-23 09:22:31 +02:00
Moritz Bunkus
dc25f2ec20 identification: add "encoding" track property; bump JSON schema version to 9
This is preparation for making the GUI present the encoding detected
by e.g. a byte order mark to the user so that she doesn't have to (and
cannot) chose a subtitle character set herself. See #2053.
2017-07-23 08:46:40 +02:00
Moritz Bunkus
e905716a49 mm_text_io_c: add get_encoding(): encoding name as determined by BOM 2017-07-23 08:46:40 +02:00