Commit graph

61 commits

Author SHA1 Message Date
Sebastian Dröge aad57970de element: Inherit element metadata and pad templates from parent classes
This allows to add pad templates and set metadata in class_init instead of
base_init. base_init is a concept that is not supported by almost all
languages and copying the templates/metadata for subclasses is the more
intuitive way of doing things.

Subclasses can override pad templates of parent classes by adding a new
template with the same now.

Also gst_element_class_add_pad_template() now takes ownership of the
pad template, which was assumed by all code before anyway.

Fixes bug #491501.
2011-04-16 15:59:35 +02:00
Wim Taymans f6a5b168b2 docs: update porting guide with bufferlist changes 2011-04-01 10:46:06 +02:00
Wim Taymans 34da2a68f9 docs: update porting doc 2011-03-31 10:33:49 +02:00
Wim Taymans 3169e8414b docs: update porting guide 2011-02-23 15:43:49 +01:00
Wim Taymans 2e8d1620ef docs: update porting guide 2011-02-23 12:54:21 +01:00
Wim Taymans a5ab300978 porting: update porting document 2010-12-07 18:32:34 +01:00
Wim Taymans 43470edb2d porting: update porting doc 2010-12-07 18:12:53 +01:00
Wim Taymans 99efec3636 object: Removed deprecated fields and methods
Make GstObject extend from GInitiallyUnowned, remove the FLOATING flag and use
GObject methods for managing the floating ref.
Remove class lock, it was a workaround for a glib < 2.8 bug.
Remove the parent-set and parent-unset signals, attempt to implement with notify
but disabled because deadlocks in deep-notify.
2010-12-07 11:58:34 +01:00
Wim Taymans ab99dec18a porting: mention removal of protocol property 2010-12-06 20:03:46 +01:00
Wim Taymans ab2c5a489c docs: update porting doc 2010-12-06 19:24:30 +01:00
Wim Taymans b38d4ed6dd porting: Add porting doc 2010-12-06 13:51:50 +01:00