[vlc-commits] MKV: improve metadata for broken muxers

Jean-Baptiste Kempf git at videolan.org
Fri Aug 24 01:29:42 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 24 01:29:14 2012 +0200| [57b858c39d723164068590e7a1048d75086a6561] | committer: Jean-Baptiste Kempf

MKV: improve metadata for broken muxers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57b858c39d723164068590e7a1048d75086a6561
---

 modules/demux/mkv/matroska_segment.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 58e660e..bc9907b 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -222,8 +222,9 @@ static const struct {
     vlc_meta_type_t type;
     const char *key;
     int target_type; /* 0 is valid for all target_type */
-} metadata_map[] = { {vlc_meta_Title,       "TITLE",         50},
+} metadata_map[] = {
                      {vlc_meta_Album,       "TITLE",         30},
+                     {vlc_meta_Title,       "TITLE",         0},
                      {vlc_meta_Artist,      "ARTIST",        0},
                      {vlc_meta_Genre,       "GENRE",         0},
                      {vlc_meta_Copyright,   "COPYRIGHT",     0},
@@ -232,6 +233,7 @@ static const struct {
                      {vlc_meta_Description, "COMMENT",       0},
                      {vlc_meta_Rating,      "RATING",        0},
                      {vlc_meta_Date,        "DATE_RELEASED", 0},
+                     {vlc_meta_Date,        "DATE_RELEASE",  0},
                      {vlc_meta_URL,         "URL",           0},
                      {vlc_meta_Publisher,   "PUBLISHER",     0},
                      {vlc_meta_EncodedBy,   "ENCODED_BY",    0},



More information about the vlc-commits mailing list