Make sure that we a) don't free structures of caps as we don't own them
and b) make sure to create a copy of all still referenced structures
before it gets removed, the caps are unreffed or something else happens.
This still needs to be fixed for gst_caps_do_simplify()!
This workaround is inspired by the one in gst-python.
Also fix some reference ownership issues in the StaticPadTemplate bindings
and make them a read-only container without any way to create new instances.
We don't need StaticCaps anywhere and StaticPadTemplates only for reading
the static pad templates of an element factory.
* gstreamer-sharp/Gstreamer.metadata: Hide the Children property and
implement own version in Bin.custom to return an Element [] instead of
a GLib.List
* gstreamer-sharp/Bin.custom: Implement Bin.Children
* tests/BinTest.cs: wrote a test for Bin.Children
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61115 e3ebcda4-bce8-0310-ba0a-eca2169e7518
* autogen.sh: Fixed a left over configure.in to configure.ac
* confiugre.ac: Added check foo for NUnit
* gstreamer-sharp.mdp:
* gstreamer-sharp.mds: Added MonoDevelop solution
* source/Makefile.am: Cleaned and fixed
* tests/ConsoleUi.cs:
* tests/ApplicationTest.cs:
* tests/BinTest.cs:
* tests/Makefile.am: Added NUnit test framework and a few tests for
Gst.Application and Gst.Bin
* gstreamer-sharp/CommonTags.cs:
* gstreamer-sharp/*.custom:
* gstreamer-sharp/glue/*.c: Cleaned up
* gstreamer-sharp/Application.cs: New application bindings; fixed
to work properly with GStreamer 0.10
* gstreamer-sharp/Version.cs: New Gst.Version class
* gstreamer-sharp/Makefile.am: Added Version.cs
* gstreamer-sharp/plugins-base/PlayBin.cs: Fixed and extended PlayBin
element binding with new (but not all) properties
* Makefile.am: Added tests
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60902 e3ebcda4-bce8-0310-ba0a-eca2169e7518