mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
6c3416a44d
Original commit message from CVS: * gst/base/gstbasesink.c: (gst_base_sink_handle_object): * gst/base/gstbasetransform.c: (gst_base_transform_transform_size), fix up some debugging (gst_base_transform_get_unit_size), (gst_base_transform_buffer_alloc), (gst_base_transform_event), (gst_base_transform_handle_buffer): * gst/base/gstbasetransform.h: handle and store timed NEWSEGMENT events so that subclasses that calculate time by counting samples have a segment_start time they need to add to their timestamps - see audioresample
267 lines
3.3 KiB
Text
267 lines
3.3 KiB
Text
<!-- ##### 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>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### STRUCT GstQuery ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@mini_object:
|
|
@type:
|
|
@structure:
|
|
|
|
<!-- ##### ENUM GstQueryType ##### -->
|
|
<para>
|
|
Standard predefined Query types
|
|
</para>
|
|
|
|
@GST_QUERY_NONE: invalid query type
|
|
@GST_QUERY_POSITION: current position in stream
|
|
@GST_QUERY_LATENCY: latency of stream
|
|
@GST_QUERY_JITTER: current jitter of stream
|
|
@GST_QUERY_RATE: current rate of the stream
|
|
@GST_QUERY_SEEKING:
|
|
@GST_QUERY_CONVERT:
|
|
@GST_QUERY_FORMATS:
|
|
|
|
<!-- ##### 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
|
|
|
|
<!-- ##### 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>
|
|
|
|
@type:
|
|
@Returns:
|
|
<!-- # Unused Parameters # -->
|
|
@Param1:
|
|
|
|
|
|
<!-- ##### MACRO gst_query_copy ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@msg:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_get_structure ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### MACRO gst_query_make_writable ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@msg:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_new_application ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@structure:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_new_convert ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@src_fmt:
|
|
@value:
|
|
@dest_fmt:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_new_position ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@format:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_parse_convert ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@src_format:
|
|
@src_value:
|
|
@dest_format:
|
|
@dest_value:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_parse_position ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@format:
|
|
@cur:
|
|
@end:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_parse_seeking_query ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@format:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_parse_seeking_response ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@format:
|
|
@seekable:
|
|
@segment_start:
|
|
@segment_end:
|
|
|
|
|
|
<!-- ##### MACRO gst_query_ref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@msg:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_set_convert ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@src_format:
|
|
@src_value:
|
|
@dest_format:
|
|
@dest_value:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_set_formats ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@n_formats:
|
|
@Varargs:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_set_position ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@format:
|
|
@cur:
|
|
@end:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_set_seeking ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@query:
|
|
@format:
|
|
@seekable:
|
|
@segment_start:
|
|
@segment_end:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_query_type_iterate_definitions ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### MACRO gst_query_unref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@msg:
|
|
|
|
|