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.
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)
{
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 */