Next: , Previous: GstUriHandler, Up: Top


42 GstUtils

Various utility functions

42.1 Overview

When defining own plugins, use the GST_BOILERPLATE ease gobject creation.

42.2 Usage

— Function: gst-atomic-int-set (value int)   (atomic_int int)

Unconditionally sets the atomic integer to value.

atomic-int
pointer to an atomic integer
value
value to set
— Function: gst-flow-get-name (ret <gst-flow-return>)   (ret mchars)

Gets a string representing the given flow return.

ret
a <gst-flow-return> to get the name of.
ret
a static string with the name of the flow return.
— Function: gst-flow-to-quark (ret <gst-flow-return>)   (ret unsigned-int)

Get the unique quark for the given GstFlowReturn.

ret
a <gst-flow-return> to get the quark of.
ret
the quark associated with the flow return or 0 if an invalid return was specified.
— Function: gst-print-element-args (buf <g-string*>) (indent int) (element <gst-element>)

Print the element argument in a human readable format in the given GString.

buf
the buffer to print the args in
indent
initial indentation
element
the element to print the args of
— Function: gst-print-pad-caps (buf <g-string*>) (indent int) (pad <gst-pad>)

Write the pad capabilities in a human readable format into the given GString.

buf
the buffer to print the caps in
indent
initial indentation
pad
the pad to print the caps from