Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GstObject ├── GstAllocator ├── GstPad ├── GstPadTemplate ├── GstPluginFeature ├── GstElement ├── GstBus ├── GstTask ├── GstTaskPool ├── GstClock ├── GstControlBinding ├── GstControlSource ├── GstPlugin ├── GstRegistry ├── GstBufferPool ├── GstTracer ╰── GstTracerRecord
#define GST_OBJECT_FLAG_IS_SET(obj,flag) ((GST_OBJECT_FLAGS (obj) & (flag)) == (flag))
#define GST_OBJECT_REFCOUNT_VALUE(obj) g_atomic_int_get ((gint *) &GST_OBJECT_REFCOUNT(obj))
gboolean gst_object_has_as_parent (GstObject *object
,GstObject *parent
);
void gst_object_default_deep_notify (GObject *object
,GstObject *orig
,GParamSpec *pspec
,gchar **excluded_props
);
void gst_object_default_error (GstObject *source
,const GError *error
,const gchar *debug
);
gboolean gst_object_check_uniqueness (GList *list
,const gchar *name
);
gboolean gst_object_has_as_ancestor (GstObject *object
,GstObject *ancestor
);
gboolean gst_object_has_ancestor (GstObject *object
,GstObject *ancestor
);
gst_object_has_ancestor
is deprecated and should not be used in newly-written code.
gboolean gst_object_sync_values (GstObject *object
,GstClockTime timestamp
);
gboolean
gst_object_has_active_control_bindings
(GstObject *object
);
void gst_object_set_control_bindings_disabled (GstObject *object
,gboolean disabled
);
void gst_object_set_control_binding_disabled (GstObject *object
,const gchar *property_name
,gboolean disabled
);
gboolean gst_object_add_control_binding (GstObject *object
,GstControlBinding *binding
);
GstControlBinding * gst_object_get_control_binding (GstObject *object
,const gchar *property_name
);
gboolean gst_object_remove_control_binding (GstObject *object
,GstControlBinding *binding
);
GValue * gst_object_get_value (GstObject *object
,const gchar *property_name
,GstClockTime timestamp
);
gboolean gst_object_get_value_array (GstObject *object
,const gchar *property_name
,GstClockTime timestamp
,GstClockTime interval
,guint n_values
,gpointer values
);
gboolean gst_object_get_g_value_array (GstObject *object
,const gchar *property_name
,GstClockTime timestamp
,GstClockTime interval
,guint n_values
,GValue *values
);
void gst_object_set_control_rate (GstObject *object
,GstClockTime control_rate
);
struct GstObject { GMutex lock; /* object LOCK */ gchar *name; /* object name */ GstObject *parent; /* this object's parent, weak ref */ guint32 flags; };
struct GstObjectClass { GInitiallyUnownedClass parent_class; const gchar *path_string_separator; /* signals */ void (*deep_notify) (GstObject * object, GstObject * orig, GParamSpec * pspec); /* virtual methods for subclasses */ };
“name”
property“name” gchar *
The name of the object.
Flags: Read / Write / Construct
Default value: NULL
“deep-notify”
signalvoid user_function (GstObject *gstobject, GstObject *arg1, GParamSpec *arg2, gpointer user_data)
Flags: No Hooks