GstPropertyMeta

GstPropertyMeta — helper interface for extended gstreamer element meta data

Synopsis




                    GstPropertyMeta;
gchar*              gst_property_meta_describe_property (GstPropertyMeta *self,
                                                         glong index,
                                                         GValue *value);
extern              GQuark gst_property_meta_quark_min_val;
extern              GQuark gst_property_meta_quark_max_val;
extern              GQuark gst_property_meta_quark_def_val;
extern              GQuark gst_property_meta_quark_no_val;
extern              GQuark gst_property_meta_quark_flags;

Object Hierarchy


  GInterface
   +----GstPropertyMeta

Known Implementations

GstPropertyMeta is implemented by GstSimSyn.

Description

This interface standardises some additional meta-data that is attached to GObject properties.

Furthermore it adds the gst_property_meta_describe_property() method that

Details

GstPropertyMeta

typedef struct _GstPropertyMeta GstPropertyMeta;


gst_property_meta_describe_property ()

gchar*              gst_property_meta_describe_property (GstPropertyMeta *self,
                                                         glong index,
                                                         GValue *value);

Formats the gives value as a human readable string. The method is useful to display a property value in a user interface. It privides a default implementation.

self : a GObject that implements GstPropertyMeta
index : the property index
value : the current property value
Returns : a string with the value in humand readable form, free memory when done

gst_property_meta_quark_min_val

extern GQuark gst_property_meta_quark_min_val;

Minimum property value (excluding default and no-value).


gst_property_meta_quark_max_val

extern GQuark gst_property_meta_quark_max_val;

Maximum property value (excluding default and no-value).


gst_property_meta_quark_def_val

extern GQuark gst_property_meta_quark_def_val;

Default property value (used initialy).


gst_property_meta_quark_no_val

extern GQuark gst_property_meta_quark_no_val;

Property value (used in trigger style properties, when there is no current value)


gst_property_meta_quark_flags

extern GQuark gst_property_meta_quark_flags;

Application specific flags giving more hints about the property.