Commit 57b858c3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: improve metadata for broken muxers

parent 471ffd34
...@@ -222,8 +222,9 @@ static const struct { ...@@ -222,8 +222,9 @@ static const struct {
vlc_meta_type_t type; vlc_meta_type_t type;
const char *key; const char *key;
int target_type; /* 0 is valid for all target_type */ 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_Album, "TITLE", 30},
{vlc_meta_Title, "TITLE", 0},
{vlc_meta_Artist, "ARTIST", 0}, {vlc_meta_Artist, "ARTIST", 0},
{vlc_meta_Genre, "GENRE", 0}, {vlc_meta_Genre, "GENRE", 0},
{vlc_meta_Copyright, "COPYRIGHT", 0}, {vlc_meta_Copyright, "COPYRIGHT", 0},
...@@ -232,6 +233,7 @@ static const struct { ...@@ -232,6 +233,7 @@ static const struct {
{vlc_meta_Description, "COMMENT", 0}, {vlc_meta_Description, "COMMENT", 0},
{vlc_meta_Rating, "RATING", 0}, {vlc_meta_Rating, "RATING", 0},
{vlc_meta_Date, "DATE_RELEASED", 0}, {vlc_meta_Date, "DATE_RELEASED", 0},
{vlc_meta_Date, "DATE_RELEASE", 0},
{vlc_meta_URL, "URL", 0}, {vlc_meta_URL, "URL", 0},
{vlc_meta_Publisher, "PUBLISHER", 0}, {vlc_meta_Publisher, "PUBLISHER", 0},
{vlc_meta_EncodedBy, "ENCODED_BY", 0}, {vlc_meta_EncodedBy, "ENCODED_BY", 0},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment