Index: ext/gnomevfs/gstgnomevfssrc.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ext/gnomevfs/gstgnomevfssrc.c,v
retrieving revision 1.80
diff -u -r1.80 gstgnomevfssrc.c
--- ext/gnomevfs/gstgnomevfssrc.c	21 Feb 2006 12:16:16 -0000	1.80
+++ ext/gnomevfs/gstgnomevfssrc.c	6 Mar 2006 20:30:24 -0000
@@ -789,6 +789,7 @@
         GST_DEBUG_OBJECT (src, "got icy-metaint %d, killing audiocast thread",
             src->icy_metaint);
         audiocast_thread_kill (src);
+        src->icy_caps = gst_caps_new_simple ("application/x-icy", "metadata-interval", G_TYPE_INT, src->icy_metaint, NULL);
         continue;
       }
     }
@@ -849,7 +850,7 @@
   gnome_vfs_module_callback_pop
       (GNOME_VFS_MODULE_CALLBACK_HTTP_RECEIVED_HEADERS);
 }
-
+#if 0
 static void
 gst_gnome_vfs_src_get_icy_metadata (GstGnomeVFSSrc * src)
 {
@@ -919,6 +920,7 @@
 
   g_strfreev (tags);
 }
+#endif
 
 /* end of icecast/audiocast metadata extraction support code */
 
@@ -956,7 +958,7 @@
   }
 
   audiocast_do_notifications (src);
-
+#if 0
   if (src->iradio_mode && src->icy_metaint > 0) {
     buf = gst_buffer_new_and_alloc (src->icy_metaint);
 
@@ -985,8 +987,12 @@
       src->icy_count = 0;
     }
   } else {
+#endif
     buf = gst_buffer_new_and_alloc (size);
 
+    if (src->icy_caps)
+      gst_buffer_set_caps (buf, src->icy_caps);
+
     data = GST_BUFFER_DATA (buf);
     GST_BUFFER_OFFSET (buf) = src->curoffset;
 
@@ -1001,7 +1007,7 @@
       goto read_failed;
 
     src->curoffset += readbytes;
-  }
+  //}
 
   /* we're done, return the buffer */
   *buffer = buf;
Index: ext/gnomevfs/gstgnomevfssrc.h
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ext/gnomevfs/gstgnomevfssrc.h,v
retrieving revision 1.2
diff -u -r1.2 gstgnomevfssrc.h
--- ext/gnomevfs/gstgnomevfssrc.h	1 Mar 2006 17:39:28 -0000	1.2
+++ ext/gnomevfs/gstgnomevfssrc.h	6 Mar 2006 20:30:25 -0000
@@ -69,6 +69,7 @@
   gboolean http_callbacks_pushed;
 
   gint icy_metaint;
+  GstCaps *icy_caps;
   GnomeVFSFileSize icy_count;
 
   gchar *iradio_name;
