From dbe30db3b48c039c1d7ca2c37b325ea7a8fef0f7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 28 Jul 2003 07:30:15 +0000 Subject: [PATCH] mkvinfo outputs the DebugName of unknown elements instead of the typeid. --- src/mkvinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkvinfo.cpp b/src/mkvinfo.cpp index 5b1d510a5..08e8be555 100644 --- a/src/mkvinfo.cpp +++ b/src/mkvinfo.cpp @@ -179,7 +179,7 @@ void show_element(EbmlElement *l, int level, const char *fmt, ...) { #define show_warning(l, f, args...) show_element(NULL, l, f, ## args) #define show_unknown_element(e, l) \ - show_element(e, l, "Unknown element: %s", typeid(*e).name()) + show_element(e, l, "Unknown element: %s", e->Generic().DebugName) void parse_args(int argc, char **argv, char *&file_name, bool &use_gui) { int i;