mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
Added ReferencePriority to the list of supported elements for mkvinfo.
This commit is contained in:
parent
1f867c49cf
commit
623916f444
@ -1,5 +1,8 @@
|
|||||||
2003-06-22 Moritz Bunkus <moritz@bunkus.org>
|
2003-06-22 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* Added 'ReferencePriority' element to the known elements for
|
||||||
|
mkvinfo.
|
||||||
|
|
||||||
* Removed "(mkvinfo) " from mkvinfo's output in order to improve
|
* Removed "(mkvinfo) " from mkvinfo's output in order to improve
|
||||||
readability and save space.
|
readability and save space.
|
||||||
|
|
||||||
|
@ -839,6 +839,14 @@ bool process_file(const char *file_name) {
|
|||||||
show_element(l3, 3, "Reference block: %.3fms",
|
show_element(l3, 3, "Reference block: %.3fms",
|
||||||
((float)int64(reference)) * tc_scale / 1000000.0);
|
((float)int64(reference)) * tc_scale / 1000000.0);
|
||||||
|
|
||||||
|
} else if (EbmlId(*l3) ==
|
||||||
|
KaxReferencePriority::ClassInfos.GlobalId) {
|
||||||
|
KaxReferencePriority &priority =
|
||||||
|
*static_cast<KaxReferencePriority *>(l3);
|
||||||
|
priority.ReadData(es->I_O());
|
||||||
|
show_element(l3, 3, "Reference priority: %u",
|
||||||
|
uint32(priority));
|
||||||
|
|
||||||
} else if (!is_ebmlvoid(l3, 3))
|
} else if (!is_ebmlvoid(l3, 3))
|
||||||
show_unknown_element(l3, 3);
|
show_unknown_element(l3, 3);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user