Commit graph

26 commits

Author SHA1 Message Date
Maarten Bosmans
8046a36bb4 Restore the simple Message.ParseTag overload
In daa62493 the Message.ParseTag(out Pad pad, out TagList tags) method
is added and the old one removed, but they can coexist peacefully.
2009-12-10 10:44:36 +01:00
Sebastian Dröge
80a5794fc1 Fix indention everywhere 2009-09-20 10:22:16 +02:00
Sebastian Dröge
1689d6a031 Add bindings for the RequestState messages 2009-09-14 18:03:18 +02:00
Sebastian Dröge
daa624932c Correctly bind the new API 2009-09-11 10:14:43 +02:00
Sebastian Dröge
aa7bb8fa1c Use internal glib-sharp copy everywhere and make it work side-by-side with real glib-sharp
glib-sharp will only get a new release with the new API that we need for
3.0 in a year or something. Instead of waiting a year before we can release
something we now have our own internal copy of glib-sharp trunk that will
be dropped once glib-sharp 3.0 is released.

Everything is now compilable and working without any additional patches.
2009-08-05 16:57:20 +02:00
Maarten Bosmans
4110118d7b Some more DllImport fixes 2009-05-26 15:34:02 +02:00
Maarten Bosmans
6cb104a67a Add .dll to gstreamersharpglue DllImport
Nescessary for .NET compatibility, where .dll isn't
added for libraries with a . in the filename.
2009-05-25 12:12:35 +02:00
Maarten Bosmans
f665c749b6 Use libgst*.dll in DllImport attribute, instead of gst*.dll
Nescessary for .NET, which doesn't prefix the library filename
with lib automatically.
2009-05-25 12:09:52 +02:00
Maarten Bosmans
d957255ae1 Add check for null before calling Structure.FreeNative 2009-05-22 19:01:26 +02:00
Sebastian Dröge
cf9fd6ec9a Extend the code generator to handle GstMiniObject and implement Gst.MiniObject
Also fix indention everywhere and change code to use Gst.MiniObject.GetObject()
instead of GLib.Opaque.GetOpaque().

It's currently not possible to implement or use GInterfaces on mini objects
but apart from that this should be a great improvement, especially new
mini object classes can be defined in C# now.
2009-05-20 17:32:03 +02:00
Sebastian Dröge
61f212b6f6 Fix some more GObject DllImports 2009-05-01 09:03:49 +02:00
Sebastian Dröge
8152e6b9d6 Remove unused DllImports 2009-04-30 17:16:00 +02:00
Sebastian Dröge
658c39e785 Finish/fix the Gst.Plugin bindings and re-indent 2009-04-27 12:08:40 +02:00
Sebastian Dröge
48fc341b06 Ref/unref the Src field of Gst.Event/Message when setting it 2009-04-23 14:39:50 +02:00
Sebastian Dröge
303724d400 Use the copy-on-unref workaround for newly created Application/Element/Custom messages 2009-04-22 12:46:28 +02:00
Sebastian Dröge
e1ea52daaf Check the cached message structure for null before trying to create a copy 2009-04-22 11:55:52 +02:00
Sebastian Dröge
02e2d6e3fc Also use the copy-on-unref workaround for the message-owned Structure here instead of always copying 2009-04-22 11:54:49 +02:00
Sebastian Dröge
5a58c3dc24 Add some convenience overloads for some Message methods and make the parse methods more consistent 2009-04-22 08:07:55 +02:00
Sebastian Dröge
7fb126bfd1 Fix some more structure ownerships 2009-04-19 18:29:19 +02:00
Sebastian Dröge
cdb05eac31 Add/fix complete bindings of Gst.Message 2009-04-18 16:24:12 +02:00
Sebastian Dröge
85e2db4e5f Fix indention of all files 2009-04-07 11:27:20 +02:00
Sebastian Dröge
ba8f8562b5 First take at updating to 0.10.22 2009-04-04 14:18:34 +02: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
5c14766d47 2006-06-04 Khaled Mohammed <khaled.mohammed@gmail.com>
* gstreamer-sharp/glue/Bin.c: Newly added. Added a function to
        return the offset of *children.

        * tests/ElementTest.cs: Newly added. Added two NUnit tests for
        Element class - one to test creation of elements and the other
        to test addition and deletion of Pads from elements. 



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61443 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-06-04 16:49:35 +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