mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Modified the verbosity levels for mkvinfo: The seek head subentries and cue subentries will only be shown at level 2 to make the output easier to read.
This commit is contained in:
parent
66be91980f
commit
d02aa747a1
@ -1,5 +1,9 @@
|
|||||||
2003-06-22 Moritz Bunkus <moritz@bunkus.org>
|
2003-06-22 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* Modified the verbosity levels for mkvinfo: The seek head subentries
|
||||||
|
and cue subentries will only be shown at level 2 to make the
|
||||||
|
output easier to read.
|
||||||
|
|
||||||
* The language and default track settings are now kept again if
|
* The language and default track settings are now kept again if
|
||||||
not overridden when reading from Matroska files.
|
not overridden when reading from Matroska files.
|
||||||
|
|
||||||
|
11
mkvinfo.1
11
mkvinfo.1
@ -33,14 +33,17 @@ and print more information about the current file.
|
|||||||
level 0
|
level 0
|
||||||
will print only the track headers it finds and their types. \fBmkvinfo\fR
|
will print only the track headers it finds and their types. \fBmkvinfo\fR
|
||||||
will exit as soon as the headers are parsed completely (more technical:
|
will exit as soon as the headers are parsed completely (more technical:
|
||||||
as soon as the first cluster is encountered).
|
as soon as the first cluster is encountered). In this level the seek head
|
||||||
|
entries and the cues will not be displayed - even if they're located in
|
||||||
|
front of the track informatio.
|
||||||
.TP
|
.TP
|
||||||
level 1
|
level 1
|
||||||
will also print all Matroska elements ancountered for the complete file.
|
will also print all Matroska elements ancountered for the complete file but
|
||||||
|
the seek head entries and the cue entries.
|
||||||
.TP
|
.TP
|
||||||
level 2
|
level 2
|
||||||
will also print the file position at which each Matroska element can be
|
will also print the seek head entries, the cue entries and the file position
|
||||||
found at.
|
at which each Matroska element can be found at.
|
||||||
.LP
|
.LP
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
.I mkvinfo
|
.I mkvinfo
|
||||||
|
10
mkvinfo.cpp
10
mkvinfo.cpp
@ -682,7 +682,10 @@ bool process_file(const char *file_name) {
|
|||||||
}
|
}
|
||||||
} // while (l2 != NULL)
|
} // while (l2 != NULL)
|
||||||
|
|
||||||
} else if (EbmlId(*l1) == KaxSeekHead::ClassInfos.GlobalId) {
|
} else if ((EbmlId(*l1) == KaxSeekHead::ClassInfos.GlobalId) &&
|
||||||
|
(verbose < 2) && !use_gui)
|
||||||
|
show_element(l1, 1, "Seek head (subentries will be skipped)");
|
||||||
|
else if (EbmlId(*l1) == KaxSeekHead::ClassInfos.GlobalId) {
|
||||||
show_element(l1, 1, "Seek head");
|
show_element(l1, 1, "Seek head");
|
||||||
|
|
||||||
l2 = es->FindNextElement(l1->Generic().Context, upper_lvl_el,
|
l2 = es->FindNextElement(l1->Generic().Context, upper_lvl_el,
|
||||||
@ -874,7 +877,10 @@ bool process_file(const char *file_name) {
|
|||||||
}
|
}
|
||||||
} // while (l2 != NULL)
|
} // while (l2 != NULL)
|
||||||
|
|
||||||
} else if (EbmlId(*l1) == KaxCues::ClassInfos.GlobalId) {
|
} else if ((EbmlId(*l1) == KaxCues::ClassInfos.GlobalId) &&
|
||||||
|
(verbose < 2))
|
||||||
|
show_element(l1, 1, "Cues (subentries will be skipped)");
|
||||||
|
else if (EbmlId(*l1) == KaxCues::ClassInfos.GlobalId) {
|
||||||
show_element(l1, 1, "Cues");
|
show_element(l1, 1, "Cues");
|
||||||
|
|
||||||
l2 = es->FindNextElement(l1->Generic().Context, upper_lvl_el,
|
l2 = es->FindNextElement(l1->Generic().Context, upper_lvl_el,
|
||||||
|
Loading…
Reference in New Issue
Block a user