Index: gst/gstquery.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/gst/gstquery.c,v
retrieving revision 1.33
diff -u -d -p -r1.33 gstquery.c
--- gst/gstquery.c	16 Aug 2006 11:47:54 -0000	1.33
+++ gst/gstquery.c	27 Aug 2006 18:17:06 -0000
@@ -647,7 +647,10 @@ gst_query_new_segment (GstFormat format)
 
   structure = gst_structure_empty_new ("GstQuerySegment");
   gst_structure_id_set (structure,
-      GST_QUARK (FORMAT), GST_TYPE_FORMAT, format, NULL);
+      GST_QUARK (RATE), G_TYPE_DOUBLE, (gdouble) -1.0,
+      GST_QUARK (FORMAT), GST_TYPE_FORMAT, format,
+      GST_QUARK (START_VALUE), G_TYPE_INT64, (gint64) -1,
+      GST_QUARK (STOP_VALUE), G_TYPE_INT64, (gint64) -1, NULL);
 
   query = gst_query_new (GST_QUERY_SEGMENT, structure);
 
