docs: cosmetic changes in references/decriptions

* fix typo GstBufferFlag -> GstBufferFlags
 * fix typo GstFeatures -> GstCapsFeatures
 * fix typo GstAllocatorParams -> GstAllocationParams
 * fix typo GstContrlSources -> GstControlSource
 * do not refer to gstcheck as an object
 * make references gtk_init() and tcase_set_timeout() not be references
 * gst_element_get_pad() renamed gst_element_get_static_pad()
 * gst_clock_id_wait_async_full() renamed gst_clock_id_wait_async()
 * _drop_element() is really gst_queue_array_drop_element()
 * gst_pad_accept_caps() was removed, do not refer to it
 * separate GST_META_TAG_MEMORY_STR declaration from description
 * do not describe removed gst_collect_pads_collect()
 * correctly link to GstElementClass' virtual set_context()

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=719614
This commit is contained in:
Sebastian Rasmussen 2013-11-30 14:52:40 +01:00 committed by Tim-Philipp Müller
parent 3c4d54fd88
commit b40fa2b8c3
14 changed files with 18 additions and 22 deletions

View file

@ -377,7 +377,7 @@ gst_init_check (int *argc, char **argv[], GError ** err)
* </para></note> * </para></note>
* *
* WARNING: This function does not work in the same way as corresponding * WARNING: This function does not work in the same way as corresponding
* functions in other glib-style libraries, such as gtk_init(). In * functions in other glib-style libraries, such as gtk_init\(\). In
* particular, unknown command line options cause this function to * particular, unknown command line options cause this function to
* abort program execution. * abort program execution.
*/ */

View file

@ -91,7 +91,7 @@
* *
* Several flags of the buffer can be set and unset with the * Several flags of the buffer can be set and unset with the
* GST_BUFFER_FLAG_SET() and GST_BUFFER_FLAG_UNSET() macros. Use * GST_BUFFER_FLAG_SET() and GST_BUFFER_FLAG_UNSET() macros. Use
* GST_BUFFER_FLAG_IS_SET() to test if a certain #GstBufferFlag is set. * GST_BUFFER_FLAG_IS_SET() to test if a certain #GstBufferFlags flag is set.
* *
* Buffers can be efficiently merged into a larger buffer with * Buffers can be efficiently merged into a larger buffer with
* gst_buffer_append(). Copying of memory will only be done when absolutely * gst_buffer_append(). Copying of memory will only be done when absolutely

View file

@ -44,13 +44,13 @@ typedef struct _GstBufferPool GstBufferPool;
* GST_BUFFER_FLAGS: * GST_BUFFER_FLAGS:
* @buf: a #GstBuffer. * @buf: a #GstBuffer.
* *
* A flags word containing #GstBufferFlag flags set on this buffer. * A flags word containing #GstBufferFlags flags set on this buffer.
*/ */
#define GST_BUFFER_FLAGS(buf) GST_MINI_OBJECT_FLAGS(buf) #define GST_BUFFER_FLAGS(buf) GST_MINI_OBJECT_FLAGS(buf)
/** /**
* GST_BUFFER_FLAG_IS_SET: * GST_BUFFER_FLAG_IS_SET:
* @buf: a #GstBuffer. * @buf: a #GstBuffer.
* @flag: the #GstBufferFlag to check. * @flag: the #GstBufferFlags flag to check.
* *
* Gives the status of a specific flag on a buffer. * Gives the status of a specific flag on a buffer.
*/ */
@ -58,7 +58,7 @@ typedef struct _GstBufferPool GstBufferPool;
/** /**
* GST_BUFFER_FLAG_SET: * GST_BUFFER_FLAG_SET:
* @buf: a #GstBuffer. * @buf: a #GstBuffer.
* @flag: the #GstBufferFlag to set. * @flag: the #GstBufferFlags flag to set.
* *
* Sets a buffer flag on a buffer. * Sets a buffer flag on a buffer.
*/ */
@ -66,7 +66,7 @@ typedef struct _GstBufferPool GstBufferPool;
/** /**
* GST_BUFFER_FLAG_UNSET: * GST_BUFFER_FLAG_UNSET:
* @buf: a #GstBuffer. * @buf: a #GstBuffer.
* @flag: the #GstBufferFlag to clear. * @flag: the #GstBufferFlags flag to clear.
* *
* Clears a buffer flag. * Clears a buffer flag.
*/ */

View file

@ -866,7 +866,7 @@ gst_caps_get_features (const GstCaps * caps, guint index)
* gst_caps_set_features: * gst_caps_set_features:
* @caps: a #GstCaps * @caps: a #GstCaps
* @index: the index of the structure * @index: the index of the structure
* @features: (allow-none) (transfer full): the #GstFeatures to set * @features: (allow-none) (transfer full): the #GstCapsFeatures to set
* *
* Sets the #GstCapsFeatures @features for the structure at @index. * Sets the #GstCapsFeatures @features for the structure at @index.
* *

View file

@ -32,7 +32,7 @@
* *
* Applications can set a context on a complete pipeline by using * Applications can set a context on a complete pipeline by using
* gst_element_set_context(), which will then be propagated to all * gst_element_set_context(), which will then be propagated to all
* child elements. Elements can handle these in GstElement::set_context() * child elements. Elements can handle these in #GstElementClass.set_context()
* and merge them with the context information they already have. * and merge them with the context information they already have.
* *
* When an element needs a context it will do the following actions in this * When an element needs a context it will do the following actions in this

View file

@ -83,6 +83,7 @@ typedef enum {
/** /**
* GST_META_TAG_MEMORY_STR: * GST_META_TAG_MEMORY_STR:
*
* This metadata stays relevant as long as memory layout is unchanged. * This metadata stays relevant as long as memory layout is unchanged.
* *
* Since: 1.2 * Since: 1.2

View file

@ -47,7 +47,7 @@
* *
* gst_pad_get_parent() will retrieve the #GstElement that owns the pad. * gst_pad_get_parent() will retrieve the #GstElement that owns the pad.
* *
* After two pads are retrieved from an element with gst_element_get_pad(), * After two pads are retrieved from an element by gst_element_get_static_pad(),
* the pads can be linked with gst_pad_link(). (For quick links, * the pads can be linked with gst_pad_link(). (For quick links,
* you can also use gst_element_link(), which will make the obvious * you can also use gst_element_link(), which will make the obvious
* link for you if it's straightforward.). Pads can be unlinked again with * link for you if it's straightforward.). Pads can be unlinked again with

View file

@ -2436,7 +2436,7 @@ query_accept_caps_func (GstPad * pad, QueryAcceptCapsData * data)
* @pad: a #GstPad to proxy. * @pad: a #GstPad to proxy.
* @query: an ACCEPT_CAPS #GstQuery. * @query: an ACCEPT_CAPS #GstQuery.
* *
* Calls gst_pad_accept_caps() for all internally linked pads of @pad and * Checks if all internally linked pads of @pad accepts the caps in @query and
* returns the intersection of the results. * returns the intersection of the results.
* *
* This function is useful as a default accept caps query function for an element * This function is useful as a default accept caps query function for an element

View file

@ -3740,7 +3740,7 @@ gst_base_src_get_buffer_pool (GstBaseSrc * src)
* @allocator: (out) (allow-none) (transfer full): the #GstAllocator * @allocator: (out) (allow-none) (transfer full): the #GstAllocator
* used * used
* @params: (out) (allow-none) (transfer full): the * @params: (out) (allow-none) (transfer full): the
* #GstAllocatorParams of @allocator * #GstAllocationParams of @allocator
* *
* Lets #GstBaseSrc sub-classes to know the memory @allocator * Lets #GstBaseSrc sub-classes to know the memory @allocator
* used by the base class and its @params. * used by the base class and its @params.

View file

@ -2722,7 +2722,7 @@ gst_base_transform_get_buffer_pool (GstBaseTransform * trans)
* @allocator: (out) (allow-none) (transfer full): the #GstAllocator * @allocator: (out) (allow-none) (transfer full): the #GstAllocator
* used * used
* @params: (out) (allow-none) (transfer full): the * @params: (out) (allow-none) (transfer full): the
* #GstAllocatorParams of @allocator * #GstAllocationParams of @allocator
* *
* Lets #GstBaseTransform sub-classes to know the memory @allocator * Lets #GstBaseTransform sub-classes to know the memory @allocator
* used by the base class and its @params. * used by the base class and its @params.

View file

@ -65,11 +65,6 @@
* no pad is blocked and the element can finish streaming. * no pad is blocked and the element can finish streaming.
* </para></listitem> * </para></listitem>
* <listitem><para> * <listitem><para>
* gst_collect_pads_collect() and gst_collect_pads_collect_range() can be used by
* elements that start a #GstTask to drive the collect_pads. This feature is however
* not yet implemented.
* </para></listitem>
* <listitem><para>
* gst_collect_pads_set_waiting() sets a pad to waiting or non-waiting mode. * gst_collect_pads_set_waiting() sets a pad to waiting or non-waiting mode.
* CollectPads element is not waiting for data to be collected on non-waiting pads. * CollectPads element is not waiting for data to be collected on non-waiting pads.
* Thus these pads may but need not have data when the callback is called. * Thus these pads may but need not have data when the callback is called.

View file

@ -297,7 +297,7 @@ gst_queue_array_drop_element (GstQueueArray * array, guint idx)
* Note that the index is not 0-based, but an internal index number with a * Note that the index is not 0-based, but an internal index number with a
* random offset. The index can be used in connection with * random offset. The index can be used in connection with
* gst_queue_array_drop_element(). FIXME: return index 0-based and make * gst_queue_array_drop_element(). FIXME: return index 0-based and make
* _drop_element() take a 0-based index. * gst_queue_array_drop_element() take a 0-based index.
* *
* Returns: Index of the found element or -1 if nothing was found. * Returns: Index of the found element or -1 if nothing was found.
* *

View file

@ -57,7 +57,7 @@
* #GstClock allows for setting up single shot or periodic clock notifications * #GstClock allows for setting up single shot or periodic clock notifications
* as well as waiting for these notifications synchronously (using * as well as waiting for these notifications synchronously (using
* gst_clock_id_wait()) or asynchronously (using gst_clock_id_wait_async() or * gst_clock_id_wait()) or asynchronously (using gst_clock_id_wait_async() or
* gst_clock_id_wait_async_full()). This is used by many GStreamer elements, * gst_clock_id_wait_async()). This is used by many GStreamer elements,
* among them #GstBaseSrc and #GstBaseSink. * among them #GstBaseSrc and #GstBaseSink.
* *
* #GstTestClock keeps track of these clock notifications. By calling * #GstTestClock keeps track of these clock notifications. By calling
@ -79,9 +79,9 @@
* gst_test_clock_wait_for_pending_id_count() then these functions may block * gst_test_clock_wait_for_pending_id_count() then these functions may block
* for a long time. If they block forever then the expected clock notifications * for a long time. If they block forever then the expected clock notifications
* were never requested from #GstTestClock, and so the assumptions in the code * were never requested from #GstTestClock, and so the assumptions in the code
* of the unit test are wrong. The unit test case runner in #GstCheck is * of the unit test are wrong. The unit test case runner in gstcheck is
* expected to catch these cases either by the default test case timeout or the * expected to catch these cases either by the default test case timeout or the
* one set for the unit test by calling tcase_set_timeout(). * one set for the unit test by calling tcase_set_timeout\(\).
* *
* The sample code below assumes that the element under test will delay a * The sample code below assumes that the element under test will delay a
* buffer pushed on the source pad by some latency until it arrives on the sink * buffer pushed on the source pad by some latency until it arrives on the sink

View file

@ -26,7 +26,7 @@
* SECTION:gsttimedvaluecontrolsource * SECTION:gsttimedvaluecontrolsource
* @short_description: timed value control source base class * @short_description: timed value control source base class
* *
* Base class for #GstContrlSources that use time-stamped values. * Base class for #GstControlSource that use time-stamped values.
* *
* When overriding bind, chain up first to give this bind implementation a * When overriding bind, chain up first to give this bind implementation a
* chance to setup things. * chance to setup things.