mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/gstquery.*: Remove old types
Original commit message from CVS: * gst/gstquery.c: * gst/gstquery.h: Remove old types
This commit is contained in:
parent
c985c341ab
commit
b9880f8a26
3 changed files with 14 additions and 14 deletions
|
@ -1,3 +1,9 @@
|
|||
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),
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue