2002-12-30 17:55:05 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GstQuery
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
Dynamically register new query types
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
GstQuery functions are used to register a new query types to the gstreamer core.
|
|
|
|
Query types can be used to perform queries on pads and elements.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
#GstPad, #GstElement
|
|
|
|
</para>
|
|
|
|
|
2004-03-15 14:43:35 +00:00
|
|
|
<!-- ##### ENUM GstQueryType ##### -->
|
|
|
|
<para>
|
|
|
|
Standard predefined Query types
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GST_QUERY_NONE: invalid query type
|
|
|
|
@GST_QUERY_TOTAL: total length of stream
|
|
|
|
@GST_QUERY_POSITION: current position in stream
|
|
|
|
@GST_QUERY_LATENCY: latency of stream
|
|
|
|
@GST_QUERY_JITTER: current jitter of stream
|
|
|
|
@GST_QUERY_START: start of configured segment
|
|
|
|
@GST_QUERY_SEGMENT_END: end of configured segment
|
|
|
|
@GST_QUERY_RATE: current rate of the stream
|
|
|
|
|
2003-01-02 18:56:09 +00:00
|
|
|
<!-- ##### MACRO GST_QUERY_TYPE_RATE_DEN ##### -->
|
|
|
|
<para>
|
|
|
|
Rates are relative to this value
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GstQueryTypeDefinition ##### -->
|
|
|
|
<para>
|
|
|
|
A Query Type definition
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@value: the unique id of the Query type
|
|
|
|
@nick: a short nick
|
|
|
|
@description: a longer description of the query type
|
2002-12-30 17:55:05 +00:00
|
|
|
|
|
|
|
<!-- ##### MACRO GST_QUERY_TYPE_FUNCTION ##### -->
|
|
|
|
<para>
|
|
|
|
Convenience function to define a function that returns an array of query types.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@type: Type of first argument for function
|
|
|
|
@functionname: The name of the function
|
|
|
|
@...: query types, 0 to end the list
|
|
|
|
|
|
|
|
|
2003-01-02 18:56:09 +00:00
|
|
|
<!-- ##### FUNCTION gst_query_type_register ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@nick:
|
|
|
|
@description:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_type_get_by_nick ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@nick:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_types_contains ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@types:
|
|
|
|
@type:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_type_get_details ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-03-15 14:43:35 +00:00
|
|
|
@type:
|
2003-01-02 18:56:09 +00:00
|
|
|
@Returns:
|
2004-03-13 15:27:01 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
2004-03-15 14:43:35 +00:00
|
|
|
@Param1:
|
2003-01-02 18:56:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_type_get_definitions ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|