From 13a691b485f82fe60c7fa6649fb45466ac784d1f Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 10 Mar 2005 17:04:24 +0000 Subject: gst/apetag/apedemux.c: Read replay-gain tags. Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst/apetag/apedemux.c: (gst_ape_demux_parse_tags): Read replay-gain tags. --- gst/apetag/apedemux.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gst') diff --git a/gst/apetag/apedemux.c b/gst/apetag/apedemux.c index f1d10a2b..8f4bca31 100644 --- a/gst/apetag/apedemux.c +++ b/gst/apetag/apedemux.c @@ -476,6 +476,18 @@ gst_ape_demux_parse_tags (GstApeDemux * ape, guint8 * data, gint size) } else if (!strcasecmp (tag, "track")) { type = GST_TAG_TRACK_NUMBER; i = TRUE; + } else if (!strcasecmp (tag, "replaygain_track_gain")) { + type = GST_TAG_TRACK_GAIN; + i = TRUE; + } else if (!strcasecmp (tag, "replaygain_track_peak")) { + type = GST_TAG_TRACK_PEAK; + i = TRUE; + } else if (!strcasecmp (tag, "replaygain_album_gain")) { + type = GST_TAG_ALBUM_GAIN; + i = TRUE; + } else if (!strcasecmp (tag, "replaygain_album_peak")) { + type = GST_TAG_ALBUM_PEAK; + i = TRUE; } if (type) { GValue v = { 0 }; -- cgit v1.2.1