platform/upstream/gstreamer.git
4 years agoBack to development
Tim-Philipp Müller [Fri, 19 Jun 2020 23:28:44 +0000 (00:28 +0100)]
Back to development

4 years agoRelease 1.17.1
Tim-Philipp Müller [Fri, 19 Jun 2020 18:28:18 +0000 (19:28 +0100)]
Release 1.17.1

4 years agoUpdate GES
Thibault Saunier [Thu, 18 Jun 2020 01:14:24 +0000 (21:14 -0400)]
Update GES

4 years agoUpdate GStreamer
Thibault Saunier [Wed, 17 Jun 2020 18:36:28 +0000 (14:36 -0400)]
Update GStreamer

4 years agoBind gst_buffer_new_wrapped() manually
Sebastian Dröge [Wed, 29 Jan 2020 10:58:59 +0000 (12:58 +0200)]
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.

4 years agosamples: Explicitly use Gtk range
Thibault Saunier [Mon, 17 Feb 2020 18:46:22 +0000 (15:46 -0300)]
samples: Explicitly use Gtk range

Avoiding:
error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range`

4 years agoDeclare GstVideoOverlayComposition/Rectangle as opaque type and subclasses of Gst...
Sebastian Dröge [Tue, 28 Jan 2020 14:50:57 +0000 (16:50 +0200)]
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.

4 years agoFix gst_promise_new_with_change_func
Thibault Saunier [Sun, 9 Jun 2019 16:16:28 +0000 (12:16 -0400)]
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

4 years agobuild: on Windows, use MSVC format for gst*, glib and gobject dlls
Aaron Boxer [Thu, 24 Oct 2019 14:00:17 +0000 (10:00 -0400)]
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.

5 years agogst: Mark fields called '_padding' as padding in structures
Thibault Saunier [Tue, 28 May 2019 22:11:37 +0000 (18:11 -0400)]
gst: Mark fields called '_padding' as padding in structures

5 years agoBack to development
Tim-Philipp Müller [Fri, 19 Apr 2019 10:24:10 +0000 (11:24 +0100)]
Back to development

5 years agoRelease 1.16.0
Tim-Philipp Müller [Fri, 19 Apr 2019 01:00:33 +0000 (02:00 +0100)]
Release 1.16.0

5 years agomeson: Fix some deprecation warnings
Nirbheek Chauhan [Sat, 13 Apr 2019 06:46:55 +0000 (12:16 +0530)]
meson: Fix some deprecation warnings

We require 0.48 and this was added in 0.47

5 years agomeson: Fix test failures on the CI around nunit-runner
Nirbheek Chauhan [Sat, 13 Apr 2019 06:43:48 +0000 (12:13 +0530)]
meson: Fix test failures on the CI around nunit-runner

environment().prepend() does not stack. None of the operations on that
object stack. This is documented in the Meson reference manual. Also
avoid overriding previously-set operations because that will cause
a warning in a future version of Meson.

Also, we do not need to manually construct MONO_PATH values. We can
pass an array and have Meson construct it for us.

5 years agoRelease 1.15.90
Tim-Philipp Müller [Thu, 11 Apr 2019 00:35:03 +0000 (01:35 +0100)]
Release 1.15.90

5 years agotests: Require at least nunit 2.6
Thibault Saunier [Mon, 4 Mar 2019 12:38:47 +0000 (09:38 -0300)]
tests: Require at least nunit 2.6

5 years agoBack to development
Tim-Philipp Müller [Mon, 4 Mar 2019 10:19:00 +0000 (10:19 +0000)]
Back to development

5 years agoAdd Gitlab CI configuration
Jordan Petridis [Wed, 27 Feb 2019 10:12:11 +0000 (12:12 +0200)]
Add Gitlab CI configuration

This commit adds a .gitlab-ci.yml file, which uses a feature
to fetch the config from a centralized repository. The intent is
to have all the gstreamer modules use the same configuration.

The configuration is currently hosted at the gst-ci repository
under the gitlab/ci_template.yml path.

Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/29

5 years agoRelease 1.15.2
Tim-Philipp Müller [Tue, 26 Feb 2019 13:08:26 +0000 (13:08 +0000)]
Release 1.15.2

5 years agoupdate-all: Handle using the update-all target from gst-build
Thibault Saunier [Tue, 26 Feb 2019 14:18:24 +0000 (11:18 -0300)]
update-all: Handle using the update-all target from gst-build

5 years agoBump meson minimum requirement
Thibault Saunier [Mon, 25 Feb 2019 18:03:18 +0000 (15:03 -0300)]
Bump meson minimum requirement

We use 'features' now

5 years agotests: Use mono-nunit if avalaible
Thibault Saunier [Mon, 25 Feb 2019 16:50:10 +0000 (13:50 -0300)]
tests: Use mono-nunit if avalaible

5 years agoUpdate GES with latest master
Thibault Saunier [Mon, 25 Feb 2019 16:37:17 +0000 (13:37 -0300)]
Update GES with latest master

5 years agoUpdate GStreamer with latest master
Thibault Saunier [Mon, 25 Feb 2019 14:33:39 +0000 (11:33 -0300)]
Update GStreamer with latest master

List of files in sources/meson.build is now aphabetically ordered.

5 years agoAdd an option to disable tests
Thibault Saunier [Mon, 25 Feb 2019 14:12:23 +0000 (11:12 -0300)]
Add an option to disable tests

5 years agobuild: Generate the list of files to use in meson.build
Thibault Saunier [Mon, 25 Feb 2019 15:28:53 +0000 (12:28 -0300)]
build: Generate the list of files to use in meson.build

Making it simpler to update it

5 years agoREADME: Add a little explanation on how to add this as a dependency.
Olivier Crête [Mon, 21 Jan 2019 22:53:53 +0000 (17:53 -0500)]
README: Add a little explanation on how to add this as a dependency.

5 years agoges: Remove wrongly commited check for libxml2
Thibault Saunier [Thu, 6 Dec 2018 20:19:42 +0000 (17:19 -0300)]
ges: Remove wrongly commited check for libxml2

5 years agoges: Remove GESPitiviFormatter as it is deprecated and useless
Thibault Saunier [Thu, 6 Dec 2018 19:39:19 +0000 (16:39 -0300)]
ges: Remove GESPitiviFormatter as it is deprecated and useless

6 years agoA bug in PlaybackTutorial7.cs
Tomislav Tustonić [Thu, 11 Oct 2018 22:40:38 +0000 (00:40 +0200)]
A bug in PlaybackTutorial7.cs

A custom sink is set after starting playback and the equalizer has no effect.

https://bugzilla.gnome.org/show_bug.cgi?id=796690

6 years agotests: Fix ABI tests with latest change in GstMiniObject
Thibault Saunier [Thu, 12 Jul 2018 21:41:39 +0000 (17:41 -0400)]
tests: Fix ABI tests with latest change in GstMiniObject

Some private fields in the structure where renamed.

6 years agoGenerate bindings for the new GstWebRTC library
Thibault Saunier [Mon, 19 Mar 2018 18:49:25 +0000 (15:49 -0300)]
Generate bindings for the new GstWebRTC library

6 years agoUpdate the gtk-sharp wrap to point to the right place
Thibault Saunier [Thu, 17 May 2018 19:52:33 +0000 (15:52 -0400)]
Update the gtk-sharp wrap to point to the right place

6 years agoUpdate code with latest GIR fixes.
Thibault Saunier [Thu, 17 May 2018 19:38:32 +0000 (15:38 -0400)]
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

6 years agoUpdate .raw files
Thibault Saunier [Thu, 17 May 2018 19:27:36 +0000 (15:27 -0400)]
Update .raw files

6 years agoUse bindinator as a subproject
Thibault Saunier [Thu, 17 May 2018 16:03:55 +0000 (12:03 -0400)]
Use bindinator as a subproject

6 years agoDo not try to generated binding for libgstriff and libgstfft which are not introspected
Thibault Saunier [Thu, 17 May 2018 16:19:21 +0000 (12:19 -0400)]
Do not try to generated binding for libgstriff and libgstfft which are not introspected

6 years agoCheckout gir files
Thibault Saunier [Thu, 17 May 2018 16:15:46 +0000 (12:15 -0400)]
Checkout gir files

6 years agoFix for pointer arithmetic error in DynamicSignal.cs
andy.green@datapath.co.uk [Tue, 5 Jun 2018 10:56:00 +0000 (10:56 +0000)]
Fix for pointer arithmetic error in DynamicSignal.cs

Marshal.ReadIntPtr offset property is in byte.

https://bugzilla.gnome.org/show_bug.cgi?id=796497

6 years agotutorial6: Do not use linux specific .so names for the glib
Thibault Saunier [Mon, 21 May 2018 08:34:13 +0000 (04:34 -0400)]
tutorial6: Do not use linux specific .so names for the glib

And let the glib-2.0.dll.config do its job

https://bugzilla.gnome.org/show_bug.cgi?id=796287

6 years agoMake sure GStreamer is at least 1.14
Thibault Saunier [Wed, 9 May 2018 11:31:35 +0000 (08:31 -0300)]
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

6 years agosamples: Fix Tutorial4 by making it actually seek at some point.
Thibault Saunier [Fri, 18 May 2018 01:34:31 +0000 (21:34 -0400)]
samples: Fix Tutorial4 by making it actually seek at some point.

Thanks to "tomislavtustonic" for the bug report and patch.

Also make the seek "Flushing" as the C tutorial.

https://bugzilla.gnome.org/show_bug.cgi?id=796184

6 years agomeson.build: ges is an optional dependency
Mathieu Duponchelle [Sun, 22 Apr 2018 00:51:59 +0000 (17:51 -0700)]
meson.build: ges is an optional dependency

6 years agoges: Mark padding fields as padding
Thibault Saunier [Sat, 31 Mar 2018 14:21:56 +0000 (11:21 -0300)]
ges: Mark padding fields as padding

6 years agoMeson: Use shared_library() because static build of C# is not supported
Xavier Claessens [Sat, 24 Mar 2018 14:30:40 +0000 (10:30 -0400)]
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

6 years agotests: Test SDPMessage creation
Justin Kim [Thu, 15 Mar 2018 10:23:58 +0000 (19:23 +0900)]
tests: Test SDPMessage creation

https://bugzilla.gnome.org/show_bug.cgi?id=794349

6 years agoMake GstSDPMessage an opaque structure
Thibault Saunier [Mon, 19 Mar 2018 12:42:04 +0000 (09:42 -0300)]
Make GstSDPMessage an opaque structure

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=794483

6 years agoUpdate generated files.
Thibault Saunier [Tue, 20 Mar 2018 12:02:45 +0000 (09:02 -0300)]
Update generated files.

6 years agoBack to development
Tim-Philipp Müller [Tue, 20 Mar 2018 09:54:18 +0000 (09:54 +0000)]
Back to development

6 years agoRelease 1.14.0
Tim-Philipp Müller [Mon, 19 Mar 2018 23:40:41 +0000 (23:40 +0000)]
Release 1.14.0

6 years agoRelease 1.13.91
Tim-Philipp Müller [Wed, 14 Mar 2018 00:26:35 +0000 (00:26 +0000)]
Release 1.13.91

6 years agoGst.Pipeline: Hide GetBus
Justin Kim [Wed, 28 Feb 2018 13:01:24 +0000 (22:01 +0900)]
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

6 years agomessage: Name all constructors
Thibault Saunier [Tue, 13 Mar 2018 13:06:58 +0000 (10:06 -0300)]
message: Name all constructors

And fix examples.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=793274

6 years agoevent: Make sure all constructor have a proper name
Thibault Saunier [Tue, 13 Mar 2018 13:04:35 +0000 (10:04 -0300)]
event: Make sure all constructor have a proper name

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=793274

6 years agocaps: Make sure that the empty constructor build an Empty caps
Thibault Saunier [Tue, 13 Mar 2018 12:27:01 +0000 (09:27 -0300)]
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

6 years agoDynamicSignal: Add Dispose to SignalInfo
Justin Kim [Thu, 1 Mar 2018 03:36:23 +0000 (12:36 +0900)]
DynamicSignal: Add Dispose to SignalInfo

SignalInfo implements IDisposable to free GCHandle.

https://bugzilla.gnome.org/show_bug.cgi?id=793982

6 years agoMove generated files to dedicated folders named by namespace
Thibault Saunier [Mon, 12 Mar 2018 00:39:46 +0000 (21:39 -0300)]
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.

6 years agoUpdate to 1.13.90
Thibault Saunier [Sun, 11 Mar 2018 15:28:57 +0000 (12:28 -0300)]
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)

6 years agoAdd a way to simply update sources and document it
Thibault Saunier [Mon, 29 Jan 2018 21:03:40 +0000 (18:03 -0300)]
Add a way to simply update sources and document it

6 years agoUpdate GES
Thibault Saunier [Mon, 29 Jan 2018 20:46:44 +0000 (17:46 -0300)]
Update GES

6 years agoVersion control generated source code
Thibault Saunier [Mon, 29 Jan 2018 18:56:49 +0000 (15:56 -0300)]
Version control generated source code

6 years agoUpdate for current master
Thibault Saunier [Mon, 29 Jan 2018 18:31:16 +0000 (15:31 -0300)]
Update for current master

6 years agoFix few leaks after strdup
Justin Kim [Thu, 25 Jan 2018 13:47:52 +0000 (22:47 +0900)]
Fix few leaks after strdup

https://bugzilla.gnome.org/show_bug.cgi?id=792899

6 years agobuild: Fix running tests when not in gst-uninstalled env
Thibault Saunier [Fri, 12 Jan 2018 16:04:37 +0000 (13:04 -0300)]
build: Fix running tests when not in gst-uninstalled env

Making sure mono find the required and built libraries

6 years agoDynamicSignal: Add UnmanagedFunctionPointer to GClosureMarshal
Justin Kim [Mon, 1 Jan 2018 13:59:02 +0000 (22:59 +0900)]
DynamicSignal: Add UnmanagedFunctionPointer to GClosureMarshal

Without the convention, Gst.Object.Connect causes AccessViolationException.

https://bugzilla.gnome.org/show_bug.cgi?id=792096

6 years ago`is-padding` was renamed to `padding` in GtkSharp
Thibault Saunier [Fri, 1 Dec 2017 02:04:54 +0000 (23:04 -0300)]
`is-padding` was renamed to `padding` in GtkSharp

This fits the expected name in other parts of the code.

6 years agoFix circular dependencies in the generated nuggets
Thibault Saunier [Thu, 23 Nov 2017 15:28:13 +0000 (12:28 -0300)]
Fix circular dependencies in the generated nuggets

7 years agoRemove autotools
Thibault Saunier [Wed, 11 Oct 2017 22:20:38 +0000 (00:20 +0200)]
Remove autotools

It is not up to date anyway.

7 years agoRemove some remaining reference to the glue
Thibault Saunier [Wed, 11 Oct 2017 21:47:35 +0000 (23:47 +0200)]
Remove some remaining reference to the glue

7 years agoMake our nugget depend on GLib-sharp ones
Thibault Saunier [Wed, 11 Oct 2017 21:42:56 +0000 (23:42 +0200)]
Make our nugget depend on GLib-sharp ones

7 years agoRun tests only when using mono and set MONO_PATH
Thibault Saunier [Wed, 4 Oct 2017 20:07:26 +0000 (17:07 -0300)]
Run tests only when using mono and set MONO_PATH

7 years agoAdd ABI tests and fix related issues
Thibault Saunier [Wed, 4 Oct 2017 19:02:53 +0000 (16:02 -0300)]
Add ABI tests and fix related issues

7 years agoUpdate .raw file with callbacks in structures
Thibault Saunier [Wed, 4 Oct 2017 19:01:25 +0000 (16:01 -0300)]
Update .raw file with callbacks in structures

7 years agoDo not ever try to generate managed structures
Thibault Saunier [Fri, 29 Sep 2017 14:43:48 +0000 (11:43 -0300)]
Do not ever try to generate managed structures

7 years agoFix GstTypeFind ABI
Thibault Saunier [Fri, 29 Sep 2017 14:42:39 +0000 (11:42 -0300)]
Fix GstTypeFind ABI

7 years agoFix GstAudioBase* parent classes
Thibault Saunier [Fri, 29 Sep 2017 00:55:43 +0000 (21:55 -0300)]
Fix GstAudioBase* parent classes

Those were miss generated in meson build girs

7 years agoRemove GParamSpec subclasses as they are not handled in the code generator
Thibault Saunier [Fri, 29 Sep 2017 00:54:03 +0000 (21:54 -0300)]
Remove GParamSpec subclasses as they are not handled in the code generator

7 years agoFix GstIterator.master_cookie type
Thibault Saunier [Thu, 28 Sep 2017 20:44:46 +0000 (17:44 -0300)]
Fix GstIterator.master_cookie type

It is a pointer to a guint32

7 years agoRemove remaining reference to glue
Thibault Saunier [Thu, 28 Sep 2017 20:44:18 +0000 (17:44 -0300)]
Remove remaining reference to glue

7 years agoMake GstVideo/AudioInfo GLib.Opaque structures
Thibault Saunier [Mon, 25 Sep 2017 21:40:29 +0000 (18:40 -0300)]
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

7 years agomeson: Fix generation of nugets.
Thibault Saunier [Tue, 26 Sep 2017 12:30:12 +0000 (09:30 -0300)]
meson: Fix generation of nugets.

7 years agomeson: keysign only when using mono and use a project argument
Thibault Saunier [Mon, 25 Sep 2017 15:00:00 +0000 (12:00 -0300)]
meson: keysign only when using mono and use a project argument

7 years agoMake sure to run exes within mono if required
Thibault Saunier [Mon, 25 Sep 2017 14:56:43 +0000 (11:56 -0300)]
Make sure to run exes within mono if required

7 years agoDynamicSignal: use NativeType property instead of doing unsafe pointer trickery
Erlend Graff [Mon, 18 Sep 2017 13:28:29 +0000 (15:28 +0200)]
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

7 years agoUpdate to current master
Thibault Saunier [Thu, 21 Sep 2017 19:59:43 +0000 (16:59 -0300)]
Update to current master

7 years agosamples: Minor fix in the way we free resources
Thibault Saunier [Thu, 21 Sep 2017 19:58:38 +0000 (16:58 -0300)]
samples: Minor fix in the way we free resources

7 years agoAlso generate 'unintrospectable' _unref method
Thibault Saunier [Thu, 21 Sep 2017 17:11:03 +0000 (14:11 -0300)]
Also generate 'unintrospectable' _unref method

Otherwise we will leak all Opaque structures

7 years agoMake sure GstSample is declared as subclass of GstMiniObject
Erlend Graff [Mon, 18 Sep 2017 18:30:26 +0000 (20:30 +0200)]
Make sure GstSample is declared as subclass of GstMiniObject

7 years agomeson: Fix gtk-sharp git repo url
Thibault Saunier [Wed, 20 Sep 2017 20:48:22 +0000 (17:48 -0300)]
meson: Fix gtk-sharp git repo url

We want to use the new gtk-sharp/gtk-sharp "upstream", not some random repo!

7 years agomeson: Fix some dependencies
Thibault Saunier [Wed, 20 Sep 2017 20:22:17 +0000 (17:22 -0300)]
meson: Fix some dependencies

7 years agoBump versiom to 1.13
Thibault Saunier [Wed, 6 Sep 2017 16:05:46 +0000 (13:05 -0300)]
Bump versiom to 1.13

So it is usable from gst-build master.

7 years agometadata: Remove unused overrides and mark padding fields in objects as such
Thibault Saunier [Wed, 6 Sep 2017 15:21:14 +0000 (12:21 -0300)]
metadata: Remove unused overrides and mark padding fields in objects as such

7 years agometadata: Add some documentation about our overrides
Thibault Saunier [Wed, 6 Sep 2017 12:33:55 +0000 (09:33 -0300)]
metadata: Add some documentation about our overrides

7 years agoUpdate README
Thibault Saunier [Tue, 5 Sep 2017 01:04:35 +0000 (22:04 -0300)]
Update README

7 years agodlopen the libname.so.0 instead of libname.so on linux
Thibault Saunier [Fri, 1 Sep 2017 20:43:41 +0000 (17:43 -0300)]
dlopen the libname.so.0 instead of libname.so on linux

It should always be available and libname.so is not available on
some distros (ubuntu 32bits)

7 years agoDo not use glue anymore!
Thibault Saunier [Thu, 31 Aug 2017 02:52:29 +0000 (23:52 -0300)]
Do not use glue anymore!

This is not needed anymore as ABI compatible structures are now generated
and used by the code generator.

7 years agoAdd a target to generate nugets.
Thibault Saunier [Wed, 30 Aug 2017 17:02:50 +0000 (14:02 -0300)]
Add a target to generate nugets.

7 years agoAdd a Global.TimeFomat function
Thibault Saunier [Wed, 30 Aug 2017 01:19:49 +0000 (22:19 -0300)]
Add a Global.TimeFomat function

7 years agosamples: Fix broken media uris
Thibault Saunier [Tue, 29 Aug 2017 18:26:33 +0000 (15:26 -0300)]
samples: Fix broken media uris

7 years agoGenerate bindings for GES if avalaible
Thibault Saunier [Tue, 29 Aug 2017 18:25:18 +0000 (15:25 -0300)]
Generate bindings for GES if avalaible