Commit graph

310 commits

Author SHA1 Message Date
Sebastian Dröge
500bd3d8cc Make PropertyInfo(IntPtr) ctor public 2009-05-13 16:46:57 +02:00
Sebastian Dröge
0164337fa8 Don't require Gtk# patch from bug #501685 2009-05-13 14:42:04 +02:00
Sebastian Dröge
1242478731 Add support for a GTypeName attribute to get correct native/managed type mappings
This requires yet another patch to Gtk# trunk, also update
the list of patches again.
2009-05-13 14:35:59 +02:00
Sebastian Dröge
a3032c0565 Add a method to retrieve the property info of a single property 2009-05-12 15:50:04 +02:00
Sebastian Dröge
1811d89b6e Add a method to convert an integer value into the Flags/EnumValues 2009-05-12 15:49:44 +02:00
Sebastian Dröge
817c83f7f0 Initialize the GLib.Value for the property to set 2009-05-12 15:32:15 +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
761462b227 Also store the GType of the property in case there's no managed type for it 2009-05-12 15:26:50 +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
801680234f Fix library name for the interfaces 2009-05-12 11:08:08 +02:00
Sebastian Dröge
c0a39e4503 Update API with the class struct of GstTunerNorm 2009-05-11 18:31:20 +02:00
Sebastian Dröge
213642904b Add Gst.Interfaces.VideoOrientation bindings 2009-05-11 18:27:10 +02:00
Sebastian Dröge
67fff79dd0 Add Gst.Interfaces.XOverlay bindings 2009-05-11 15:53:48 +02:00
Sebastian Dröge
3f51a3d9ac Reparse the API to get all interface class structs 2009-05-11 15:51:31 +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
5436b22683 Make the properties of the ColorBalanceChannel read-only 2009-05-09 10:27:29 +02:00
Sebastian Dröge
1947bc5cbb Add missing file 2009-05-08 17:24:26 +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
5988e1ad39 Update API fixups for the latest protected-fields patch 2009-05-07 10:39:38 +02:00
Sebastian Dröge
ef48705792 Add some notes why we have a modified copy of URIHandlerAdapter.cs 2009-05-07 10:03:58 +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
890a6f31e3 Don't use FORTIFY_SOURCE 2009-05-06 13:57:56 +02:00
Sebastian Dröge
cbe55bb12f Add Gst.ImplementsInterface bindings 2009-05-06 12:47:37 +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
ea62e0d57a Fix Gst.TagSetter interface bindings 2009-05-04 11:04:42 +02:00
Sebastian Dröge
2ffddfe22c Fix Gst.ChildProxy bindings 2009-05-03 19:35:14 +02:00
Sebastian Dröge
649b16dd24 Remove the abstract flag of GstObject and friends as we might need to instantiate them
This will happen for example if we don't have a managed wrapper class
for a type.
2009-05-03 19:34:27 +02:00
Sebastian Dröge
433bcd9247 Fix Gst.Pipeline bindings 2009-05-01 17:21:13 +02:00
Sebastian Dröge
67f3b86d77 Add support for iterating the internal links of a pad 2009-05-01 17:11:18 +02:00
Sebastian Dröge
29f25c326d Fix Gst.Bin bindings and add bindings for the iterators 2009-05-01 17:08:07 +02:00
Sebastian Dröge
3c4bf5f4e3 Handle NULL GstIterator* correctly 2009-05-01 17:05:49 +02:00
Sebastian Dröge
d543e568df Change NewFromString() methods to FromString() in Caps/Structure for consistence 2009-05-01 13:46:24 +02:00
Sebastian Dröge
61f212b6f6 Fix some more GObject DllImports 2009-05-01 09:03:49 +02:00
Sebastian Dröge
ac87f20640 Fix value of Gst.FlowReturn.Ok 2009-04-30 21:48:14 +02:00
Sebastian Dröge
6287025a5f Fix GObject DllImport 2009-04-30 21:48:05 +02:00
Sebastian Dröge
14831575e6 Don't use the ThresholdType but the real type 2009-04-30 17:26:44 +02:00
Sebastian Dröge
51540e9f80 Fix indention and make Gst.Element.GetPadTemplates() a property 2009-04-30 17:21:13 +02:00
Sebastian Dröge
54a34ed67c Add initial support for setting/getting element class fields 2009-04-30 17:16:51 +02:00
Sebastian Dröge
7938de9740 Make Gst.ElementDetails an internal struct 2009-04-30 17:16:41 +02:00
Sebastian Dröge
9b81a43655 Actually override the Copy method of GLib.Opaque 2009-04-30 17:16:15 +02:00
Sebastian Dröge
8152e6b9d6 Remove unused DllImports 2009-04-30 17:16:00 +02:00
Sebastian Dröge
15ae032d0a Fix Gst.Element bindings
Still missing: Support for creating new element subclasses
and adding pad templates/setting details on them.
2009-04-30 16:54:39 +02:00
Sebastian Dröge
f536534214 Add convenience function to register Gst.Index types with the default registry 2009-04-30 15:40:17 +02:00
Sebastian Dröge
c42ef5f916 Fix registration of new Typefinders 2009-04-30 15:32:30 +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
f3e78cd007 Fix IndexFactory/TypeFindFactory bindings 2009-04-30 09:39:46 +02:00
Sebastian Dröge
4a0b710106 Cleanup Gst.GhostPad bindings 2009-04-30 06:18:36 +02:00
Sebastian Dröge
28f51c6d08 Fix the Gst.Pad bindings 2009-04-28 21:03:44 +02:00
Sebastian Dröge
77cabd3ba8 Finish/fix Gst.Bus bindings 2009-04-27 13:42:57 +02:00
Sebastian Dröge
4c723b28da Cleanup some utility classes 2009-04-27 12:48: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
f512f8c672 Remove the Gst.XML bindings for now
For them to be useful we need libxml2 bindings or some
magic to live without them.
2009-04-27 11:40:07 +02:00
Sebastian Dröge
a1de9b3aa6 Fix ownership of Gst.SystemClock.Obtain() return 2009-04-27 11:37:58 +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
2e264d16c0 Make Gst.Segment.SetNewsegmentFull an overload of SetNewsegment 2009-04-24 15:34:30 +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
e1775ea341 Finish/fix the Gst.Object bindings
Also update docs and fix indention
2009-04-23 21:12:31 +02:00
Sebastian Dröge
5ddc0b00d7 Fix c&p error in method name 2009-04-23 16:49:21 +02:00
Sebastian Dröge
4eddb6d8a3 Add a helper function to get the number of an event type 2009-04-23 16:01:57 +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
6e766fc1d5 Finish/fix Gst.Event bindings 2009-04-23 14:32:08 +02:00
Sebastian Dröge
f53f22bb32 Add missing file 2009-04-23 13:42:05 +02:00
Sebastian Dröge
6db069b4e8 Fix/complete the Gst.Query bindings 2009-04-22 19:08:00 +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
53ff480060 Dispose some more GLib.Values after usage 2009-04-22 12:40:17 +02:00
Sebastian Dröge
5278dd6486 Dispose GLib.Values after usage to close a memory leak 2009-04-22 12:35:56 +02:00
Sebastian Dröge
f7de461101 Make sure that the strings passed to native functions are UTF8 2009-04-22 12:33:43 +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
bdda44d849 Fix bindings of the tag merge functions 2009-04-21 19:27:35 +02:00
Sebastian Dröge
d835a93153 Call the _get_type() functions of some types on Init() to make sure they're registred by Gtk# 2009-04-21 19:27:05 +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
a31f1e8180 Remove unused private field 2009-04-21 14:31:10 +02:00
Sebastian Dröge
e48b6ffc51 Return a string[] instead of IEnumerable for the Fields property to get all fields 2009-04-21 14:25:59 +02:00
Sebastian Dröge
be6d49095f Copy all still existing structure references before calling gst_caps_do_simplify 2009-04-21 14:24:14 +02:00
Sebastian Dröge
55df427fab Make sure that every second parameter to Structure.Add(...) is a string 2009-04-20 20:53:01 +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
f15f6c0091 Fix indention 2009-04-19 16:53:15 +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
f6fc3e62cf Use the native copy functions when creating a copy for ownership-taking functions
Using the managed Copy() function won't work as the managed object
will still own the reference and we would unref/free twice.
2009-04-18 16:21:53 +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
431b934fb5 Add generated Tags class 2009-04-18 16:20:24 +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
a97db534ed Cleanup glue and GError handling 2009-04-16 22:19:59 +02:00
Sebastian Dröge
6b4fc89778 Fix indention 2009-04-16 21:52:47 +02:00
Sebastian Dröge
8e216fcd21 Use new custom GLib.Value support for gtk-sharp trunk 2009-04-16 21:52:21 +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
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
Khaled Mohammed
28b533f8ec Fixed a bug in Element.custom related to Custom Signal Handler
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61978 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-06-23 06:14:13 +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
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
Michael Dominic K
6566359e35 2006-06-04 Michael Dominic K. <michaldominik@gmail.com>
* sample/DecodeBinTranscoder.cs: Fixing ambigious cast.

	* gstreamer-sharp/glue/clock.c:
	* gstreamer-sharp/Clock.custom: Changing the gint64 to guint64 and
	long to ulong respectively. The clocktime (GstClockTime) is measured
	in nanoseconds as unsigned long inside GStreamer. 
	This is introducing a small schizophrenia since some functions (such
	as queries, seeks) take signed long (-1 to mark infinity or error).
	This is the expected Gst behaviour.
	Just sticking silently to long (instead of ulong) will bork us 	sooner
	or later, especially for custom-build low level routines/elements.
	Comments welcome.



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61438 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-06-04 13:11:24 +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
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
67ba536cb1 Removed all the stupid GNU Arch dot files/dirs; worse than CVS; jeesh
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60876 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-19 19:33:35 +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