Commit graph

41 commits

Author SHA1 Message Date
Sebastian Dröge
bdda44d849 Fix bindings of the tag merge functions 2009-04-21 19:27:35 +02:00
Sebastian Dröge
a23154fc2f Complete/fix bindings for Gst.Tag and Gst.TagList 2009-04-21 14:31:29 +02:00
Sebastian Dröge
7fb126bfd1 Fix some more structure ownerships 2009-04-19 18:29:19 +02:00
Sebastian Dröge
0c50db66f0 Fix structure handling (almost) of caps
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.
2009-04-19 16:56:14 +02:00
Sebastian Dröge
40fc4c1412 Put tags into the Tag class instead of a new Tags class
Also remove the void ctor of the Tag class, it's not meant to be instantiated
2009-04-18 16:43:15 +02:00
Sebastian Dröge
a24521be88 We actually don't own the structure returned by gst_message_get_structure() 2009-04-18 16:27:32 +02:00
Sebastian Dröge
cdb05eac31 Add/fix complete bindings of Gst.Message 2009-04-18 16:24:12 +02:00
Sebastian Dröge
21704d8efe Add CoreError/StreamError/etc enum types 2009-04-18 16:23:43 +02:00
Sebastian Dröge
c1eeb9c6bd Implement Gst.MiniObject.Copy() manually to get the correct type from the instance 2009-04-18 16:21:16 +02:00
Sebastian Dröge
47fc2f04f6 Disable obsolete Type(GLib.GType) constructors everywhere 2009-04-16 17:48:31 +02:00
Sebastian Dröge
5f09bf0641 Update to 0.10.22.2 and add the _get_type() functions for enum/flags types 2009-04-16 12:17:02 +02:00
Sebastian Dröge
294b5df8f7 gst_pad_template_new() takes ownership of the caps, reference them
Also rename and cleanup some PadTemplate members
2009-04-15 14:40:09 +02:00
Sebastian Dröge
b24a603570 Drop StaticCaps bindings and let the StaticPadTemplate bindings be autogenerated
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.
2009-04-15 13:26:54 +02:00
Sebastian Dröge
79931bf601 Fix and complete Static{PadTemplate,Caps} bindings 2009-04-14 17:55:19 +02:00
Sebastian Dröge
ffa5406b48 Fix/complete the Caps bindings
Also make sure in Gst.Structure that we're having a mutable structure
before changing any content.
2009-04-14 13:31:06 +02:00
Sebastian Dröge
4b72aea9d5 Fix Gst.Buffer bindings 2009-04-13 13:27:26 +02:00
Sebastian Dröge
4a716f3ba2 Fix MiniObject bindings 2009-04-12 20:55:11 +02:00
Sebastian Dröge
652b922790 Rename {Buffer,Tag}Flag to {Buffer,Tag}Flags for consistency 2009-04-12 20:54:33 +02:00
Sebastian Dröge
6f840992fb Mark MiniObject and PluginFeature as abstract classes 2009-04-11 20:08:35 +02:00
Sebastian Dröge
8076872e0e Fix Gst.Structure bindings 2009-04-11 20:07:03 +02:00
Sebastian Dröge
d45b43983e Add initial support for our custom GValue types and for setting/getting MiniObjects from/to GValues 2009-04-11 17:52:50 +02:00
Sebastian Dröge
ad0ab3d418 Fix ownership of Registry/Parse methods that return objects 2009-04-08 11:18:40 +02:00
Sebastian Dröge
fab42913c8 Finish the ElementFactory/PluginFeature bindings 2009-04-08 10:52:46 +02:00
Sebastian Dröge
cf3a1f5050 Clean the Gst.Global class and complete Gst.Parse/Gst.ParseContext bindings 2009-04-08 10:12:48 +02:00
Sebastian Dröge
057861be6f Complete and correct the GstRegistry bindings 2009-04-08 09:29:38 +02:00
Sebastian Dröge
dd7d2154b2 Ignore more header files
These are either private, don't make sense in the bindings
or we need to find better ways to bind them (i.e. GST_ERROR)
2009-04-07 14:24:10 +02:00
Sebastian Dröge
13b76b1399 Don't hide the Buffer constructor with no arguments 2009-04-07 11:40:20 +02:00
Sebastian Dröge
9b43600e1b Fix typo 2009-04-07 11:33:55 +02:00
Sebastian Dröge
dba4fc945c Print reason if InitCheck() failed and introduce GError helper functions 2009-04-07 11:02:08 +02:00
Sebastian Dröge
02ee7b973f Sort API metadata alphabetically and cleanup
Also change the order in which we fixup the API to make more sense
2009-04-07 10:30:00 +02:00
Sebastian Dröge
ba8f8562b5 First take at updating to 0.10.22 2009-04-04 14:18:34 +02:00
Sebastian Dröge
615b619bd0 Make everything compilable again 2009-04-04 13:33:40 +02:00
Khaled Mohammed
196ad13ffb added missing files
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65068 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-09-07 16:24:30 +00:00
Khaled Mohammed
610da9b1d9 Added Element.LinkMany and Element.UnlinkMany
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64347 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-25 09:49:52 +00:00
Khaled Mohammed
9b5a54fe8d 2006/08/20 Khaled Mohammed (khaled.mohammed@gmail.com)
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64117 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-20 22:37:48 +00:00
Khaled Mohammed
13873a6559 more tests and Dispose() in Gst.Object
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63657 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-11 20:53:33 +00:00
Khaled Mohammed
8ad1c333e7 Fix of Refcount property in Gst.Object
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63396 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-05 21:07:11 +00:00
Khaled Mohammed
d09ded2065 Custom Signal Handler for Element.cs
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61891 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-06-21 07:25:57 +00:00
Aaron Bockover
8c72b3b631 2006-05-25 Aaron Bockover <aaron@abock.org>
* 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
2006-05-25 15:57:02 +00:00
Aaron Bockover
88b3b2c712 2006-05-20 Aaron Bockover <aaron@abock.org>
* 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
2006-05-20 22:35:40 +00:00
Aaron Bockover
b94528f8e7 Initial import of the sleek new gstreamer-sharp, a massive WIP
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60875 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-19 19:24:35 +00:00