Original commit message from CVS:
* gst/gstminiobject.c: (gst_mini_object_ref):
Cannot assert that the refcount has to be positive
since a disposed object can be resurected.
2005-08-31 Wim Taymans <wim@fluendo.com>
+ * gst/gstminiobject.c: (gst_mini_object_ref):
+ Cannot assert that the refcount has to be positive
+ since a disposed object can be resurected.
+
+2005-08-31 Wim Taymans <wim@fluendo.com>
+
* gst/gstpad.c: (gst_pad_init):
Revert change, need to first fix badly behaving
apps.
gst_mini_object_ref (GstMiniObject * mini_object)
{
g_return_val_if_fail (mini_object != NULL, NULL);
- g_return_val_if_fail (mini_object->refcount > 0, NULL);
+ /* we cannot assert that the refcount > 0 since a bufferalloc
+ * function might resurect an object
+ g_return_val_if_fail (mini_object->refcount > 0, NULL);
+ */
#ifdef DEBUG_REFCOUNT
GST_CAT_LOG (GST_CAT_REFCOUNTING, "%p ref %d->%d",