Name
GstProps -- Properties
Description
GstProps is used to attach certain properties to a pad. Properties
are usually used in conjunction with GstCaps.
Details
struct GstProps
struct GstProps {
GList *properties; /* real properties for this property */
}; |
GstPropsFactoryEntry
typedef gpointer GstPropsFactoryEntry; |
GstPropsFactory[]
typedef GstPropsFactoryEntry GstPropsFactory[]; |
GST_PROPS_LIST()
#define GST_PROPS_LIST(a...) GST_PROPS_LIST_ID,##a,NULL |
Create a list of properties.
GST_PROPS_INT()
#define GST_PROPS_INT(a) GST_PROPS_INT_ID,(GINT_TO_POINTER(a)) |
Create an integer property.
GST_PROPS_INT_RANGE()
#define GST_PROPS_INT_RANGE(a,b) GST_PROPS_INT_RANGE_ID,(GINT_TO_POINTER(a)),(GINT_TO_POINTER(b)) |
Create an integer range property.
GST_PROPS_FOURCC()
#define GST_PROPS_FOURCC(a,b,c,d) GST_PROPS_FOURCC_ID,(GINT_TO_POINTER((a)|(b)<<8|(c)<<16|(d)<<24)) |
Construct a fourcc property out of four bytes.
GST_PROPS_FOURCC_INT()
#define GST_PROPS_FOURCC_INT(a) GST_PROPS_FOURCC_ID,(GINT_TO_POINTER(a)) |
Create a fourcc property out of an integer value.
GST_PROPS_BOOLEAN()
#define GST_PROPS_BOOLEAN(a) GST_PROPS_BOOL_ID,(GINT_TO_POINTER(a)) |
Create a boolean property.
gst_props_register ()
GstProps* gst_props_register (GstPropsFactory factory); |
Register the factory.
gst_props_register_count ()
GstProps* gst_props_register_count (GstPropsFactory factory,
guint *counter); |
Register the factory.
gst_props_new ()
Create a new property from the list of entries.
gst_props_merge ()
Merge the properties of tomerge into props.
gst_props_check_compatibility ()
gboolean gst_props_check_compatibility (GstProps *fromprops,
GstProps *toprops); |
Checks whether two capabilities are compatible.
gst_props_save_thyself ()
xmlNodePtr gst_props_save_thyself (GstProps *props,
xmlNodePtr parent); |
Saves the property into an XML representation.
gst_props_load_thyself ()
GstProps* gst_props_load_thyself (xmlNodePtr parent); |
Creates a new property out of an XML tree.