mikey: make message and payload mini-objects
authorWim Taymans <wtaymans@redhat.com>
Wed, 2 Jul 2014 13:38:41 +0000 (15:38 +0200)
committerWim Taymans <wtaymans@redhat.com>
Wed, 2 Jul 2014 13:44:12 +0000 (15:44 +0200)
commitb108aad77b27e6e9fab89379a064c8da3389b62b
tree9b21feaf343c8b5669a8bdf923f7f0e591de2c5b
parentc44a70563173b26148e0410607f015c300076c66
mikey: make message and payload mini-objects

Make the MIKEY message and payload objects miniobjects so that they have
a GType and are refcounted.
We can reuse the dispose method to clear our payload objects.
Add some annotations.
Implement a copy function for the MIKEY message.
Fix the unit test.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732589
gst-libs/gst/sdp/gstmikey.c
gst-libs/gst/sdp/gstmikey.h
tests/check/libs/mikey.c
win32/common/libgstsdp.def