Commit graph

59 commits

Author SHA1 Message Date
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
65b728234f Add Gst.StaticPadTemplate.Free() and fix indention 2009-04-14 17:58:28 +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
8bd2b114b8 Improve Gst.List/Value to be actually usable 2009-04-11 20:05:48 +02:00
Sebastian Dröge
e03a50aa84 Fix indention and use new Gst.Value stuff for dynamic signals 2009-04-11 17:57:11 +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
858368ec06 Add Element.Emit() for emitting dynamic signals (i.e. playbin2 action signals) 2009-04-08 10:18:48 +02:00
Sebastian Dröge
8f564a5e25 Add "Copyright" strings to the file headers 2009-04-08 10:16:48 +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
382d1c0ee1 Don't bind GstTrace, it's not really useful for managed applications to trace native allocations 2009-04-07 13:10:02 +02:00
Sebastian Dröge
7c771c538d Remove custom buffer implementations for Unref/Ref, they're in MiniObject already 2009-04-07 11:44:26 +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
a5766b5a01 Fix GStreamer DllImports and add a dllmap for the native GStreamer library 2009-04-07 11:37:11 +02:00
Sebastian Dröge
9b43600e1b Fix typo 2009-04-07 11:33:55 +02:00
Sebastian Dröge
85e2db4e5f Fix indention of all files 2009-04-07 11:27:20 +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
c073068ad4 Make Gst.Version a static class 2009-04-07 10:31:03 +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
183a92410d Add a lot of files to .gitignore 2009-04-07 09:50:49 +02:00
Sebastian Dröge
7e7546b879 Update/Cleanup of the build system 2009-04-07 09:45:54 +02:00
Sebastian Dröge
7b0efa7033 Add support for emitting GObject signals dynamically
This will be needed later to call the action signals of
playbin2 for example.

Also get the correct instance size of GClosure at runtime
instead of always taking the largest known one.
2009-04-07 09:12:31 +02:00
Sebastian Dröge
17739ad5de Move DynamicSignals into the Gst namespace to prevent conflicts 2009-04-05 13:11:02 +02:00
Sebastian Dröge
4d136c9de0 Don't generate bindings for the XML/binary registry implementations 2009-04-04 23:31:48 +02:00
Sebastian Dröge
5e8d19e2be Fix instanciation of GLib.SignalArgs subclasses from the BindingHelper and the samples 2009-04-04 16:53:59 +02:00
Sebastian Dröge
9fd93f9feb Don't override Gst.Object.Dispose()
We can't call gst_object_unref() directly as this will conflict
with the toggle-refs used in glib-sharp. It's also not required
to call gst_object_unref(), it's just a wrapper around g_object_unref()
with some debugging.
2009-04-04 14:31:25 +02:00
Sebastian Dröge
10b4f125d0 Fix dynamic signals on 64 bit architectures
sizeof(GClosure) is 32 on 64 bit
2009-04-04 14:28:19 +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
a6ca2de622 gstreamer-sharp/DynamicSignal.cs: Added support for objects derived from GLib.Opaque
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65082 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-09-07 22:22:09 +00:00
Khaled Mohammed
60312ccf83 adding gstreamer-sharp/glue/buffer.c
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65070 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-09-07 16:55:34 +00: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
2301711e91 Fixed sample/TypeFind.cs
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64526 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-30 00:46:32 +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
0e15441c8c Updated DynamicSignal.cs and files plugins-base to use the new
DynamicSignal class.


git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63336 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-04 04:00:43 +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
Aaron Bockover
448405d86a 2006-07-12 Aaron Bockover <aaron@abock.org>
* gstreamer-sharp.mds:
    * gstreamer-sharp.mdp: Updated MonoDevelo project/solution

    * source/gstreamer-sharp-source.xml: Cleaned up a bit

    * sample/DecodeBinTranscoder.cs: Updated to reflect renaming of
    Clock.GstSecond to Clock.Second, etc.

    * gstreamer-sharp/glue/clock.c: Added gstsharp_gst_clock_get_time_none
    and gstsharp_gst_clock_time_is_valid

    * gstreamer-sharp/Clock.custom: Added bindings for new clock glue
    and renamed GstNSecond to NSecond (and friends)



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62535 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-07-12 21:49:32 +00:00