--- gst/apetag/apedemux.c	2004-12-23 12:42:48.000000000 +0000
+++ gst/apetag/apedemux.c.RG	2005-02-11 13:54:29.000000000 +0000
@@ -473,6 +473,18 @@
       type = GST_TAG_ISRC;
     } 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) {

