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. --- ChangeLog | 7 +++++++ gst/apetag/apedemux.c | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5cf70e43..d758320f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-03-10 Ash + + Reviewed by: Ronald S. Bultje + + * gst/apetag/apedemux.c: (gst_ape_demux_parse_tags): + Read replay-gain tags. + 2005-03-10 Gergely Nagy Reviewed by: Ronald S. Bultje 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