Using macro instead of gst_pad_get_parent() to avoid increasing the reference of the pad