+2004-03-12 David Schleef <ds@schleef.org>
+
+ * gst/gstcaps.h: jdahlin, what are you smoking? We can't just
+ change API right now! Readd gst_caps_is_simple() macro.
+ * gst/gstelement.c: (gst_element_base_class_finalize): Fix
+ uninitialized variable. I'd bet this caused crashes.
+ * gst/gstinfo.c: (gst_debug_print_object): Fix 64-bit cleanliness.
+
2004-03-12 Johan Dahlin <johan@gnome.org>
* gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
#define GST_STATIC_CAPS_NONE GST_STATIC_CAPS("NONE")
#define GST_CAPS_IS_SIMPLE(caps) (gst_caps_get_size(caps) == 1)
+#define gst_caps_is_simple(caps) GST_CAPS_IS_SIMPLE(caps)
#ifndef GST_DISABLE_DEPRECATED
#define GST_DEBUG_CAPS(string, caps) \
static void
gst_element_base_class_finalize (gpointer g_class)
{
- GstElementClass *klass = GST_ELEMENT_CLASS (klass);
+ GstElementClass *klass = GST_ELEMENT_CLASS (g_class);
g_list_foreach (klass->padtemplates, (GFunc) g_object_unref, NULL);
g_list_free (klass->padtemplates);
return gst_structure_to_string ((GstStructure *)ptr);
}
#ifdef USE_POISONING
- if (*(int *)ptr == 0xffffffff) {
+ if (*(guint32 *)ptr == 0xffffffff) {
return g_strdup_printf ("<poisoned@%p>", ptr);
}
#endif