From b9880f8a26b87841bed1dad7184b1e4c408f1048 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 7 Jul 2005 08:43:17 +0000 Subject: [PATCH] gst/gstquery.*: Remove old types Original commit message from CVS: * gst/gstquery.c: * gst/gstquery.h: Remove old types --- ChangeLog | 6 ++++++ gst/gstquery.c | 5 +---- gst/gstquery.h | 17 +++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9e2fa5143b..260a324e10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-07 Wim Taymans + + * gst/gstquery.c: + * gst/gstquery.h: + Remove old types + 2005-07-07 Wim Taymans * gst/base/gstbasesrc.c: (gst_base_src_get_range), diff --git a/gst/gstquery.c b/gst/gstquery.c index 1f5335c121..ed66efccd7 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -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) { diff --git a/gst/gstquery.h b/gst/gstquery.h index 8e5ef410d3..7d5fdb0a45 100644 --- a/gst/gstquery.h +++ b/gst/gstquery.h @@ -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 */