mirror of
https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
synced 2026-02-11 02:05:56 +01:00
Add comment to explain id collection
This commit is contained in:
@@ -120,6 +120,7 @@ public class MkvFileProcessor implements FileProcessor {
|
|||||||
for (Map<String, Object> attribute : tracks) {
|
for (Map<String, Object> attribute : tracks) {
|
||||||
if (!"video".equals(attribute.get("type"))) {
|
if (!"video".equals(attribute.get("type"))) {
|
||||||
Map<String, Object> properties = (Map<String, Object>) attribute.get("properties");
|
Map<String, Object> properties = (Map<String, Object>) attribute.get("properties");
|
||||||
|
// mkvpropedit takes in the n-th track, based on the order of mkvmerge --idenfity
|
||||||
fileInfo.addTrack(new TrackAttributes(
|
fileInfo.addTrack(new TrackAttributes(
|
||||||
(int) properties.get("number"),
|
(int) properties.get("number"),
|
||||||
(String) properties.get("language"),
|
(String) properties.get("language"),
|
||||||
|
|||||||
Reference in New Issue
Block a user