diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-03-18 22:56:58 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-03-18 22:56:58 +0000 |
commit | fe0e2d65e190b816959c624149a6dc48b7118796 (patch) | |
tree | da86dd2e0afb6da5acc627e1c1a86247fed217d5 | |
parent | 73605cb33ddaaea6f6cec3afa224fe712374125e (diff) |
riff: map IPRD ("product") tag to GST_TAG_ALBUM
http://www.bass.radio42.com/help/html/7e1a8908-88bd-d54b-77d7-f0d08466284c.htm
https://bugzilla.gnome.org/show_bug.cgi?id=670286
-rw-r--r-- | gst-libs/gst/riff/riff-ids.h | 2 | ||||
-rw-r--r-- | gst-libs/gst/riff/riff-read.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/riff/riff-ids.h b/gst-libs/gst/riff/riff-ids.h index afe87704d..9442018b5 100644 --- a/gst-libs/gst/riff/riff-ids.h +++ b/gst-libs/gst/riff/riff-ids.h @@ -96,7 +96,7 @@ G_BEGIN_DECLS #define GST_RIFF_INFO_IMED GST_MAKE_FOURCC ('I','M','E','D') /* medium */ #define GST_RIFF_INFO_INAM GST_MAKE_FOURCC ('I','N','A','M') /* name */ #define GST_RIFF_INFO_IPLT GST_MAKE_FOURCC ('I','P','L','T') /* palette setting */ -#define GST_RIFF_INFO_IPRD GST_MAKE_FOURCC ('I','P','R','D') /* product */ +#define GST_RIFF_INFO_IPRD GST_MAKE_FOURCC ('I','P','R','D') /* product (album) */ #define GST_RIFF_INFO_ISBJ GST_MAKE_FOURCC ('I','S','B','J') /* subject */ #define GST_RIFF_INFO_ISFT GST_MAKE_FOURCC ('I','S','F','T') /* software */ #define GST_RIFF_INFO_ISHP GST_MAKE_FOURCC ('I','S','H','P') /* sharpness */ diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index 512f31a1f..c4ba3e823 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -692,7 +692,7 @@ gst_riff_parse_info (GstElement * element, type = NULL; /*"Palette"; */ break; case GST_RIFF_INFO_IPRD: - type = NULL; /*"Product"; */ + type = GST_TAG_ALBUM; break; case GST_RIFF_INFO_ISBJ: type = NULL; /*"Subject"; */ |