}
/**
- * gst_query_new_buffering
+ * gst_query_new_buffering:
* @format: the default #GstFormat for the new query
*
* Constructs a new query object for querying the buffering status of
}
/**
- * gst_query_set_buffering_percent
+ * gst_query_set_buffering_percent:
* @query: A valid #GstQuery of type GST_QUERY_BUFFERING.
* @busy: if buffering is busy
* @percent: a buffering percent
}
/**
- * gst_query_parse_buffering_percent
+ * gst_query_parse_buffering_percent:
* @query: A valid #GstQuery of type GST_QUERY_BUFFERING.
* @busy: (out) (allow-none): if buffering is busy, or NULL
* @percent: (out) (allow-none): a buffering percent, or NULL
}
/**
- * gst_query_add_buffering_range
+ * gst_query_add_buffering_range:
* @query: a GST_QUERY_BUFFERING type query #GstQuery
* @start: start position of the range
* @stop: stop position of the range
}
/**
- * gst_query_get_n_buffering_ranges
+ * gst_query_get_n_buffering_ranges:
* @query: a GST_QUERY_BUFFERING type query #GstQuery
*
* Retrieve the number of values currently stored in the
/**
- * gst_query_parse_nth_buffering_range
+ * gst_query_parse_nth_buffering_range:
* @query: a GST_QUERY_BUFFERING type query #GstQuery
* @index: position in the buffered-ranges array to read
* @start: (out) (allow-none): the start position to set, or NULL
}
/**
- * gst_query_new_allocation
+ * gst_query_new_allocation:
* @caps: the negotiated caps
* @need_pool: return a pool
*
return query;
}
+/**
+ * gst_query_parse_allocation:
+ * @query: a #GstQuery
+ * @caps: (out callee-allocates) (allow-none): The #GstCaps
+ * @need_pool: (out) (allow-none): Whether a #GstBufferPool is needed
+ *
+ * Parse an allocation query, writing the requested caps in @caps and
+ * whether a pool is needed in @need_pool, if the respective parameters
+ * are non-NULL.
+ */
void
gst_query_parse_allocation (GstQuery * query, GstCaps ** caps,
gboolean * need_pool)
}
/**
- * gst_query_set_allocation_params
+ * gst_query_set_allocation_params:
* @query: A valid #GstQuery of type GST_QUERY_ALLOCATION.
* @size: the size
* @min_buffers: the min buffers
}
/**
- * gst_query_parse_allocation_params
+ * gst_query_parse_allocation_params:
* @query: A valid #GstQuery of type GST_QUERY_ALLOCATION.
* @size: the size
* @min_buffers: the min buffers
}
/**
- * gst_query_add_allocation_meta
+ * gst_query_add_allocation_meta:
* @query: a GST_QUERY_ALLOCATION type query #GstQuery
* @api: the metadata API
*
}
/**
- * gst_query_parse_nth_allocation_meta
+ * gst_query_parse_nth_allocation_meta:
* @query: a GST_QUERY_ALLOCATION type query #GstQuery
* @index: position in the metadata API array to read
*
}
/**
- * gst_query_has_allocation_meta
+ * gst_query_has_allocation_meta:
* @query: a GST_QUERY_ALLOCATION type query #GstQuery
* @api: the metadata API
*
}
/**
- * gst_query_add_allocation_memory
+ * gst_query_add_allocation_memory:
* @query: a GST_QUERY_ALLOCATION type query #GstQuery
* @alloc: the memory allocator
*
}
/**
- * gst_query_parse_nth_allocation_memory
+ * gst_query_parse_nth_allocation_memory:
* @query: a GST_QUERY_ALLOCATION type query #GstQuery
* @index: position in the allocator array to read
*
}
/**
- * gst_query_new_scheduling
+ * gst_query_new_scheduling:
*
* Constructs a new query object for querying the scheduling properties.
*
}
/**
- * gst_query_set_scheduling
+ * gst_query_set_scheduling:
* @query: A valid #GstQuery of type GST_QUERY_SCHEDULING.
* @flags: #GstSchedulingFlags
* @minsize: the suggested minimum size of pull requests
}
/**
- * gst_query_parse_scheduling
+ * gst_query_parse_scheduling:
* @query: A valid #GstQuery of type GST_QUERY_SCHEDULING.
* @flags: #GstSchedulingFlags
* @minsize: the suggested minimum size of pull requests
}
/**
- * gst_query_add_scheduling_mode
+ * gst_query_add_scheduling_mode:
* @query: a GST_QUERY_SCHEDULING type query #GstQuery
* @mode: a #GstPadMode
*
}
/**
- * gst_query_parse_nth_scheduling_mode
+ * gst_query_parse_nth_scheduling_mode:
* @query: a GST_QUERY_SCHEDULING type query #GstQuery
* @index: position in the scheduling modes array to read
*
}
/**
- * gst_query_has_scheduling_mode
+ * gst_query_has_scheduling_mode:
* @query: a GST_QUERY_SCHEDULING type query #GstQuery
* @mode: the scheduling mode
*
}
/**
- * gst_query_new_accept_caps
+ * gst_query_new_accept_caps:
* @caps: a #GstCaps
*
* Constructs a new query object for querying if @caps are accepted.
}
/**
- * gst_query_new_caps
+ * gst_query_new_caps:
* @filter: a filter
*
* Constructs a new query object for querying the caps.