+2008-09-05 Tim-Philipp Müller <tim.muller at collabora co uk>
+
+ * gst-libs/gst/interfaces/propertyprobe.c:
+ (gst_property_probe_get_properties),
+ (gst_property_probe_get_property),
+ (gst_property_probe_probe_property),
+ (gst_property_probe_probe_property_name),
+ (gst_property_probe_needs_probe),
+ (gst_property_probe_needs_probe_name),
+ (gst_property_probe_get_values),
+ (gst_property_probe_get_values_name),
+ (gst_property_probe_probe_and_get_values),
+ (gst_property_probe_probe_and_get_values_name):
+ More sanity checks for our second-favourite interface.
+
2008-09-05 Stefan Kost <ensonic@users.sf.net>
* gst-libs/gst/interfaces/propertyprobe.c:
GstPropertyProbeInterface *iface;
g_return_val_if_fail (probe != NULL, NULL);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), NULL);
iface = GST_PROPERTY_PROBE_GET_IFACE (probe);
const GParamSpec *
gst_property_probe_get_property (GstPropertyProbe * probe, const gchar * name)
{
- const GList *pspecs = gst_property_probe_get_properties (probe);
+ const GList *pspecs;
g_return_val_if_fail (probe != NULL, NULL);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), NULL);
g_return_val_if_fail (name != NULL, NULL);
+ pspecs = gst_property_probe_get_properties (probe);
+
while (pspecs) {
const GParamSpec *pspec = pspecs->data;
GstPropertyProbeInterface *iface;
g_return_if_fail (probe != NULL);
+ g_return_if_fail (GST_IS_PROPERTY_PROBE (probe));
g_return_if_fail (pspec != NULL);
iface = GST_PROPERTY_PROBE_GET_IFACE (probe);
const GParamSpec *pspec;
g_return_if_fail (probe != NULL);
+ g_return_if_fail (GST_IS_PROPERTY_PROBE (probe));
g_return_if_fail (name != NULL);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);
GstPropertyProbeInterface *iface;
g_return_val_if_fail (probe != NULL, FALSE);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), FALSE);
g_return_val_if_fail (pspec != NULL, FALSE);
iface = GST_PROPERTY_PROBE_GET_IFACE (probe);
const GParamSpec *pspec;
g_return_val_if_fail (probe != NULL, FALSE);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), FALSE);
g_return_val_if_fail (name != NULL, FALSE);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);
GstPropertyProbeInterface *iface;
g_return_val_if_fail (probe != NULL, NULL);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), NULL);
g_return_val_if_fail (pspec != NULL, NULL);
iface = GST_PROPERTY_PROBE_GET_IFACE (probe);
const GParamSpec *pspec;
g_return_val_if_fail (probe != NULL, NULL);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), NULL);
g_return_val_if_fail (name != NULL, NULL);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);
GstPropertyProbeInterface *iface;
g_return_val_if_fail (probe != NULL, NULL);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), NULL);
g_return_val_if_fail (pspec != NULL, NULL);
iface = GST_PROPERTY_PROBE_GET_IFACE (probe);
const GParamSpec *pspec;
g_return_val_if_fail (probe != NULL, NULL);
+ g_return_val_if_fail (GST_IS_PROPERTY_PROBE (probe), NULL);
g_return_val_if_fail (name != NULL, NULL);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (probe), name);