Commit graph

201 commits

Author SHA1 Message Date
Thibault Saunier
5f4dc2f119 Remove remaining reference to glue 2017-09-28 17:44:18 -03:00
Thibault Saunier
b5beac1217 Make GstVideo/AudioInfo GLib.Opaque structures
So that we generate a ABI compatible structure and make it working.
Also this is the way we do it for almost all other structures of this
kind.

I first tried to keep having a managed structure that properly matches
the C structure ABI generating in the gtk-sharp generator Explicit structure
for the union as we do with non managed structures but this is not
possible and leads to the following assertion in mono:

    Type Gst.Video.VideoInfo/__ABI which has an [ExplicitLayout] attribute cannot have a reference field at the same offset as another field.

This sensibly changes the API but I bet noone will even notice.

https://bugzilla.gnome.org/show_bug.cgi?id=788133
2017-09-26 10:35:37 -03:00
Thibault Saunier
7976844b56 meson: keysign only when using mono and use a project argument 2017-09-25 14:16:33 -03:00
Erlend Graff
cdb4a5b84b DynamicSignal: use NativeType property instead of doing unsafe pointer trickery
(which doesn't work with MS csc)

https://bugzilla.gnome.org/show_bug.cgi?id=788132
2017-09-25 14:16:25 -03:00
Thibault Saunier
d759ec9310 Update to current master 2017-09-22 15:42:41 -03:00
Thibault Saunier
7fde0e8fc4 Also generate 'unintrospectable' _unref method
Otherwise we will leak all Opaque structures
2017-09-22 15:42:41 -03:00
Erlend Graff
3f9dcf7198 Make sure GstSample is declared as subclass of GstMiniObject 2017-09-22 15:42:41 -03:00
Thibault Saunier
cd5b0e1992 meson: Fix gtk-sharp git repo url
We want to use the new gtk-sharp/gtk-sharp "upstream", not some random repo!
2017-09-20 17:50:13 -03:00
Thibault Saunier
ea37557f6e meson: Fix some dependencies 2017-09-20 17:49:56 -03:00
Thibault Saunier
e9181c6772 metadata: Remove unused overrides and mark padding fields in objects as such 2017-09-06 13:23:18 -03:00
Thibault Saunier
1b6c109ba3 metadata: Add some documentation about our overrides 2017-09-06 13:23:00 -03:00
Thibault Saunier
9c289eb563 Do not use glue anymore!
This is not needed anymore as ABI compatible structures are now generated
and used by the code generator.
2017-09-06 13:22:57 -03:00
Thibault Saunier
8193dd746c Add a target to generate nugets. 2017-09-04 22:05:59 -03:00
Thibault Saunier
6027acd4cc Add a Global.TimeFomat function 2017-08-29 22:20:46 -03:00
Thibault Saunier
893169175d Generate bindings for GES if avalaible 2017-08-29 22:20:46 -03:00
Thibault Saunier
036ab199cd Fix some RTP methods array arguments 2017-08-29 22:20:46 -03:00
Thibault Saunier
33f2b0c9fb Workaround bindinate mistake in gst_element_factory_get_static_pad_templates return type 2017-08-29 22:20:46 -03:00
Thibault Saunier
7e8ee12304 Add meson build definitions 2017-08-29 22:20:46 -03:00
Thibault Saunier
b37b5a2b92 Hide the class methods we override. 2017-08-28 16:43:39 -03:00
Thibault Saunier
4e14927373 Mark reserved fields as padding 2017-08-28 16:43:32 -03:00
Thibault Saunier
55f7297653 Force type of Gst.SECOND and Gst.MSECOND
Latest bindinator doesn't seem to be able to handle GstClockTimeDiff

Something to investigate later
2017-08-28 15:29:33 -03:00
Thibault Saunier
a55090f1ed Handle new duplicated methods for 1.12 2017-08-28 15:29:33 -03:00
Thibault Saunier
2c7e47f2b0 Include gst/pbutils/gstaudiovisualizer.h in the glue .c file 2017-08-28 15:29:33 -03:00
Thibault Saunier
0ecef127b1 Update to GStreamer 1.12 2017-08-28 15:29:33 -03:00
Stephan Sundermann
4af160f4ae metadata: Fix move node expressions into custom classes (bgo#761326)
XPath matching seems to have changed somewhere between mono 3.2.3 and
4.x. This patch makes sure that all Global object tags are properly
visited when moving methods from the global class into custom ones.
2016-04-27 15:59:04 +02:00
Andrés G. Aragoneses
bf18e534a9 build: add -f flag to rm in clean target
This way, running `make clean` twice would not
generate an error anymore.
2015-07-11 16:00:22 +02:00
Stephan Sundermann
9556b05947 VideoOverlay: Fix issues on 32 bits 2015-05-28 16:00:04 +02:00
Stephan Sundermann
2bf30fd612 MapInfo: Fix ArgumentOutOfRangeException
Respect the value's length so there is no exception when value doesn't contain size's bytes.
2015-01-21 20:50:21 +01:00
Stephan Sundermann
0c840b69af Version: Add missing calling conventions 2014-11-25 15:56:46 +01:00
Stephan Sundermann
a53cb1c911 Version: Reformat 2014-11-25 15:56:17 +01:00
Stephan Sundermann
1ce354b51f Value: Add missing calling conventions 2014-11-25 15:53:50 +01:00
Stephan Sundermann
415870bb30 Message: Add missing calling convention 2014-11-25 15:53:41 +01:00
Stephan Sundermann
388f3846ed DynamicSignal: Add missing calling convention 2014-11-25 11:15:11 +01:00
Stephan Sundermann
db3ffc2a70 DynamicSignal: Reformat to match conventions 2014-11-25 11:13:44 +01:00
Stephan Sundermann
5b386f21fb Application: Fix Init(args) and InitCheck(args)
Fixes #739069
2014-10-24 00:53:37 +02:00
Stephan Sundermann
38ff643d1d glue: Remove mpegts from includes 2014-09-19 18:39:44 +02:00
Stephan Sundermann
ed31d3a9ff Remove mpegts
mpegts is not API stable yet. This removes the dependency on -bad.
2014-09-19 18:37:36 +02:00
Master T
ed9d9b3219 GstPad: make it possible to set flags (e.g. PadFlags.ProxyCaps) 2014-09-18 15:05:46 +02:00
Stephan Sundermann
9cc14f9579 Object: Make flags writeable 2014-09-18 15:05:45 +02:00
Master T
529cd84a9f MapInfo: add DataPtr so the mapped Data can be accessed without copying 2014-09-18 15:05:45 +02:00
Master T
cff0582d61 MiniObject: fix MakeWritable In case the MiniObject had a reference count of 1 (writable), the object was destroyed due to a bug in Opaque not handling self-assignment of Raw. In case the MiniObject was not writable, the returned copy was not writable either because it had two references: one from gst_mini_object_make_writable and one from Opaque.Raw. 2014-09-18 15:05:45 +02:00
Stephan Sundermann
20a3d2a22d Pad: Fix ownership
https://bugzilla.gnome.org/show_bug.cgi?id=736852
2014-09-18 15:05:45 +02:00
Stephan Sundermann
13842d707d arrays: Fix byte arrays 2014-08-13 02:57:00 +02:00
Stephan Sundermann
67612cd004 Iterator: remove destructor 2014-08-10 18:44:51 +02:00
Stephan Sundermann
9bd1f37e1b build: Constant include list 2014-08-09 23:09:40 +02:00
Stephan Sundermann
b5e740dfd0 build: Build debug information 2014-08-08 20:32:34 +02:00
Stephan Sundermann
8e8f890424 TagList: Fix Value passing 2014-08-07 17:15:29 +02:00
Stephan Sundermann
c24087c49c build: Make distcheck pass 2014-08-06 23:21:40 +02:00
Stephan Sundermann
8391bb849a MapInfo: Fix Data property 2014-08-06 21:39:25 +02:00
Stephan Sundermann
0647ebb0c7 App: Add custom constructors for AppSink and AppSrc 2014-08-06 21:38:48 +02:00
Stephan Sundermann
dba0f53b37 Buffer: Fix byte[] methods 2014-08-06 15:19:16 +02:00
Stephan Sundermann
6d80e4208a Add bindings for class struct methods 2014-08-06 00:55:58 +02:00
Stephan Sundermann
26bd788ba3 Value: Register with type system 2014-08-05 23:05:20 +02:00
Stephan Sundermann
e9227c5659 Regenerate bindings 2014-08-05 21:44:59 +02:00
Stephan Sundermann
ffbcc07388 MiniObject: Add MakeWritable binding 2014-08-03 14:19:30 +02:00
Stephan Sundermann
2e8045d2dc Bin: Add overloads for Add and Remove 2014-08-01 16:15:04 +02:00
Stephan Sundermann
480da892fe constants: Add CLOCK_TIME_NONE 2014-08-01 15:31:36 +02:00
Stephan Sundermann
e90703356d Ignore constness 2014-07-27 00:06:14 +02:00
Stephan Sundermann
5b16f87f4b Fix some warnings 2014-07-26 23:26:54 +02:00
Stephan Sundermann
e53f0d0eed Various fixes 2014-07-22 00:36:22 +02:00
Stephan Sundermann
2154455db8 Add gio-sharp dependency 2014-07-20 03:52:58 +02:00
Stephan Sundermann
b1f6e5bbe2 Fix compilation errors 2014-07-20 03:32:48 +02:00
Stephan Sundermann
663a2b0872 Update to 1.3.91 2014-07-19 15:33:01 +02:00
Stephan Sundermann
e54dfcb65b build: pass header files only to --glue-includes 2014-06-13 23:49:20 +02:00
Stephan Sundermann
8e14ec3e0d build: fix top folder in tarball
fixes #731359
2014-06-13 23:23:02 +02:00
Andrés G. Aragoneses
7d3adcc33d sources: replace AGPL headers with LGPL-2.1
https://bugzilla.gnome.org/show_bug.cgi?id=725937
2014-05-28 14:17:31 +02:00
Andrés G. Aragoneses
bcb8c7d1a3 custom/glue: fix some file headers (licences and authors)
Most of the contents of these files come from their *.custom
counterparts of the 0.9.x version of the bindings, so I'm
reinstating their author/licence info here.

In some cases, the content is pristine to the previous version
(no modification since then), so for these cases the current
licence is replaced completely with the previous licence.

These were spotted while creating a first version of a debian
package (creating a debian/copyright info file requires you
to audit all this). This is not (yet) part of BGO#725937.
2014-05-28 13:45:05 +02:00
Andrés G. Aragoneses
2b44f2ffec custom: move copyright and author info to top of the file
The headers for this file were not consistent with the rest of
the files.
2014-05-28 13:43:29 +02:00
Andrés G. Aragoneses
c878ce3a35 custom: rename NavigationQuery.cs to NavigationAdapter.cs
The filename wasn't reflecting the class name.
2014-05-28 13:41:49 +02:00
Stephan Sundermann
07f09dd3da make: Add generated api to gapidir 2014-03-19 15:50:06 +01:00
Stephan Sundermann
15380be815 generator: update to latest generator 2014-03-17 00:14:48 +01:00
Bertrand Lorentz
25af4c958b Bus: Add custom code for the AddWatch method
For now, this is better than making everyone use AddWatchFull, even
though the value for G_PRIORITY_DEFAULT is hardcoded.

https://bugzilla.gnome.org/show_bug.cgi?id=721985
2014-03-02 22:01:40 +01:00
Stephan Sundermann
23f69be8fd fixup: Autogenerated list of all abstract classes which
should not be instantiated from managed, fixes #721564
2014-01-05 16:30:54 +01:00
Bertrand Lorentz
6c63487587 metadata: Fix up GstTagMux to not be abstract
This fixes MissingIntPtrCtor exceptions when wrapping a native GstTagMux
subclass, like GstId3v2Mux, in a managed object.
2014-01-05 15:26:40 +01:00
Stephan Sundermann
a4cf9a8173 Appsink: Add 2 methods 2014-01-05 15:25:08 +01:00
Stephan Sundermann
2148d73307 Dllmap: Fixed dll names in Message.cs 2013-12-21 18:14:35 +01:00
Stephan Sundermann
b0a05d7ed4 FFT: Take float[] instead of float 2013-12-21 16:52:28 +01:00
Stephan Sundermann
d4eb0aced7 FFT: Add FFTF32 constructor that is marked as not introspectable 2013-12-21 16:52:28 +01:00
Stephan Sundermann
318b748ca1 metadata: GstTagDemux is not abstract 2013-12-21 16:52:28 +01:00
Stephan Sundermann
e1a6ddb198 Pad: Fixed Caps property 2013-12-21 16:52:28 +01:00
Stephan Sundermann
6d7e41016e TagList: Add Tags property 2013-12-21 16:52:28 +01:00
Stephan Sundermann
e2a67a2a0d Glue: Changed gluelib mapping to libgstreamersharpglue.dll 2013-12-21 16:52:28 +01:00
Stephan Sundermann
b530fbaf63 Bin, Pipeline: Added empty constructor
Fixes crashes when accessing the Bin.base or Pipeline.base
2013-12-21 16:52:28 +01:00
Andrés G. Aragoneses
603a4bac5b build: fix glue includes in distros with older gstreamers 2013-12-21 16:52:28 +01:00
Stephan Sundermann
bcb87552a0 metadata: Move gstreamer lib renaming to the right part 2013-12-21 16:52:28 +01:00
Stephan Sundermann
9ea7669e86 Object: Fixed compilation on .NET
Using variables cannot be modified in .NET but can be in mono
so switch to a good old Dispose call here.

https://bugzilla.xamarin.com/show_bug.cgi?id=15832#c0
2013-12-21 16:52:28 +01:00
Stephan Sundermann
6d4fbd5ff1 metadata: Added fixup for GstTag 2013-12-21 16:52:27 +01:00
Stephan Sundermann
9b7d00adaa Namespaces: Added GstApp, GstController, GstFFT, GstNet, GstRiff, GstRtp, GstRTSP, GstSdp 2013-12-21 16:52:27 +01:00
Stephan Sundermann
8da857a814 metadata: Removed redundant fixes 2013-12-21 16:52:27 +01:00
Stephan Sundermann
75070123b2 Bin,Pipeline: Fixed access to superclasses 2013-12-21 16:52:27 +01:00
Stephan Sundermann
2099af9b09 TagList: Port custom code to 1.0 2013-12-21 16:52:27 +01:00
Stephan Sundermann
6bb1013e27 Added GstTag namespace
thanks to @knocte for generating
2013-12-21 16:52:27 +01:00
Stephan Sundermann
b795deb060 Regenerated API with newest bindinator
This will fix enum types which were previously replaced with an int and
manual casting was required.
2013-12-21 16:52:26 +01:00
Andrés G. Aragoneses
8dc17be788 metadata: fix more MissingIntPtrCtorException cases
This workaround is getting a bit out of hand...
2013-12-21 16:52:26 +01:00
Stephan Sundermann
f0521e5e17 Adapter: make it public 2013-12-21 16:52:26 +01:00
Stephan Sundermann
e64647191a Adapter: Add some manually bound methods 2013-12-21 16:52:26 +01:00
Stephan Sundermann
63a1e76469 metadata: Mark GstBaseSrc as non abstract but not instantiable from managed 2013-12-21 16:52:26 +01:00
Stephan Sundermann
818301ac35 dllmap: Fix dllnames for GstPbUtils 2013-12-21 16:52:26 +01:00
Stephan Sundermann
a346e7f467 dllmap: Fix GstVideo library name 2013-12-21 16:52:26 +01:00
Stephan Sundermann
a8ae27d3e9 dllconfig: Fix dllnames for GstBase and GstAudio 2013-12-21 16:52:26 +01:00