From: Steve Lhomme Date: Sat, 15 Oct 2005 16:41:50 +0000 (+0000) Subject: mkv.cpp: more user-friendly error messages X-Git-Tag: 0.8.4~263 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=5cb15dcd133d86a7e6fab835e57d99f2cee3923f mkv.cpp: more user-friendly error messages --- diff --git a/modules/demux/mkv.cpp b/modules/demux/mkv.cpp index af0dc12b82..454826202a 100644 --- a/modules/demux/mkv.cpp +++ b/modules/demux/mkv.cpp @@ -1964,14 +1964,14 @@ matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlS EDocType doc_type = GetChild(*static_cast(p_l0)); if (std::string(doc_type) != "matroska") { - msg_Err( p_demux, "Not a Matroska file : %s ", std::string(doc_type).c_str()); + msg_Err( p_demux, "Not a Matroska file : DocType = %s ", std::string(doc_type).c_str()); return NULL; } EDocTypeReadVersion doc_read_version = GetChild(*static_cast(p_l0)); if (uint64(doc_read_version) != 1) { - msg_Err( p_demux, "Matroska Read version not matching : "I64Fd, uint64(doc_read_version)); + msg_Err( p_demux, "This matroska file is needs version "I64Fd" and this VLC only supports version 1", uint64(doc_read_version)); return NULL; }