gstbuffer: fix GstParentBufferMeta GType name
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 4 Mar 2016 17:23:18 +0000 (18:23 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 7 Mar 2016 11:02:00 +0000 (12:02 +0100)
commitc1f2775dcbea37e26f541fbf99d39ab16e8da63b
tree90f49bdaf5b24ee093a4a19ee855a08cfa8f3a5e
parentc904e00661004c3ecf83f86f284ff1d93a0deb14
gstbuffer: fix GstParentBufferMeta GType name

The alias define GST_TYPE_PARENT_BUFFER_META_API_TYPE is wrong and
breaks the usage of gst_buffer_get_parent_buffer_meta().

This patch fixes the GType alias and make another alias to keep the API
compatibility guarded by GST_DISABLE_DEPRECATED.

Also added a unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=763112
gst/gstbuffer.h
tests/check/gst/gstbuffer.c