From: Wim Taymans Date: Wed, 23 Feb 2011 11:54:21 +0000 (+0100) Subject: docs: update porting guide X-Git-Tag: RELEASE-0.11.0~570 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e8d1620ef7eba61cb0ec64838abf20154ec9748;p=platform%2Fupstream%2Fgstreamer.git docs: update porting guide --- diff --git a/docs/random/porting-to-0.11.txt b/docs/random/porting-to-0.11.txt index 298e275..7e5b6ad 100644 --- a/docs/random/porting-to-0.11.txt +++ b/docs/random/porting-to-0.11.txt @@ -50,3 +50,41 @@ The 0.11 porting guide A similar change was done for gst_pad_peer_get_caps() and gst_pad_peer_get_caps_reffed() +* GstMiniObject + A miniobject is now a simple refcounted structure holding the information + common to buffers, events, messages, queries and caps. + + There is no more GST_TYPE_MINIOBJECT as the type for subclasses. + G_TYPE_BOXED can be used as the type of all GstMiniObject based types such + as buffers, events, messages, caps, etc. Signals, for example, would use the + boxed type if the argument include GstMiniObject derived types. + + gst_mini_object_new() is removed. You would allocate memory with the the + methods specific for the derived type. + + GstParamSpecMiniObject is removed, use boxed param spec now with the GType + of the specific GstMiniObject derived type. Also + gst_param_spec_mini_object() + + The specific gst_value_*_mini_object() methods are removed, used the generic + boxed methods instead. + +* GstBuffer + A GstBuffer is now a simple boxed type this means that subclassing is not + possible anymore. To add more data to the buffer, you have to use the + metadata feature of buffers. + +* GstEvent +* GstQuery + Boxed types derived from GstMiniObject. + +* GstBufferList + Is now a boxed type derived from GstMiniObject. + +* GstMessage + Is now a boxed type derived from GstMiniObject + +* GstCaps + Is now a boxed type derived from GstMiniObject. + +