Commit graph

48 commits

Author SHA1 Message Date
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
79a4ddd570 Replace unportable sed -i call with plain sed 2009-05-22 19:20:17 +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
4582abb4f3 Fork the Gtk# codegenerator for now
We unfortunately need to do this to properly generate bindings for
GstMiniObject...
2009-05-14 21:38:28 +02:00
Sebastian Dröge
fdc99f178b Add Gst.Interfaces.Navigation bindings 2009-05-14 16:50:16 +02:00
Sebastian Dröge
2573a84692 Add Gst.Interfaces.PropertyProbe bindings 2009-05-13 17:03:49 +02:00
Sebastian Dröge
08ea583412 Add Enum/FlagsInfo to query a GEnum/GFlags type 2009-05-12 15:27:13 +02:00
Sebastian Dröge
9c636a83be Add a Properties property to Gst.Object to get information about the GObject properties 2009-05-12 14:31:57 +02:00
Sebastian Dröge
75c1fe23d1 Add Gst.Interfaces.Tuner* bindings 2009-05-12 12:04:53 +02:00
Sebastian Dröge
0be28ab067 Add bindings for GstMixer and related types 2009-05-09 20:04:43 +02:00
Sebastian Dröge
4338c97169 Add a generic GstIterator wrapper and use that 2009-05-09 19:29:40 +02:00
Sebastian Dröge
5395b35db8 Start binding the GstInterfaces library, ColorBalance* is finished already 2009-05-08 17:23:55 +02:00
Sebastian Dröge
a32102f3ff Move TypeFind/Index/Element register functions to their factory classes 2009-05-07 09:42:17 +02:00
Sebastian Dröge
533f9a16b5 Move plugin wrappers into seperate namespaces 2009-05-06 14:09:23 +02:00
Sebastian Dröge
31797cf4e3 Fix Gst.Preset bindings
As C# interfaces don't allow a default implementation we
add a static Gst.PresetDefault class that provides static
methods for calling the default GstPreset method implementations.
2009-05-06 12:25:02 +02:00
Sebastian Dröge
292027a151 Add bindings for Gst.URIHandler
Unfortunately this requires us to work around Gtk# being unable
to handle static interface methods and Gtk# being unable to
allow us to override interface adapter code...
2009-05-04 12:27:25 +02:00
Sebastian Dröge
a92f4036a6 Fix the Gst.Index* bindings 2009-04-30 15:13:31 +02:00
Sebastian Dröge
d627d1580c Fix Gst.TypeFind bindings 2009-04-30 13:10:15 +02:00
Sebastian Dröge
28f51c6d08 Fix the Gst.Pad bindings 2009-04-28 21:03:44 +02:00
Sebastian Dröge
48a5bce689 Fix the Gst.Task bindings
What still needs to be done is to add a way to set
a custom lock to the task, currently a newly created
task can only get a lock by making it a pad task.
2009-04-27 12:34:20 +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
35ed5308a6 Finish/fix the Gst.Clock and related bindings and update docs 2009-04-27 11:32:58 +02:00
Sebastian Dröge
0a003eb1a4 Properly change GST_PADDING values to the correct integer values 2009-04-24 15:33:55 +02:00
Sebastian Dröge
e0c535b795 Regenerate API with the new parser to get support for GObject virtual methods
This also gives us some support for class struct fields, etc.

Note: This requires an uncommitted patch to Gtk#
2009-04-24 14:56:40 +02:00
Sebastian Dröge
6e766fc1d5 Finish/fix Gst.Event bindings 2009-04-23 14:32:08 +02:00
Sebastian Dröge
6db069b4e8 Fix/complete the Gst.Query bindings 2009-04-22 19:08:00 +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
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
87786e2e90 Add generated Tags class and remove hand-written CommonTags class 2009-04-17 16:44:14 +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
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
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
dba4fc945c Print reason if InitCheck() failed and introduce GError helper functions 2009-04-07 11:02:08 +02:00
Sebastian Dröge
7e7546b879 Update/Cleanup of the build system 2009-04-07 09:45:54 +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
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
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
Aaron Bockover
73ed037fa4 2006-07-13 Aaron Bockover <aaron@abock.org>
* gstreamer-sharp/BindingHelper.cs: Static helper class to assist
    in making element bindings (delegate manipulation/invocation)

    * gstreamer-sharp/DynamicSignal.cs: Updated DynamicSignalArgs so they
    can more easily be derived

    * gstreamer-sharp/Makefile.am: Updated build

    * sample/HelloWorld.cs: More cleaning

    * sample/Makefile.am:
    * sample/TypeFind.cs: Added typefind sample

    * gstreamer-sharp.mdp: Updated MonoDevelop project

    * gstreamer-sharp/plugins-base/DecodeBin.cs: Signal support rewritten
    to use BindingHelper/DynamicSignal

    * gstreamer-sharp/plugins-base/TypeFindElement.cs: New typefind
    element wrapper using BindingHelper/DynamicSignal

    * gstreamer-sharp/Element.custom: Fixed property getter/setter methods
    and added indexer wrapper for property lookup for syntax convenience



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62570 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-07-13 16:16:51 +00:00
Aaron Bockover
0c76171b89 2006-07-12 Aaron Bockover <aaron@abock.org>
* sample/HelloWorld.cs: Cleaned up, works with new dynamic signal stuff

    * gstreamer-sharp.mdp: Updated MonoDevelop project

    * gstreamer-sharp/glue/dynamicsignal.c:
    * gstreamer-sharp/DynamicSignal.cs: Added DynamicSignal support for
    runtime GObject signal binding

    * gstreamer-sharp/glue/Makefile.am:
    * gstreamer-sharp/Makefile.am: Updated build

    * gstreamer-sharp/Element.custom: Removed old DynamicSignal
    stuff and added pass-thru/proxy Connect/Disconnect methods on
    top of GLib.DynamicSignal

    * gstreamer-sharp/DynamicSignalHandlerGenerator.cs:
    * gstreamer-sharp/DynamicSignalMarshalHandler.cs: Removed

    * gstreamer-sharp/gstreamer-sharp.dll.config.in: Updated maps, removed
    old 0.8 maps



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62542 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-07-12 22:47:30 +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
b6b2fa29fb 2006-05-21 Aaron Bockover <aaron@abock.org>
* gstreamer-sharp/plugins-base/DecodeBin.cs: Added a quick binding for
    decodebin to test new-decoded-pad; probably is only a temporary solution

    * sample/DecodeBinTranscoder.cs: Added a small decodebin sample

    * sample/Makefile.am: Added build rules for decodebin sample

    * gstreamer-sharp.mdp: Updated MonoDevelop project

    * gstreamer-sharp/Makefile.am: Added plugins-base/DecodeBin.cs



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60931 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-21 18:58:44 +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