query: sprinkle some Since 1.2 markers in docs

This commit is contained in:
Tim-Philipp Müller 2013-07-16 14:46:15 +01:00
parent 98c1342614
commit 472a64418a
2 changed files with 21 additions and 2 deletions

View file

@ -1630,6 +1630,8 @@ gst_query_set_nth_allocation_pool (GstQuery * query, guint index,
* @index: position in the allocation pool array to remove * @index: position in the allocation pool array to remove
* *
* Remove the allocation pool at @index of the allocation pool array. * Remove the allocation pool at @index of the allocation pool array.
*
* Since: 1.2
*/ */
void void
gst_query_remove_nth_allocation_pool (GstQuery * query, guint index) gst_query_remove_nth_allocation_pool (GstQuery * query, guint index)
@ -1972,6 +1974,8 @@ gst_query_set_nth_allocation_param (GstQuery * query, guint index,
* @index: position in the allocation param array to remove * @index: position in the allocation param array to remove
* *
* Remove the allocation param at @index of the allocation param array. * Remove the allocation param at @index of the allocation param array.
*
* Since: 1.2
*/ */
void void
gst_query_remove_nth_allocation_param (GstQuery * query, guint index) gst_query_remove_nth_allocation_param (GstQuery * query, guint index)
@ -2440,6 +2444,8 @@ gst_query_new_drain (void)
* Free-function: gst_query_unref * Free-function: gst_query_unref
* *
* Returns: (transfer full): a new #GstQuery * Returns: (transfer full): a new #GstQuery
*
* Since: 1.2
*/ */
GstQuery * GstQuery *
gst_query_new_context (void) gst_query_new_context (void)
@ -2459,6 +2465,8 @@ gst_query_new_context (void)
* @context: the requested #GstContext * @context: the requested #GstContext
* *
* Answer a context query by setting the requested context. * Answer a context query by setting the requested context.
*
* Since: 1.2
*/ */
void void
gst_query_set_context (GstQuery * query, GstContext * context) gst_query_set_context (GstQuery * query, GstContext * context)
@ -2480,6 +2488,8 @@ gst_query_set_context (GstQuery * query, GstContext * context)
* *
* Get the context from the context @query. The context remains valid as long as * Get the context from the context @query. The context remains valid as long as
* @query remains valid. * @query remains valid.
*
* Since: 1.2
*/ */
void void
gst_query_parse_context (GstQuery * query, GstContext ** context) gst_query_parse_context (GstQuery * query, GstContext ** context)
@ -2507,6 +2517,8 @@ free_array_string (gpointer ptr)
* @context_type: a context type * @context_type: a context type
* *
* Add a new context type to @query. * Add a new context type to @query.
*
* Since: 1.2
*/ */
void void
gst_query_add_context_type (GstQuery * query, const gchar * context_type) gst_query_add_context_type (GstQuery * query, const gchar * context_type)
@ -2534,6 +2546,8 @@ gst_query_add_context_type (GstQuery * query, const gchar * context_type)
* context-types array of the query's structure. * context-types array of the query's structure.
* *
* Returns: the context-types array size as a #guint. * Returns: the context-types array size as a #guint.
*
* Since: 1.2
*/ */
guint guint
gst_query_get_n_context_types (GstQuery * query) gst_query_get_n_context_types (GstQuery * query)
@ -2559,6 +2573,8 @@ gst_query_get_n_context_types (GstQuery * query)
* from @index. * from @index.
* *
* Returns: a #gboolean indicating if the parsing succeeded. * Returns: a #gboolean indicating if the parsing succeeded.
*
* Since: 1.2
*/ */
gboolean gboolean
gst_query_parse_nth_context_type (GstQuery * query, guint index, gst_query_parse_nth_context_type (GstQuery * query, guint index,
@ -2589,6 +2605,8 @@ gst_query_parse_nth_context_type (GstQuery * query, guint index,
* Check if @query is asking for @context_type. * Check if @query is asking for @context_type.
* *
* Returns: %TRUE if @context_type is requested. * Returns: %TRUE if @context_type is requested.
*
* Since: 1.2
*/ */
gboolean gboolean
gst_query_has_context_type (GstQuery * query, const gchar * context_type) gst_query_has_context_type (GstQuery * query, const gchar * context_type)

View file

@ -102,7 +102,8 @@ typedef enum {
* @GST_QUERY_ACCEPT_CAPS: the accept caps query * @GST_QUERY_ACCEPT_CAPS: the accept caps query
* @GST_QUERY_CAPS: the caps query * @GST_QUERY_CAPS: the caps query
* @GST_QUERY_DRAIN: wait till all serialized data is consumed downstream * @GST_QUERY_DRAIN: wait till all serialized data is consumed downstream
* @GST_QUERY_CONTEXT: query the pipeline-local context from downstream * @GST_QUERY_CONTEXT: query the pipeline-local context from
* downstream (since 1.2)
* *
* Standard predefined Query types * Standard predefined Query types
*/ */
@ -442,7 +443,7 @@ gboolean gst_query_find_allocation_meta (GstQuery *query, GType api
* GstSchedulingFlags: * GstSchedulingFlags:
* @GST_SCHEDULING_FLAG_SEEKABLE: if seeking is possible * @GST_SCHEDULING_FLAG_SEEKABLE: if seeking is possible
* @GST_SCHEDULING_FLAG_SEQUENTIAL: if sequential access is recommended * @GST_SCHEDULING_FLAG_SEQUENTIAL: if sequential access is recommended
* @GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED: if bandwidth is limited and buffering possible * @GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED: if bandwidth is limited and buffering possible (since 1.2)
* *
* The different scheduling flags. * The different scheduling flags.
*/ */