gst/gstquery.*: Remove old types
authorWim Taymans <wim.taymans@gmail.com>
Thu, 7 Jul 2005 08:43:17 +0000 (08:43 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 7 Jul 2005 08:43:17 +0000 (08:43 +0000)
Original commit message from CVS:
* gst/gstquery.c:
* gst/gstquery.h:
Remove old types

ChangeLog
gst/gstquery.c
gst/gstquery.h

index 9e2fa51..260a324 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2005-07-07  Wim Taymans  <wim@fluendo.com>
 
+       * gst/gstquery.c:
+       * gst/gstquery.h:
+       Remove old types
+
+2005-07-07  Wim Taymans  <wim@fluendo.com>
+
        * gst/base/gstbasesrc.c: (gst_base_src_get_range),
        (gst_base_src_default_negotiate), (gst_base_src_negotiate):
        Allow subclasses to implement their own negotiation.
index 1f5335c..ed66efc 100644 (file)
@@ -46,19 +46,16 @@ static guint32 _n_values = 1;   /* we start from 1 because 0 reserved for NONE *
 static GstMemChunk *chunk;
 
 static GstQueryTypeDefinition standard_definitions[] = {
-  {GST_QUERY_TOTAL, "total", "Total length"},   /* deprecated */
   {GST_QUERY_POSITION, "position", "Current Position"},
   {GST_QUERY_LATENCY, "latency", "Latency"},
   {GST_QUERY_JITTER, "jitter", "Jitter"},
-  {GST_QUERY_START, "start", "Start position of stream"},       /* deprecated */
-  {GST_QUERY_SEGMENT_END, "segment_end", "End position of the stream"}, /* dep */
   {GST_QUERY_RATE, "rate", "Configured rate 1000000 = 1"},
   {GST_QUERY_SEEKING, "seeking", "Seeking capabilities and parameters"},
   {GST_QUERY_CONVERT, "convert", "Converting between formats"},
+  {GST_QUERY_FORMATS, "formats", "Supported formats for conversion"},
   {0, NULL, NULL}
 };
 
-
 void
 _gst_query_initialize (void)
 {
index 8e5ef41..7d5fdb0 100644 (file)
@@ -36,16 +36,13 @@ G_BEGIN_DECLS
 
 typedef enum {
   GST_QUERY_NONE = 0,
-  GST_QUERY_TOTAL, /* deprecated, use POSITION */
-  GST_QUERY_POSITION,
-  GST_QUERY_LATENCY,
-  GST_QUERY_JITTER, /* not in draft-query, necessary? */
-  GST_QUERY_START, /* deprecated, use SEEKING */
-  GST_QUERY_SEGMENT_END, /* deprecated, use SEEKING */
-  GST_QUERY_RATE, /* not in draft-query, necessary? */
-  GST_QUERY_SEEKING,
-  GST_QUERY_CONVERT,
-  GST_QUERY_FORMATS
+  GST_QUERY_POSITION,  /* get current/end position */
+  GST_QUERY_LATENCY,   /* get current latency */
+  GST_QUERY_JITTER,    /* not in draft-query, necessary? */
+  GST_QUERY_RATE,      /* get current playback rate */
+  GST_QUERY_SEEKING,   /* get seeking start/stop positions */
+  GST_QUERY_CONVERT,   /* convert values */
+  GST_QUERY_FORMATS    /* query supported formats for convert */
 } GstQueryType;
 
 /* rate is relative to 1000000  */