Commit graph

128 commits

Author SHA1 Message Date
Sebastian Dröge
52254b4866 Rename ByteWriter API for the gst_byte_writer_reset_and_get_buffer change 2010-02-02 08:46:58 +01:00
Sebastian Dröge
1b2110fd43 Update API to 0.10.25.2 2010-02-01 10:44:21 +01:00
Sebastian Dröge
811784dec7 Update bindings for 0.10.25 API 2009-11-25 10:09:21 +01:00
Sebastian Dröge
65379a129b Add more PbUtils bindings 2009-10-03 11:34:09 +02:00
Sebastian Dröge
469c201735 Fix PbUtils bindings 2009-10-03 11:19:56 +02:00
Sebastian Dröge
3d6129e8e4 Move global PbUtils functions to the Gst.PbUtils.Descriptions static class 2009-10-03 11:09:54 +02:00
Sebastian Dröge
28e879b517 Make sure that the Bit/BitReader buffer is not GC'd before we stop using it
Also add a property to get the used buffer.
2009-10-03 09:12:01 +02:00
Sebastian Dröge
202b88f438 Fix GstByteReader bindings 2009-10-02 15:44:16 +02:00
Sebastian Dröge
225d25aee5 Fix GstBitReader bindings 2009-10-02 15:25:34 +02:00
Sebastian Dröge
aff62828ea Make sure Gst.Bus.SyncHandler handlers are not garbage collected too early 2009-10-01 16:10:44 +02:00
Sebastian Dröge
9947ffbfee Use the owned-in-call-scope magic for BaseTransforms transform functions 2009-09-23 08:23:31 +02:00
Sebastian Dröge
108a304f7a Let BaseTransform.OnSetCaps return true by default 2009-09-23 07:11:18 +02:00
Sebastian Dröge
cf3ccdc914 Start of Gst.Base.{Byte,Bit}Reader bindings 2009-09-22 07:51:54 +02:00
Sebastian Dröge
7f30940050 Update Gst.Buffer bindings 2009-09-22 07:40:57 +02:00
Sebastian Dröge
fcaff7062a Bind gst_util_uint64_scale{,_int}
This is useful in C# too because of the internal 128 bit integer
arithmetic that is used to prevent overflows.
2009-09-16 12:04:47 +02:00
Sebastian Dröge
daa624932c Correctly bind the new API 2009-09-11 10:14:43 +02:00
Sebastian Dröge
9eed4242f2 Update to GStreamer 0.10.24 / gst-plugins-base 0.10.24 2009-09-11 10:14:42 +02:00
Sebastian Dröge
234fcbc1e7 Hide gst_pad_get_parent_element() as it's useless for us 2009-06-23 13:40:30 +02:00
Sebastian Dröge
771741badb Make some clock methods protected 2009-06-23 13:39:00 +02:00
Sebastian Dröge
58c9aeb8a6 Make some element methods protected as they should be 2009-06-23 13:21:06 +02:00
Sebastian Dröge
5414963019 Rename BaseSrc.Query to .SrcQuery to prevent conflict with Element.Query 2009-06-21 10:36:13 +02:00
Maarten Bosmans
c1280b5896 Update Gstreamer.metadata to avoid some warnings on fixup/generate 2009-06-21 10:32:31 +02:00
Maarten Bosmans
663d3e047d Replace custom Enumerable code with generator GstIterator bindings
The custom properties that return a IEnumerable are replaced by generated
properties that return an Iterator.  Most of the code in Iterator.cs has
moved to Iterator.custom to implement IEnumerable.
2009-06-21 10:29:24 +02:00
Sebastian Dröge
7eebc0c2bc Generate Bus.Post() code automatically 2009-06-20 11:40:42 +02:00
Sebastian Dröge
742ac92b7b Fix ownership of Gst.PadGetCapsFunction's return value 2009-06-17 13:36:02 +02:00
Maarten Bosmans
e04254c23e Use the owned attribute for parameters to remove some custom code 2009-06-14 20:04:16 +02:00
Maarten Bosmans
e43e6c9763 More custom code removed by using owned="true" 2009-06-14 20:03:48 +02:00
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
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
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
d17ba74fdc Add libgstcontroller bindings 2009-05-31 21:10:45 +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
a025f40c9a Don't add a void ctor to TagListHelper 2009-05-28 15:40:15 +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
b9a3ddf5c2 Add libgstbase bindings and fixup the Adapter bindings 2009-05-28 14:37:21 +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
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