mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:26:14 +00:00
gst/gstbin.h: Documented structs.
Original commit message from CVS: * gst/gstbin.h: Documented structs.
This commit is contained in:
parent
a628e6f4be
commit
27e5e2480f
2 changed files with 30 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-11-09 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/gstbin.h:
|
||||||
|
Documented structs.
|
||||||
|
|
||||||
2005-11-09 Wim Taymans <wim@fluendo.com>
|
2005-11-09 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* docs/gst/gstreamer-sections.txt:
|
* docs/gst/gstreamer-sections.txt:
|
||||||
|
|
27
gst/gstbin.h
27
gst/gstbin.h
|
@ -77,6 +77,21 @@ typedef struct _GstBinClass GstBinClass;
|
||||||
*/
|
*/
|
||||||
#define GST_BIN_CHILDREN_COOKIE(bin) (GST_BIN_CAST(bin)->children_cookie)
|
#define GST_BIN_CHILDREN_COOKIE(bin) (GST_BIN_CAST(bin)->children_cookie)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstBin:
|
||||||
|
* @numchildren: the number of children in this bin
|
||||||
|
* @children: the list of children in this bin
|
||||||
|
* @children_cookie: updated whenever @children changes
|
||||||
|
* @child_bus: internal bus for handling child messages
|
||||||
|
* @messages: queued messages
|
||||||
|
* @polling: the bin is currently calculating its state
|
||||||
|
* @state_dirty: the bin needs to recalculate its state
|
||||||
|
* @clock_dirty: the bin needs to select a new clock
|
||||||
|
* @provided_clock: the last clock selected
|
||||||
|
*
|
||||||
|
* The GstBin base class. Subclasses can access these fields provided
|
||||||
|
* the LOCK is taken.
|
||||||
|
*/
|
||||||
struct _GstBin {
|
struct _GstBin {
|
||||||
GstElement element;
|
GstElement element;
|
||||||
|
|
||||||
|
@ -87,8 +102,8 @@ struct _GstBin {
|
||||||
GList *children;
|
GList *children;
|
||||||
guint32 children_cookie;
|
guint32 children_cookie;
|
||||||
|
|
||||||
GstBus *child_bus; /* Bus we set on our children */
|
GstBus *child_bus;
|
||||||
GList *messages; /* list of queued messages */
|
GList *messages;
|
||||||
|
|
||||||
gboolean polling;
|
gboolean polling;
|
||||||
gboolean state_dirty;
|
gboolean state_dirty;
|
||||||
|
@ -100,6 +115,14 @@ struct _GstBin {
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstBinClass:
|
||||||
|
* @add_element: method to add an element to a bin
|
||||||
|
* @remove_element: method to remove an element from a bin
|
||||||
|
*
|
||||||
|
* Subclasses can override the @add_element and @remove_element to
|
||||||
|
* update the list of children in the bin.
|
||||||
|
*/
|
||||||
struct _GstBinClass {
|
struct _GstBinClass {
|
||||||
GstElementClass parent_class;
|
GstElementClass parent_class;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue