mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
Fixing various typos
This commit is contained in:
parent
f321f42359
commit
4bc68bb3fe
5 changed files with 18 additions and 18 deletions
|
@ -169,7 +169,7 @@ gst_memory_is_type (GstMemory * mem, const gchar * mem_type)
|
||||||
*
|
*
|
||||||
* Get the current @size, @offset and @maxsize of @mem.
|
* Get the current @size, @offset and @maxsize of @mem.
|
||||||
*
|
*
|
||||||
* Returns: the current sizes of @mem
|
* Returns: the current size of @mem
|
||||||
*/
|
*/
|
||||||
gsize
|
gsize
|
||||||
gst_memory_get_sizes (GstMemory * mem, gsize * offset, gsize * maxsize)
|
gst_memory_get_sizes (GstMemory * mem, gsize * offset, gsize * maxsize)
|
||||||
|
|
|
@ -255,7 +255,7 @@ typedef gpointer (*GstMemoryMapFullFunction) (GstMemory *mem, GstMapInf
|
||||||
* GstMemoryUnmapFunction:
|
* GstMemoryUnmapFunction:
|
||||||
* @mem: a #GstMemory
|
* @mem: a #GstMemory
|
||||||
*
|
*
|
||||||
* Return the pointer previously retrieved with gst_memory_map().
|
* Release the pointer previously retrieved with gst_memory_map().
|
||||||
*/
|
*/
|
||||||
typedef void (*GstMemoryUnmapFunction) (GstMemory *mem);
|
typedef void (*GstMemoryUnmapFunction) (GstMemory *mem);
|
||||||
|
|
||||||
|
@ -264,7 +264,7 @@ typedef void (*GstMemoryUnmapFunction) (GstMemory *mem);
|
||||||
* @mem: a #GstMemory
|
* @mem: a #GstMemory
|
||||||
* @info: a #GstMapInfo
|
* @info: a #GstMapInfo
|
||||||
*
|
*
|
||||||
* Return the pointer previously retrieved with gst_memory_map() with @info.
|
* Release the pointer previously retrieved with gst_memory_map() with @info.
|
||||||
*/
|
*/
|
||||||
typedef void (*GstMemoryUnmapFullFunction) (GstMemory *mem, GstMapInfo * info);
|
typedef void (*GstMemoryUnmapFullFunction) (GstMemory *mem, GstMapInfo * info);
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@ gst_memory_ref (GstMemory * memory)
|
||||||
* gst_memory_unref: (skip)
|
* gst_memory_unref: (skip)
|
||||||
* @memory: (transfer full): the memory to refcount
|
* @memory: (transfer full): the memory to refcount
|
||||||
*
|
*
|
||||||
* Decrease the refcount of an memory, freeing it if the refcount reaches 0.
|
* Decrease the refcount of a memory, freeing it if the refcount reaches 0.
|
||||||
*/
|
*/
|
||||||
static inline void gst_memory_unref(GstMemory* memory);
|
static inline void gst_memory_unref(GstMemory* memory);
|
||||||
static inline void
|
static inline void
|
||||||
|
|
|
@ -3965,7 +3965,7 @@ gst_pad_create_stream_id_internal (GstPad * pad, GstElement * parent,
|
||||||
gst_object_unref (sinkpad);
|
gst_object_unref (sinkpad);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The only case where we don't have an upstream start-start event
|
/* The only case where we don't have an upstream stream-start event
|
||||||
* here is for source elements */
|
* here is for source elements */
|
||||||
if (!upstream_stream_id) {
|
if (!upstream_stream_id) {
|
||||||
GstQuery *query;
|
GstQuery *query;
|
||||||
|
|
|
@ -636,7 +636,7 @@ gst_base_transform_query_caps (GstBaseTransform * trans, GstPad * pad,
|
||||||
templ = gst_pad_get_pad_template_caps (pad);
|
templ = gst_pad_get_pad_template_caps (pad);
|
||||||
otempl = gst_pad_get_pad_template_caps (otherpad);
|
otempl = gst_pad_get_pad_template_caps (otherpad);
|
||||||
|
|
||||||
/* first prepare the filter to be send onwards. We need to filter and
|
/* first prepare the filter to be sent onwards. We need to filter and
|
||||||
* transform it to valid caps for the otherpad. */
|
* transform it to valid caps for the otherpad. */
|
||||||
if (filter) {
|
if (filter) {
|
||||||
GST_DEBUG_OBJECT (pad, "filter caps %" GST_PTR_FORMAT, filter);
|
GST_DEBUG_OBJECT (pad, "filter caps %" GST_PTR_FORMAT, filter);
|
||||||
|
@ -2547,7 +2547,7 @@ gst_base_transform_set_passthrough (GstBaseTransform * trans,
|
||||||
*
|
*
|
||||||
* See if @trans is configured as a passthrough transform.
|
* See if @trans is configured as a passthrough transform.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE is the transform is configured in passthrough mode.
|
* Returns: %TRUE if the transform is configured in passthrough mode.
|
||||||
*
|
*
|
||||||
* MT safe.
|
* MT safe.
|
||||||
*/
|
*/
|
||||||
|
@ -2611,7 +2611,7 @@ gst_base_transform_set_in_place (GstBaseTransform * trans, gboolean in_place)
|
||||||
*
|
*
|
||||||
* See if @trans is configured as a in_place transform.
|
* See if @trans is configured as a in_place transform.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE is the transform is configured in in_place mode.
|
* Returns: %TRUE if the transform is configured in in_place mode.
|
||||||
*
|
*
|
||||||
* MT safe.
|
* MT safe.
|
||||||
*/
|
*/
|
||||||
|
@ -2800,7 +2800,7 @@ gst_base_transform_reconfigure_src (GstBaseTransform * trans)
|
||||||
* @trans: a #GstBaseTransform
|
* @trans: a #GstBaseTransform
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): the instance of the #GstBufferPool used
|
* Returns: (transfer full): the instance of the #GstBufferPool used
|
||||||
* by @trans; free it after use it
|
* by @trans; free it after use
|
||||||
*/
|
*/
|
||||||
GstBufferPool *
|
GstBufferPool *
|
||||||
gst_base_transform_get_buffer_pool (GstBaseTransform * trans)
|
gst_base_transform_get_buffer_pool (GstBaseTransform * trans)
|
||||||
|
@ -2821,10 +2821,10 @@ gst_base_transform_get_buffer_pool (GstBaseTransform * trans)
|
||||||
* @params: (out) (allow-none) (transfer full): the
|
* @params: (out) (allow-none) (transfer full): the
|
||||||
* #GstAllocationParams of @allocator
|
* #GstAllocationParams of @allocator
|
||||||
*
|
*
|
||||||
* Lets #GstBaseTransform sub-classes to know the memory @allocator
|
* Lets #GstBaseTransform sub-classes know the memory @allocator
|
||||||
* used by the base class and its @params.
|
* used by the base class and its @params.
|
||||||
*
|
*
|
||||||
* Unref the @allocator after use it.
|
* Unref the @allocator after use.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gst_base_transform_get_allocator (GstBaseTransform * trans,
|
gst_base_transform_get_allocator (GstBaseTransform * trans,
|
||||||
|
@ -2846,13 +2846,13 @@ gst_base_transform_get_allocator (GstBaseTransform * trans,
|
||||||
* @updated_caps: An updated version of the srcpad caps to be pushed
|
* @updated_caps: An updated version of the srcpad caps to be pushed
|
||||||
* downstream
|
* downstream
|
||||||
*
|
*
|
||||||
* Updates the srcpad caps and send the caps downstream. This function
|
* Updates the srcpad caps and sends the caps downstream. This function
|
||||||
* can be used by subclasses when they have already negotiated their caps
|
* can be used by subclasses when they have already negotiated their caps
|
||||||
* but found a change in them (or computed new information). This way,
|
* but found a change in them (or computed new information). This way,
|
||||||
* they can notify downstream about that change without losing any
|
* they can notify downstream about that change without losing any
|
||||||
* buffer.
|
* buffer.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE if the caps could be send downstream %FALSE otherwise
|
* Returns: %TRUE if the caps could be sent downstream %FALSE otherwise
|
||||||
*
|
*
|
||||||
* Since: 1.6
|
* Since: 1.6
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -123,10 +123,10 @@ struct _GstBaseTransform {
|
||||||
* Subclasses can override this method to check if @caps can be
|
* Subclasses can override this method to check if @caps can be
|
||||||
* handled by the element. The default implementation might not be
|
* handled by the element. The default implementation might not be
|
||||||
* the most optimal way to check this in all cases.
|
* the most optimal way to check this in all cases.
|
||||||
* @set_caps: allows the subclass to be notified of the actual caps set.
|
* @set_caps: Allows the subclass to be notified of the actual caps set.
|
||||||
* @query: Optional.
|
* @query: Optional.
|
||||||
* Handle a requested query. Subclasses that implement this
|
* Handle a requested query. Subclasses that implement this
|
||||||
* should must chain up to the parent if they didn't handle the
|
* must chain up to the parent if they didn't handle the
|
||||||
* query
|
* query
|
||||||
* @decide_allocation: Setup the allocation parameters for allocating output
|
* @decide_allocation: Setup the allocation parameters for allocating output
|
||||||
* buffers. The passed in query contains the result of the
|
* buffers. The passed in query contains the result of the
|
||||||
|
@ -153,7 +153,7 @@ struct _GstBaseTransform {
|
||||||
* The default implementation uses get_unit_size and keeps
|
* The default implementation uses get_unit_size and keeps
|
||||||
* the number of units the same.
|
* the number of units the same.
|
||||||
* @get_unit_size: Required if the transform is not in-place.
|
* @get_unit_size: Required if the transform is not in-place.
|
||||||
* get the size in bytes of one unit for the given caps.
|
* Get the size in bytes of one unit for the given caps.
|
||||||
* @start: Optional.
|
* @start: Optional.
|
||||||
* Called when the element starts processing.
|
* Called when the element starts processing.
|
||||||
* Allows opening external resources.
|
* Allows opening external resources.
|
||||||
|
@ -181,7 +181,7 @@ struct _GstBaseTransform {
|
||||||
* offsets of the buffer.
|
* offsets of the buffer.
|
||||||
* @transform_meta: Optional. Transform the metadata on the input buffer to the
|
* @transform_meta: Optional. Transform the metadata on the input buffer to the
|
||||||
* output buffer. By default this method copies all meta without
|
* output buffer. By default this method copies all meta without
|
||||||
* tags. subclasses can implement this method and return %TRUE if
|
* tags. Subclasses can implement this method and return %TRUE if
|
||||||
* the metadata is to be copied.
|
* the metadata is to be copied.
|
||||||
* @before_transform: Optional.
|
* @before_transform: Optional.
|
||||||
* This method is called right before the base class will
|
* This method is called right before the base class will
|
||||||
|
@ -206,7 +206,7 @@ struct _GstBaseTransform {
|
||||||
* @queued_buf variable, generates an output buffer if needed
|
* @queued_buf variable, generates an output buffer if needed
|
||||||
* by calling the class @prepare_output_buffer, and then
|
* by calling the class @prepare_output_buffer, and then
|
||||||
* calls either @transform or @transform_ip. Elements that don't
|
* calls either @transform or @transform_ip. Elements that don't
|
||||||
* do 1-to-1 transformations on input to output buffers can either
|
* do 1-to-1 transformations of input to output buffers can either
|
||||||
* return GST_BASE_TRANSFORM_FLOW_DROPPED or simply not generate
|
* return GST_BASE_TRANSFORM_FLOW_DROPPED or simply not generate
|
||||||
* an output buffer until they are ready to do so. (Since: 1.6)
|
* an output buffer until they are ready to do so. (Since: 1.6)
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue