summaryrefslogtreecommitdiffstats
path: root/gst/apetag
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-03-10 17:04:24 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-03-10 17:04:24 +0000
commit13a691b485f82fe60c7fa6649fb45466ac784d1f (patch)
tree6a7fbec7a37442cd5a663c79558f53100efec684 /gst/apetag
parent2f7750e0fbcb350f43a7c4f90147aa933f5583b7 (diff)
downloadgst-plugins-bad-13a691b485f82fe60c7fa6649fb45466ac784d1f.tar.gz
gst-plugins-bad-13a691b485f82fe60c7fa6649fb45466ac784d1f.tar.bz2
gst-plugins-bad-13a691b485f82fe60c7fa6649fb45466ac784d1f.zip
gst/apetag/apedemux.c: Read replay-gain tags.
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/apetag/apedemux.c: (gst_ape_demux_parse_tags): Read replay-gain tags.
Diffstat (limited to 'gst/apetag')
-rw-r--r--gst/apetag/apedemux.c12
1 files changed, 12 insertions, 0 deletions
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 };