diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/apetag/apedemux.c | 12 |
2 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2005-03-10 Ash <thatistosayiseenem@gawab.com> + + Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> + + * gst/apetag/apedemux.c: (gst_ape_demux_parse_tags): + Read replay-gain tags. + 2005-03-10 Gergely Nagy <algernon@bonehunter.rulez.org> Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> 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 }; |