gstpropertyprobe

gstpropertyprobe —

Synopsis


#include <gst/interfaces/propertyprobe.h>


            GstPropertyProbe;
            GstPropertyProbeInterface;
const GList* gst_property_probe_get_properties
                                            (GstPropertyProbe *probe);
const GParamSpec* gst_property_probe_get_property
                                            (GstPropertyProbe *probe,
                                             const gchar *name);
GValueArray* gst_property_probe_get_values  (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);
GValueArray* gst_property_probe_get_values_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);
gboolean    gst_property_probe_needs_probe  (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);
gboolean    gst_property_probe_needs_probe_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);
GValueArray* gst_property_probe_probe_and_get_values
                                            (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);
GValueArray* gst_property_probe_probe_and_get_values_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);
void        gst_property_probe_probe_property
                                            (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);
void        gst_property_probe_probe_property_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);

Object Hierarchy


  GInterface
   +----GstPropertyProbe

Description

Details

GstPropertyProbe

typedef struct _GstPropertyProbe GstPropertyProbe;


GstPropertyProbeInterface

typedef struct {
  GTypeInterface klass;

  /* signals */
  void          (*probe_needed)   (GstPropertyProbe *probe,
                                   const GParamSpec *pspec);

  /* virtual functions */
  const GList * (*get_properties) (GstPropertyProbe *probe);
  gboolean      (*needs_probe)    (GstPropertyProbe *probe,
                                   guint             prop_id,
                                   const GParamSpec *pspec);
  void          (*probe_property) (GstPropertyProbe *probe,
                                   guint             prop_id,
                                   const GParamSpec *pspec);
  GValueArray * (*get_values)     (GstPropertyProbe *probe,
                                   guint             prop_id,
                                   const GParamSpec *pspec);

  gpointer _gst_reserved[GST_PADDING];
} GstPropertyProbeInterface;


gst_property_probe_get_properties ()

const GList* gst_property_probe_get_properties
                                            (GstPropertyProbe *probe);

Get a list of properties for which probing is supported.

probe :probe the GstPropertyProbe to get the properties for. the GstPropertyProbe to get the properties for. GstPropertyProbeGstPropertyProbeReturns :Returnsthe list of properties for which probing is supported by this element. the list of properties for which probing is supported by this element.
probe : the GstPropertyProbe to get the properties for.
Returns : the list of properties for which probing is supported by this element.

gst_property_probe_get_property ()

const GParamSpec* gst_property_probe_get_property
                                            (GstPropertyProbe *probe,
                                             const gchar *name);

probe :probe name :name Returns :Returns
probe :
name :
Returns :

gst_property_probe_get_values ()

GValueArray* gst_property_probe_get_values  (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);

Gets the possible (probed) values for the given property, requires the property to have been probed before.

probe :probe the GstPropertyProbe object. the GstPropertyProbe object. GstPropertyProbeGstPropertyProbepspec :pspec the GParamSpec property identifier. the GParamSpec property identifier. GParamSpecGParamSpecReturns :Returns A list of valid values for the given property. A list of valid values for the given property.
probe : the GstPropertyProbe object.
pspec : the GParamSpec property identifier.
Returns : A list of valid values for the given property.

gst_property_probe_get_values_name ()

GValueArray* gst_property_probe_get_values_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);

Same as gst_property_probe_get_values().

probe :probe the GstPropertyProbe object. the GstPropertyProbe object. GstPropertyProbeGstPropertyProbename :name the name of the property to get values for. the name of the property to get values for. Returns :Returns A list of valid values for the given property. A list of valid values for the given property.
probe : the GstPropertyProbe object.
name : the name of the property to get values for.
Returns : A list of valid values for the given property.

gst_property_probe_needs_probe ()

gboolean    gst_property_probe_needs_probe  (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);

Checks whether a property needs a probe. This might be because the property wasn't initialized before, or because host setup changed. This might be, for example, because a new device was added, and thus device probing needs to be refreshed to display the new device.

probe :probe the GstPropertyProbe object to which the given property belongs. the GstPropertyProbe object to which the given property belongs. GstPropertyProbeGstPropertyProbepspec :pspec a GParamSpec that identifies the property to check. a GParamSpec that identifies the property to check. GParamSpecGParamSpecReturns :Returns TRUE if the property needs a new probe, FALSE if not. TRUE if the property needs a new probe, FALSE if not.
probe : the GstPropertyProbe object to which the given property belongs.
pspec : a GParamSpec that identifies the property to check.
Returns : TRUE if the property needs a new probe, FALSE if not.

gst_property_probe_needs_probe_name ()

gboolean    gst_property_probe_needs_probe_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);

Same as gst_property_probe_needs_probe().

probe :probe the GstPropertyProbe object to which the given property belongs. the GstPropertyProbe object to which the given property belongs. GstPropertyProbeGstPropertyProbename :name the name of the property to check. the name of the property to check. Returns :Returns TRUE if the property needs a new probe, FALSE if not. TRUE if the property needs a new probe, FALSE if not.
probe : the GstPropertyProbe object to which the given property belongs.
name : the name of the property to check.
Returns : TRUE if the property needs a new probe, FALSE if not.

gst_property_probe_probe_and_get_values ()

GValueArray* gst_property_probe_probe_and_get_values
                                            (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);

Check whether the given property requires a new probe. If so, fo the probe. After that, retrieve a value list. Meant as a utility function that wraps the above functions.

probe :probe the GstPropertyProbe object. the GstPropertyProbe object. GstPropertyProbeGstPropertyProbepspec :pspec The GParamSpec property identifier. The GParamSpec property identifier. GParamSpecGParamSpecReturns :Returns the list of valid values for this property. the list of valid values for this property.
probe : the GstPropertyProbe object.
pspec : The GParamSpec property identifier.
Returns : the list of valid values for this property.

gst_property_probe_probe_and_get_values_name ()

GValueArray* gst_property_probe_probe_and_get_values_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);

Same as gst_property_probe_probe_and_get_values().

probe :probe the GstPropertyProbe object. the GstPropertyProbe object. GstPropertyProbeGstPropertyProbename :name the name of the property to get values for. the name of the property to get values for. Returns :Returns the list of valid values for this property. the list of valid values for this property.
probe : the GstPropertyProbe object.
name : the name of the property to get values for.
Returns : the list of valid values for this property.

gst_property_probe_probe_property ()

void        gst_property_probe_probe_property
                                            (GstPropertyProbe *probe,
                                             const GParamSpec *pspec);

probe :probe pspec :pspec
probe :
pspec :

gst_property_probe_probe_property_name ()

void        gst_property_probe_probe_property_name
                                            (GstPropertyProbe *probe,
                                             const gchar *name);

Returns the GParamSpec for the given property. It's similar to g_object_class_find_property(), except that this function only takes "probe'able" properties into account.

probe :probe the GstPropertyProbe to check. the GstPropertyProbe to check. GstPropertyProbeGstPropertyProbename :name name of the property to return. name of the property to return.
probe : the GstPropertyProbe to check.
name : name of the property to return.