bin: implement context propagation when adding elements
authorMatthew Waters <matthew@centricular.com>
Wed, 23 Sep 2015 14:04:48 +0000 (00:04 +1000)
committerMatthew Waters <matthew@centricular.com>
Mon, 28 Sep 2015 08:21:59 +0000 (18:21 +1000)
commitd5ded1588920c4471eefe055d09095d9e5e989b5
tree91674228d93bd52558a03c6c5f42ae9cb15b9d76
parent56f12705cab3affa2fb03fad7e9eb9859f1b9137
bin: implement context propagation when adding elements

When adding an element to a bin we need to propagate the GstContext's
to/from the element.

This moves the GstContext list from GstBin to GstElement and adds
convenience functions to get the currently set list of GstContext's.

This does not deal with the collection of GstContext's propagated
using GST_CONTEXT_QUERY.  Element subclasses are advised to call
gst_element_set_context if they need to propagate GstContext's
received from the context query.

https://bugzilla.gnome.org/show_bug.cgi?id=705579
docs/gst/gstreamer-sections.txt
gst/gstbin.c
gst/gstelement.c
gst/gstelement.h
tests/check/gst/gstcontext.c
win32/common/libgstreamer.def