Sets our main struct and passes it to the parent class
Constructs a new custom application query object. Use gst_query_unref() when done with it.
Constructs a new convert query object. Use gst_query_unref() when done with it. A convert query is used to ask for a conversion between one format and another.
Constructs a new latency query object. Use gst_query_unref() when done with it. A latency query is usually performed by sinks to compensate for additional latency introduced by elements in the pipeline.
the main Gtk struct as a void*
Get the structure of a query.
Parse a convert query answer. Any of src_format, src_value, dest_format, and dest_value may be NULL, in which case that value is omitted.
Parse a duration query answer. Write the format of the duration into format, and the value into duration, if the respective variables are non-NULL.
Parse the number of formats in the formats query.
Parse the format query and retrieve the nth format from it into format. If the list contains less elements than nth, format will be set to GST_FORMAT_UNDEFINED.
Parse a latency query answer.
Parse a position query, writing the format into format, and the position into cur, if the respective parameters are non-NULL.
Parse a seeking query, writing the format into format, and other results into the passed parameters, if the respective parameters are non-NULL
Parse a segment query answer. Any of rate, format, start_value, and stop_value may be NULL, which will cause this value to be omitted. See gst_query_set_segment() for an explanation of the function arguments.
Answer a convert query by setting the requested values.
Answer a duration query by setting the requested value in the given format.
Set the formats query result fields in query. The number of formats passed in the formats array must be equal to n_formats.
Answer a latency query by setting the requested values in the given format.
Answer a position query by setting the requested value in the given format.
Set the seeking query result fields in query.
Answer a segment query by setting the requested values. The normal playback segment of a pipeline is 0 to duration at the default rate of 1.0. If a seek was performed on the pipeline to play a different segment, this query will return the range specified in the last seek. start_value and stop_value will respectively contain the configured playback range start and stop values expressed in format. The values are always between 0 and the duration of the media and start_value <= stop_value. rate will contain the playback rate. For negative rates, playback will actually happen from stop_value to start_value.
Constructs a new query stream position query object. Use gst_query_unref() when done with it. A position query is used to query the current position of playback in the streams, in some format.
Get the query type registered with nick.
Get details about the given GstQueryType.
Get a printable name for the given query type. Do not modify or free.
Get a GstIterator of all the registered query types. The definitions iterated over are read only.
Create a new GstQueryType based on the nick or return an already registered query with that nick
Get the unique quark for the given query type.
See if the given GstQueryType is inside the types query types array.
the main Gtk struct
Description 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. Queries can be created using the gst_query_new_xxx() functions. Query values can be set using gst_query_set_xxx(), and parsed using gst_query_parse_xxx() helpers. The following example shows how to query the duration of a pipeline: Last reviewed on 2006-02-14 (0.10.4)