--- apedemux.c	2005-12-10 13:05:02.000000000 +0000
+++ apedemux.c.rg	2005-12-10 13:04:17.000000000 +0000
@@ -477,6 +477,14 @@
     } else if (!strcasecmp (tag, "track")) {
       type = GST_TAG_TRACK_NUMBER;
       i = TRUE;
+    } else if (!strcasecmp (tag, "replaygain_track_gain")) {
+      type = GST_TAG_TRACK_GAIN;
+    } else if (!strcasecmp (tag, "replaygain_track_peak")) {
+      type = GST_TAG_TRACK_PEAK;
+    } else if (!strcasecmp (tag, "replaygain_album_gain")) {
+      type = GST_TAG_ALBUM_GAIN;
+    } else if (!strcasecmp (tag, "replaygain_album_peak")) {
+      type = GST_TAG_ALBUM_PEAK;
     }
     if (type) {
       GValue v = { 0 };
