Commit graph

199 commits

Author SHA1 Message Date
Tim-Philipp Müller
17abef3d1e Release 1.17.1 2020-06-19 19:28:18 +01:00
Thibault Saunier
c70e5494b3 Update GStreamer 2020-06-17 21:16:40 -04:00
Sebastian Dröge
a088475b9d Bind gst_buffer_new_wrapped() manually
The memory must be allocated with g_malloc() as we will free it again
later with g_free(), as such allocate and copy the array that is passed
in.
2020-02-18 15:12:52 +00:00
Sebastian Dröge
c5090bdd21 Declare GstVideoOverlayComposition/Rectangle as opaque type and subclasses of Gst.MiniObject
This changes the API.

Without this change all usage will cause memory corruption and simply
does not work.
2020-01-28 16:50:57 +02:00
Thibault Saunier
a7ac9ee4fb Fix gst_promise_new_with_change_func
For some reason bindinator doesn't properly detect that the `func`
passed in gst_promise_new_with_change_func is a closure and what the
destroy function is (because it is a constructor?)

Mark it manually.

From suggestion from Alex Dircksen: https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/issues/9#note_166633

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/issues/9
2020-01-15 12:22:18 +00:00
Aaron Boxer
38a0731461 build: on Windows, use MSVC format for gst*, glib and gobject dlls
Generated files were generated using 'ninja -C build update-code'
except for libgstfft, which had to be updated manually
(see issue #25).

Note: with these changes, building on MS Windows will require
the msvc compiler - mingw will no longer work.
2019-11-18 14:19:39 -05:00
Thibault Saunier
de2554e637 gst: Mark fields called '_padding' as padding in structures 2019-05-28 18:11:37 -04:00
Tim-Philipp Müller
f2370ad288 Back to development 2019-04-19 11:24:10 +01:00
Tim-Philipp Müller
6ad219d5f9 Release 1.16.0 2019-04-19 02:00:33 +01:00
Nirbheek Chauhan
cf3b88ae89 meson: Fix some deprecation warnings
We require 0.48 and this was added in 0.47
2019-04-13 12:16:55 +05:30
Tim-Philipp Müller
3d8806999b Release 1.15.90 2019-04-11 02:06:59 +01:00
Tim-Philipp Müller
78ace72f38 Release 1.15.2 2019-02-27 08:08:40 +00:00
Thibault Saunier
24730900aa Update GES with latest master 2019-02-25 13:37:17 -03:00
Thibault Saunier
9f1fac402e Update GStreamer with latest master
List of files in sources/meson.build is now aphabetically ordered.
2019-02-25 13:36:36 -03:00
Thibault Saunier
06ad721f91 Add an option to disable tests 2019-02-25 13:28:51 -03:00
Thibault Saunier
3acb989f40 tests: Fix ABI tests with latest change in GstMiniObject
Some private fields in the structure where renamed.
2018-07-12 17:41:55 -04:00
Thibault Saunier
6bada6f67d Generate bindings for the new GstWebRTC library 2018-07-03 10:03:27 -04:00
Thibault Saunier
741cb333df Update code with latest GIR fixes.
Hide the following method that were previously totally broken and
now are wrongly auto generated (and fail to build):

    gst_rtsp_message_parse_auth_credentials
    gst_audio_ring_buffer_prepare_read
2018-06-05 10:55:15 -04:00
Thibault Saunier
ff453e5f0d Update .raw files 2018-06-05 10:55:15 -04:00
andy.green@datapath.co.uk
10f0476c9f Fix for pointer arithmetic error in DynamicSignal.cs
Marshal.ReadIntPtr offset property is in byte.

https://bugzilla.gnome.org/show_bug.cgi?id=796497
2018-06-05 09:48:36 -04:00
Thibault Saunier
2f6752b3fe Make sure GStreamer is at least 1.14
Since we broke ABI with https://bugzilla.gnome.org/show_bug.cgi?id=743062#c30
it is the safest way to do handle.

Update the README accordingly
2018-06-01 09:15:48 -04:00
Xavier Claessens
ca6e5d4a78 Meson: Use shared_library() because static build of C# is not supported
When gstreamer-sharp is used as a subproject (e.g. gst-build) and the
master project is built with default-library=both, gstreamer-sharp
should  still only build shared libraries instead of failing to
configure.

https://bugzilla.gnome.org/show_bug.cgi?id=794656
2018-03-24 11:37:22 -03:00
Thibault Saunier
11215be945 Make GstSDPMessage an opaque structure
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=794483
2018-03-21 09:22:38 -03:00
Thibault Saunier
067f13fcb4 Update generated files. 2018-03-20 09:03:47 -03:00
Tim-Philipp Müller
b897c8f9b6 Back to development 2018-03-20 10:04:54 +00:00
Justin Kim
1bcec1ec3b Gst.Pipeline: Hide GetBus
Gst.Element has same method to return Gst.Bus
so Gst.Pipeline doesn't need to define again.

https://bugzilla.gnome.org/show_bug.cgi?id=793870
2018-03-13 10:18:33 -03:00
Thibault Saunier
bbe45ebd91 message: Name all constructors
And fix examples.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=793274
2018-03-13 10:16:12 -03:00
Thibault Saunier
94f4d85af3 event: Make sure all constructor have a proper name
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=793274
2018-03-13 10:04:35 -03:00
Thibault Saunier
de989e1800 caps: Make sure that the empty constructor build an Empty caps
Moving the NewAny variant at the end of the nodes in the API definition
file.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=793054
2018-03-13 09:28:01 -03:00
Justin Kim
b65093ab72 DynamicSignal: Add Dispose to SignalInfo
SignalInfo implements IDisposable to free GCHandle.

https://bugzilla.gnome.org/show_bug.cgi?id=793982
2018-03-13 08:56:41 -03:00
Thibault Saunier
2d00f898fb Move generated files to dedicated folders named by namespace
Making it cleaner and simpler to navigate and removing previous
ugly and now useless hack where we were renaming files ourself
to make meson happy.
2018-03-11 21:47:35 -03:00
Thibault Saunier
f9044e93e1 Update to 1.13.90
* Hide new GstAudioAggregator for now (needs some work)
* Fix the GstAudioInfo.SetFormat API and its use in the samples (it was plain broken
  and fixes in the annotation fixed it)
2018-03-11 21:23:12 -03:00
Thibault Saunier
d246a73c3a Version control generated source code 2018-01-29 16:25:26 -03:00
Thibault Saunier
689e4892e0 Update for current master 2018-01-29 15:31:16 -03:00
Justin Kim
894fee310f Fix few leaks after strdup
https://bugzilla.gnome.org/show_bug.cgi?id=792899
2018-01-26 19:27:05 +02:00
Thibault Saunier
37f73f8865 build: Fix running tests when not in gst-uninstalled env
Making sure mono find the required and built libraries
2018-01-12 14:27:29 -03:00
Justin Kim
33c41a50a5 DynamicSignal: Add UnmanagedFunctionPointer to GClosureMarshal
Without the convention, Gst.Object.Connect causes AccessViolationException.

https://bugzilla.gnome.org/show_bug.cgi?id=792096
2018-01-02 10:12:59 -03:00
Thibault Saunier
d74a92212f is-padding was renamed to padding in GtkSharp
This fits the expected name in other parts of the code.
2017-11-30 23:06:52 -03:00
Thibault Saunier
7548c54234 Remove autotools
It is not up to date anyway.
2017-10-12 09:45:50 +02:00
Thibault Saunier
0bd077718c Remove some remaining reference to the glue 2017-10-12 00:19:37 +02:00
Thibault Saunier
adeecf4b4a Run tests only when using mono and set MONO_PATH 2017-10-11 18:27:53 +02:00
Thibault Saunier
288b061843 Add ABI tests and fix related issues 2017-10-11 18:27:53 +02:00
Thibault Saunier
e591823df7 Update .raw file with callbacks in structures 2017-10-04 16:01:25 -03:00
Thibault Saunier
a7fd8d6cb5 Do not ever try to generate managed structures 2017-09-29 11:43:48 -03:00
Thibault Saunier
2f86ec02ed Fix GstTypeFind ABI 2017-09-29 11:42:39 -03:00
Thibault Saunier
b71f70bc35 Fix GstAudioBase* parent classes
Those were miss generated in meson build girs
2017-09-28 21:55:43 -03:00
Thibault Saunier
083115dd57 Remove GParamSpec subclasses as they are not handled in the code generator 2017-09-28 21:54:03 -03:00
Thibault Saunier
1b96d74926 Fix GstIterator.master_cookie type
It is a pointer to a guint32
2017-09-28 17:44:46 -03:00
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