mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
gst/gstquery.*: Add GstQueryType for custom queries instead of having to use the not-so-very-convenient registration ...
Original commit message from CVS: * gst/gstquery.c: * gst/gstquery.h: Add GstQueryType for custom queries instead of having to use the not-so-very-convenient registration infrastructure to register new types.
This commit is contained in:
parent
604382bfb5
commit
82479761f1
3 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/gstquery.c:
|
||||||
|
* gst/gstquery.h:
|
||||||
|
Add GstQueryType for custom queries instead of having to use the
|
||||||
|
not-so-very-convenient registration infrastructure to register new
|
||||||
|
types.
|
||||||
|
|
||||||
2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: Andrew Feren <acferen at yahoo dot com>
|
Patch by: Andrew Feren <acferen at yahoo dot com>
|
||||||
|
|
|
@ -92,6 +92,7 @@ static GstQueryTypeDefinition standard_definitions[] = {
|
||||||
{GST_QUERY_CONVERT, "convert", "Converting between formats", 0},
|
{GST_QUERY_CONVERT, "convert", "Converting between formats", 0},
|
||||||
{GST_QUERY_FORMATS, "formats", "Supported formats for conversion", 0},
|
{GST_QUERY_FORMATS, "formats", "Supported formats for conversion", 0},
|
||||||
{GST_QUERY_BUFFERING, "buffering", "Buffering status", 0},
|
{GST_QUERY_BUFFERING, "buffering", "Buffering status", 0},
|
||||||
|
{GST_QUERY_CUSTOM, "custom", "Custom query", 0},
|
||||||
{0, NULL, NULL, 0}
|
{0, NULL, NULL, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,8 @@ G_BEGIN_DECLS
|
||||||
* @GST_QUERY_FORMATS: query supported formats for convert
|
* @GST_QUERY_FORMATS: query supported formats for convert
|
||||||
* @GST_QUERY_BUFFERING: query available media for efficient seeking. Since
|
* @GST_QUERY_BUFFERING: query available media for efficient seeking. Since
|
||||||
* 0.10.20.
|
* 0.10.20.
|
||||||
|
* @GST_QUERY_CUSTOM: a custom application or element defined query. Since
|
||||||
|
* 0.10.22.
|
||||||
*
|
*
|
||||||
* Standard predefined Query types
|
* Standard predefined Query types
|
||||||
*/
|
*/
|
||||||
|
@ -64,7 +66,8 @@ typedef enum {
|
||||||
GST_QUERY_SEGMENT,
|
GST_QUERY_SEGMENT,
|
||||||
GST_QUERY_CONVERT,
|
GST_QUERY_CONVERT,
|
||||||
GST_QUERY_FORMATS,
|
GST_QUERY_FORMATS,
|
||||||
GST_QUERY_BUFFERING
|
GST_QUERY_BUFFERING,
|
||||||
|
GST_QUERY_CUSTOM
|
||||||
} GstQueryType;
|
} GstQueryType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue