Sebastian Dröge
b3b018c916
AppSrc.PushBuffer() takes ownership of the buffer
...
Part of bug #585551 .
2009-06-12 15:21:28 +02:00
Maarten Bosmans
e53329406a
Avoid some warnings when parsing the xml.
...
The warnings where mainly about usage of ellipsis type arguments.
For most of the functions hidden by this patch there was already an
alternative, for the params[] Caps constructor custom code is added.
Fixes bug #584913 .
2009-06-09 10:42:21 +02:00
Maarten Bosmans
4285a61e46
Cleanup of GstBase - unnescessary properties removed
2009-06-09 10:39:56 +02:00
Sebastian Dröge
3b017f82f4
Add dllmaps for all libraries
2009-06-06 13:16:01 +02:00
Sebastian Dröge
b4ded561e3
Fix and cleanup Gst.Video bindings
2009-06-06 13:14:11 +02:00
Sebastian Dröge
484b1229c4
Fix Gst.App bindings
...
Among other things, remove the SetCallbacks methods. It's easier
in the managed world to use the signals instead of the callbacks.
Also hide the action signals as there are methods for them
already.
2009-06-06 12:55:17 +02:00
Maarten Bosmans
4d9415a751
Add bindings for libgstapp
...
Fixes bug #584747 .
2009-06-05 21:26:46 +02:00
Maarten Bosmans
b01a09a8c0
Add bindings for libgstvideo
...
Fixes bug #584744 .
2009-06-05 21:22:51 +02:00
Maarten Bosmans
20b3829c0a
Fix gapi2xml.pl to accept nested namespaces
...
The perl script should accept nested namespaces, like N1.N2, for outputting
xml. Making a Global class for static methods didn't work for functions like
n1_n2_function. Another change is that N1 is stripped from the cname for the
element name.
Partially fixes bug #584744 .
2009-06-05 21:09:40 +02:00
Sebastian Dröge
8fc8aa8806
Add Gst.Cdda library bindings
2009-06-05 21:02:16 +02:00
Sebastian Dröge
8ece992223
Don't allow subclassing of element bindings
...
...and clean up/simplify the DynamicSignal stuff.
2009-06-05 20:59:24 +02:00
Sebastian Dröge
0196d9b622
Fix marshalling of the URIHandler GetType method
2009-06-05 12:47:07 +02:00
Sebastian Dröge
5bef341b0a
Convert Gst.Marshaller to an internal class
2009-06-04 20:47:28 +02:00
Sebastian Dröge
6ab410403c
Fix marshalling of null terminated string arrays as return values
2009-06-03 21:10:57 +02:00
Sebastian Dröge
aba607129c
Remove some custom code now that the code generator correctly handles ownership of out parameters
2009-06-03 20:56:22 +02:00
Sebastian Dröge
e7a1bc7e93
Improve element bindings generation build system
2009-05-31 21:20:22 +02:00
Sebastian Dröge
d17ba74fdc
Add libgstcontroller bindings
2009-05-31 21:10:45 +02:00
Sebastian Dröge
49607d317a
Don't remove handwritten index bindings on clean
2009-05-30 21:48:40 +02:00
Sebastian Dröge
b8d3082a96
Add bindings for memindex and fileindex
2009-05-30 14:05:13 +02:00
Sebastian Dröge
4f329b23a5
Remove the search_func/user_data parameters to GstIndex::get_assoc_entry
...
They're not used in any Index implementation and we can't use them
in C# either. This should work without problems because according to
C calling conventions the caller is responsible for preparing
the function arguments and cleaning up later. This only means that
func and user_data will contain invalid data now.
2009-05-30 13:55:24 +02:00
Sebastian Dröge
8a0f18ca70
Make sure that make plugins-update always regenerates the element API XML files
...
Fixes bug #584209 .
2009-05-30 13:49:04 +02:00
Maarten Bosmans
0f55df8e25
Remove the Last parameter of the new-decoded-pad signal of decodebin
...
That parameter was deprecated and the no-more-pads signal is a much
better indicator for this. Fixes bug #584269 .
2009-05-30 13:38:01 +02:00
Maarten Bosmans
150423e10d
Fix GstAdapter glue code
...
Fixes bug #584264 .
2009-05-30 11:09:02 +02:00
Sebastian Dröge
91945e2131
Remove gst-xmlinspect from the dependencies of the raw inspection files
...
This should fix bug #584209 .
2009-05-29 22:05:34 +02:00
Sebastian Dröge
9f29b1b073
Add libgstbase and libgstinterfaces to the DllMaps
2009-05-28 15:44:12 +02:00
Sebastian Dröge
a025f40c9a
Don't add a void ctor to TagListHelper
2009-05-28 15:40:15 +02:00
Sebastian Dröge
acf2d55e24
Also don't include properties of the base classes from libgstbase in element bindings
2009-05-28 15:34:17 +02:00
Sebastian Dröge
5a9a2f27a7
Implement Adapter.Peek() that returns a GstBuffer
2009-05-28 15:31:01 +02:00
Sebastian Dröge
1ed4fbcfbd
Add TypeFindHelper bindings
2009-05-28 15:26:30 +02:00
Sebastian Dröge
62e1ff7a5a
Fix name of Gst.Base.BaseSrcFlags.Last
2009-05-28 15:16:54 +02:00
Sebastian Dröge
c4b6929cf5
Fix PushSrc bindings
2009-05-28 15:09:30 +02:00
Sebastian Dröge
4ad3f422e9
Fix BaseTransform bindings
2009-05-28 15:08:18 +02:00
Sebastian Dröge
01bd944d75
Fix BaseSrc bindings
2009-05-28 15:03:53 +02:00
Sebastian Dröge
aaf662c08c
Fixup BaseSink bindings
2009-05-28 14:59:21 +02:00
Sebastian Dröge
ecf13c2d18
Override GLib.Opaque.Copy() vm
2009-05-28 14:51:44 +02:00
Sebastian Dröge
b9a3ddf5c2
Add libgstbase bindings and fixup the Adapter bindings
2009-05-28 14:37:21 +02:00
Sebastian Dröge
c77fa39ad1
Call LinkMany Link and UnlinkMany Unlink
2009-05-28 14:06:41 +02:00
Sebastian Dröge
5404a9565a
Don't assume all properties are writeable in any case
2009-05-28 12:32:25 +02:00
Sebastian Dröge
60bce938cb
Add bindings for the StreamInfo objects of playbin
2009-05-28 12:29:59 +02:00
Sebastian Dröge
ed13fe1646
Add playbin2 and decodebin2 bindings
2009-05-28 11:21:29 +02:00
Sebastian Dröge
ae346c8e03
Add element bindings for all core elements
2009-05-28 11:04:35 +02:00
Sebastian Dröge
961f12b863
Don't include GstElement/GstObject properties in the element bindings
2009-05-28 10:49:44 +02:00
Sebastian Dröge
f0a7451058
Improbe XPath syntax to be more robust against changes in signal order
2009-05-28 10:43:08 +02:00
Sebastian Dröge
5e66913e72
Add some more patterns to .gitignore
2009-05-28 10:37:37 +02:00
Sebastian Dröge
eafb77d8bf
Add Gst.ElementFactory.Make overload with a single parameter for the factory
2009-05-28 10:24:34 +02:00
Sebastian Dröge
8f450ee581
Add support for autogenerating signal code in element bindings
2009-05-27 21:37:56 +02:00
Sebastian Dröge
33d93e8e87
Fix build system for the new element binding generator
2009-05-27 20:58:19 +02:00
Sebastian Dröge
32ba2488a2
First try to create a code generator for element bindings
2009-05-27 15:02:57 +02:00
Sebastian Dröge
ede4562c23
Prevent that the GC frees the native GstIterator too early
...
The native GstIterator is freed once the Gst.Enumerable instance
is destroyed. At this point there could still be a Gst.Enumerator
instance that uses the native GstIterator and would crash then.
Store the Gst.Enumerable instance inside the Gst.Enumerator to
prevent the GC from destroying it before the enumerator is destroyed.
2009-05-27 15:00:19 +02:00
Maarten Bosmans
febcfd772c
Fix build on Windows
...
- use -option instead of /option
- use path\file.cs for csc.exe and path/file.cs for mcs
- don't build samples/gtk-video-player when using csc.exe
2009-05-26 15:35:00 +02:00
Maarten Bosmans
35198f1773
Add .pdb to cleanfiles and gitignore
2009-05-26 15:34:31 +02:00
Maarten Bosmans
4110118d7b
Some more DllImport fixes
2009-05-26 15:34:02 +02:00
Sebastian Dröge
3139d5f239
Dispose GLib.Values in GetProperty after usage
2009-05-26 09:48:22 +02:00
Maarten Bosmans
cdc9fcd45d
Add bindings for CapsFilter
...
Fixes bug #583631 .
2009-05-25 12:20:20 +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
e37e8d7c17
Add .dll to gstreamersharpglue DllImport
...
Nescessary for .NET compatibility, where .dll isn't added for libraries with a . in the filename.
2009-05-22 19:30:32 +02:00
Maarten Bosmans
5c772af9ce
Replace all uint return values by guints in gstreamer-sharp/glue
2009-05-22 19:27:33 +02:00
Maarten Bosmans
888eb7d059
Fix compilation of the glue library on Windows
2009-05-22 19:24:09 +02:00
Maarten Bosmans
79a4ddd570
Replace unportable sed -i call with plain sed
2009-05-22 19:20:17 +02:00
Maarten Bosmans
d957255ae1
Add check for null before calling Structure.FreeNative
2009-05-22 19:01:26 +02:00
Sebastian Dröge
61523d6d5a
Unref mini objects immediately instead of 50ms later and fix mini object type registration
2009-05-22 10:56:24 +02:00
Sebastian Dröge
15532cc8c6
Update the element bindings to use GTypeNameAttribute
2009-05-21 21:47:17 +02:00
Sebastian Dröge
9d71f4e833
Move explicit type registrations from Value.cs directly to Application.Init.
2009-05-21 21:38:23 +02:00
Sebastian Dröge
9b85d88450
As Gst.Date is a boxed type we need to implement IWrapper and a New method
...
This fixes boxing/deboxing from GLib.Value
2009-05-21 21:37:44 +02:00
Sebastian Dröge
c54dc8ce93
Update samples from http://code.google.com/p/cil-bindings
...
Also add a XvImageSink binding and add the GtkVideoPlayer sample
from the above place.
2009-05-21 20:57:26 +02:00
Sebastian Dröge
e028718bb3
Remove the managed miniobject instances from the hashtable before unreffing
2009-05-21 20:56:57 +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
e88f6d01b6
Update for latest version of the GType mapping patch
2009-05-14 21:37:19 +02:00
Sebastian Dröge
0c33d17f5a
Fix MixerMessage method names
2009-05-14 21:37:09 +02:00
Sebastian Dröge
fdc99f178b
Add Gst.Interfaces.Navigation bindings
2009-05-14 16:50:16 +02:00
Sebastian Dröge
ee6a9d8bad
Make sure to return a ref'd Gst.Index from Gst.Element.OnGetIndex()
2009-05-14 15:56:57 +02:00
Sebastian Dröge
2573a84692
Add Gst.Interfaces.PropertyProbe bindings
2009-05-13 17:03:49 +02:00
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