This is a megapatch with the following changes:
[platform/upstream/gstreamer.git] / gst / elements / gstidentity.c
index 361e75b..4e209a1 100644 (file)
@@ -120,7 +120,7 @@ gst_identity_chain (GstPad *pad, GstBuffer *buf)
   g_return_if_fail (GST_IS_PAD (pad));
   g_return_if_fail (buf != NULL);
 
-  identity = GST_IDENTITY (pad->parent);
+  identity = GST_IDENTITY (gst_pad_get_parent (pad));
   g_print("identity: ******* (%s:%s)i \n",GST_DEBUG_PAD_NAME(pad));
   
   gst_pad_push (identity->srcpad, buf);