Commit 13a691b4 authored by Ronald S. Bultje's avatar Ronald S. Bultje

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.
parent 2f7750e0
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>
......
......@@ -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 };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment