From fe0e2d65e190b816959c624149a6dc48b7118796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 18 Mar 2012 22:56:58 +0000 Subject: [PATCH] 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 --- gst-libs/gst/riff/riff-ids.h | 2 +- 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 afe87704d2..9442018b51 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 512f31a1fe..c4ba3e823d 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"; */