diff --git a/ChangeLog b/ChangeLog index 15e0dbe5d..26e8d829f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-04 Moritz Bunkus + + * mkvmerge: enhancement: Added video pixel dimensions to the + output of "--identify-verbose" for Matroska files. + 2012-01-02 Moritz Bunkus * Released v5.2.1. diff --git a/src/input/r_matroska.cpp b/src/input/r_matroska.cpp index 4d371f889..bb4da6654 100644 --- a/src/input/r_matroska.cpp +++ b/src/input/r_matroska.cpp @@ -2284,6 +2284,9 @@ kax_reader_c::identify() { if (track->track_name != "") verbose_info.push_back((boost::format("track_name:%1%") % escape(track->track_name)).str()); + if ((0 != track->v_width) && (0 != track->v_height)) + verbose_info.push_back((boost::format("pixel_dimensions:%1%x%2%") % track->v_width % track->v_height).str()); + if ((0 != track->v_dwidth) && (0 != track->v_dheight)) verbose_info.push_back((boost::format("display_dimensions:%1%x%2%") % track->v_dwidth % track->v_dheight).str());