platform/upstream/gst-editing-services.git
5 years agotests: ges: Fix various leak
Yeongjin Jeong [Sun, 27 Jan 2019 15:55:27 +0000 (00:55 +0900)]
tests: ges: Fix various leak

5 years agolayer: Fix asset leak
Yeongjin Jeong [Sat, 26 Jan 2019 10:50:48 +0000 (19:50 +0900)]
layer: Fix asset leak

5 years agoeffect: Fix string leak
Yeongjin Jeong [Sat, 26 Jan 2019 07:44:09 +0000 (16:44 +0900)]
effect: Fix string leak

5 years agouri-asset: Implement dispose vmethod for GESUriSourceAsset
Yeongjin Jeong [Tue, 29 Jan 2019 02:52:43 +0000 (11:52 +0900)]
uri-asset: Implement dispose vmethod for GESUriSourceAsset

... and fix DiscovererStreamInfo leak

5 years agouri-asset: Don't forget to unref DiscovererInfo on dispose
Yeongjin Jeong [Sat, 26 Jan 2019 07:27:27 +0000 (16:27 +0900)]
uri-asset: Don't forget to unref DiscovererInfo on dispose

Dispose() must unref DiscovererInfo ownership
taken by ges_uri_clip_asset_set_info().

5 years agovideo-transition: Fix GstPad leak
Yeongjin Jeong [Fri, 25 Jan 2019 09:21:43 +0000 (18:21 +0900)]
video-transition: Fix GstPad leak

Returned Gstpad by link_element_to_mixer_with_smpte()
has increased refcount in ges_smart_mixer_get_mixer_pad().

5 years agotimeline: Better handle loading inconsistent timelines
Alexandru Băluț [Tue, 27 Nov 2018 03:55:17 +0000 (04:55 +0100)]
timeline: Better handle loading inconsistent timelines

Auto transition when having 3 overlapping clips in a same point in the
timeline is not supported as we can't handle it in a nice way. Before we
to avoid creating 2 overlapping transitions (which is plain broken in
NLE) were completely disabling `auto-transition` and removing all
auto-transitions in the timeline but this is pretty weird for the end
user. This commit changes and now makes sure 2 transitions are not
created in the same place.

Also cleanup previous test case.

5 years agos/accured/occurred/g
Thibault Saunier [Fri, 18 Jan 2019 20:25:11 +0000 (17:25 -0300)]
s/accured/occurred/g

5 years agoxml-formatter: Minor debug enhancement
Thibault Saunier [Fri, 18 Jan 2019 20:12:42 +0000 (17:12 -0300)]
xml-formatter: Minor debug enhancement

5 years agoplugins: Add an a gesdemux element to 'demux' serialized timelines
Thibault Saunier [Fri, 18 Jan 2019 12:52:47 +0000 (09:52 -0300)]
plugins: Add an a gesdemux element to 'demux' serialized timelines

5 years agoplugins: implement a gessrc element useable from playbin
Thibault Saunier [Sat, 14 Mar 2015 20:52:47 +0000 (20:52 +0000)]
plugins: implement a gessrc element useable from playbin

This is a new simple GstBin that can handle the ges:// uris
and will directly expose the srcppads of the tracks present in the
timeline.

5 years agouri-asset: Use the same code path for sync discovery as the async one
Thibault Saunier [Fri, 18 Jan 2019 18:45:39 +0000 (15:45 -0300)]
uri-asset: Use the same code path for sync discovery as the async one

And start handling relocated assets.

Also expose the discoverer callback as a vmethod so that we can
overridde the discoverer when necessary (to handle discovering of
timeline through gesdemux for example)

5 years agonlecomposition: Get overall pipeline position by recursing up
Thibault Saunier [Thu, 17 Jan 2019 18:12:42 +0000 (15:12 -0300)]
nlecomposition: Get overall pipeline position by recursing up

And handle NLEComposition inside NLEComposition

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/39

5 years agovideomixer: Drop allocation query after the compositor
Thibault Saunier [Sun, 30 Sep 2018 20:22:13 +0000 (17:22 -0300)]
videomixer: Drop allocation query after the compositor

Working around https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/310

5 years agolayer: Resort clips before syncing priorities
Thibault Saunier [Mon, 28 Jan 2019 21:59:40 +0000 (18:59 -0300)]
layer: Resort clips before syncing priorities

We set the priorities making the assumption that `start_clips` is properly
ordered by start!

Fixes https://gitlab.gnome.org/GNOME/pitivi/issues/2254

5 years agotests: asset: Add test async asset request with custom GMainContext
Seungha Yang [Mon, 28 Jan 2019 03:58:06 +0000 (12:58 +0900)]
tests: asset: Add test async asset request with custom GMainContext

... and test call ges_{init/deinit} multiple times in a unit test.

5 years agoRevert "ges: Add missing type unref on deinit"
Seungha Yang [Mon, 28 Jan 2019 08:22:10 +0000 (17:22 +0900)]
Revert "ges: Add missing type unref on deinit"

This reverts commit e939cfebaf4deeabf21ba799ddc3eeaa87e7cf9a.

Class might not be initialized if they were already registered
when ges_init() was called, but were not created until ges_deinit() called.

5 years agoges: Add check sync/async discoverer
Seungha Yang [Mon, 28 Jan 2019 08:12:54 +0000 (17:12 +0900)]
ges: Add check sync/async discoverer

To support ges_{init/deinit} multiple times in a process,
there should be a method for setting up internal object/table of
GESUriClipAssetClass. because *_class_init() will be called
only once in process lifecycle.

5 years agouri-asset: Add missing GHashTable cleanup
Seungha Yang [Mon, 28 Jan 2019 08:15:19 +0000 (17:15 +0900)]
uri-asset: Add missing GHashTable cleanup

... and use g_object_unref() for GFile object, it's not a GstObject.

5 years agoges: Print initialize error reasons
Seungha Yang [Mon, 28 Jan 2019 07:34:15 +0000 (16:34 +0900)]
ges: Print initialize error reasons

5 years agotests: asset: Remove out-of-date comment
Seungha Yang [Mon, 28 Jan 2019 03:19:30 +0000 (12:19 +0900)]
tests: asset: Remove out-of-date comment

5 years agotests: asset: Remove pointless gst_init()
Seungha Yang [Mon, 28 Jan 2019 03:17:00 +0000 (12:17 +0900)]
tests: asset: Remove pointless gst_init()

It's done by GST_CHECK_MAIN() already

5 years agotests: init/deinit per test case
Seungha Yang [Mon, 28 Jan 2019 02:24:29 +0000 (11:24 +0900)]
tests: init/deinit per test case

... in order to verify init/deinit pair.

5 years agoges: Simplify init/deinit flag
Seungha Yang [Mon, 28 Jan 2019 02:07:36 +0000 (11:07 +0900)]
ges: Simplify init/deinit flag

In theory, GES can be init/deinit multiple times in a process.
To simplify that use-case, let's trace only "ges_initialized" flag.

5 years agouri-asset: Add ges_uri_clip_asset_finish to get better introspection
Corentin Noël [Mon, 21 Jan 2019 10:53:44 +0000 (11:53 +0100)]
uri-asset: Add ges_uri_clip_asset_finish to get better introspection

Vala requires a matching _finish function to correctly bind the method with the right finish method.

5 years agotimeline: fix two issues in the documentation
Corentin Noël [Mon, 21 Jan 2019 13:14:06 +0000 (14:14 +0100)]
timeline: fix two issues in the documentation

5 years agoxml-formatter: Do not forget to serialize clips metadata
Thibault Saunier [Tue, 15 Jan 2019 12:59:59 +0000 (09:59 -0300)]
xml-formatter: Do not forget to serialize clips metadata

5 years agoxml-formatter: Serialize groups metadatas
Thibault Saunier [Tue, 15 Jan 2019 12:38:14 +0000 (09:38 -0300)]
xml-formatter: Serialize groups metadatas

5 years agouri-asset: Don't leak GstDiscovererInfo
Seungha Yang [Mon, 14 Jan 2019 15:15:28 +0000 (00:15 +0900)]
uri-asset: Don't leak GstDiscovererInfo

5 years agouri-asset: Impl. dispose vfunc
Seungha Yang [Mon, 14 Jan 2019 15:13:24 +0000 (00:13 +0900)]
uri-asset: Impl. dispose vfunc

... and fix GList/GESAsset leak

5 years agotransition-clip: Don't leak GESAsset
Seungha Yang [Mon, 14 Jan 2019 14:38:19 +0000 (23:38 +0900)]
transition-clip: Don't leak GESAsset

Returned GESAsset from ges_asset_request should be freed since
ges_extractable_set_asset doesn't take ownership

5 years agoframepositioner: Fix invalid memory access
Seungha Yang [Mon, 14 Jan 2019 13:14:18 +0000 (22:14 +0900)]
framepositioner: Fix invalid memory access

The GstFramePositioner might be finalized before the notify callback

Without this commit,
gst-editing-services / ges_basic / test_ges_timeline_remove_track
can reproduce the case.

5 years agonleoperation: Fix GstPad leak
Seungha Yang [Mon, 14 Jan 2019 06:06:26 +0000 (15:06 +0900)]
nleoperation: Fix GstPad leak

Returned GstPad by nle_object_remove_ghost_pad() has increased
refcount.

5 years agonleghostpad: Fix GstEvent leak
Seungha Yang [Mon, 14 Jan 2019 05:10:32 +0000 (14:10 +0900)]
nleghostpad: Fix GstEvent leak

5 years agonlecomposition: Don't leak GNode
Seungha Yang [Mon, 14 Jan 2019 03:52:47 +0000 (12:52 +0900)]
nlecomposition: Don't leak GNode

Clear the last node before update

5 years agotests: nle: Fix various leak
Seungha Yang [Mon, 14 Jan 2019 04:22:13 +0000 (13:22 +0900)]
tests: nle: Fix various leak

Don't leak GError and GstPad object

5 years agotests: nle: Fix GList leak
Seungha Yang [Mon, 14 Jan 2019 02:34:20 +0000 (11:34 +0900)]
tests: nle: Fix GList leak

5 years agotests: ges: Fix various leak
Seungha Yang [Sat, 12 Jan 2019 15:12:42 +0000 (00:12 +0900)]
tests: ges: Fix various leak

5 years agoasset: Fix various leak
Seungha Yang [Sat, 12 Jan 2019 13:24:55 +0000 (22:24 +0900)]
asset: Fix various leak

5 years agoenums: Add missing unref
Seungha Yang [Sat, 12 Jan 2019 12:59:20 +0000 (21:59 +0900)]
enums: Add missing unref

5 years agonlecomposition: Clear all members before chaining up to parent on finalize
Seungha Yang [Sat, 12 Jan 2019 12:52:16 +0000 (21:52 +0900)]
nlecomposition: Clear all members before chaining up to parent on finalize

5 years agostructure-parser: Add missig chain up code
Seungha Yang [Sat, 12 Jan 2019 12:51:36 +0000 (21:51 +0900)]
structure-parser: Add missig chain up code

5 years agoges: Add missing type unref on deinit
Seungha Yang [Sat, 12 Jan 2019 11:53:38 +0000 (20:53 +0900)]
ges: Add missing type unref on deinit

5 years agoges: Cleanup internal hash table on deinit
Seungha Yang [Sat, 12 Jan 2019 11:23:50 +0000 (20:23 +0900)]
ges: Cleanup internal hash table on deinit

System-wide once allocated but it makes tracing leak hard

5 years agoges: Make init/deinit thread safe
Seungha Yang [Sat, 12 Jan 2019 10:57:37 +0000 (19:57 +0900)]
ges: Make init/deinit thread safe

Although it might be uncommon use case, init/deinit could be called
in non-main thread.

5 years agoasset: Use static lock
Seungha Yang [Sat, 12 Jan 2019 10:23:25 +0000 (19:23 +0900)]
asset: Use static lock

The mutex life cycle follows processs.

5 years agotests: Increase timeout value to 360 sec
Seungha Yang [Mon, 14 Jan 2019 01:16:18 +0000 (10:16 +0900)]
tests: Increase timeout value to 360 sec

Use consistent timeout value with core and other plugins.
Otherwise, valgrind sometimes timed out with default timeout 30sec.

5 years agonlecomposition: Don't try dump null stack
Seungha Yang [Mon, 14 Jan 2019 03:45:29 +0000 (12:45 +0900)]
nlecomposition: Don't try dump null stack

Fixes following assertion
Unexpected critical/warning: g_node_traverse: assertion 'root != NULL' failed

5 years agoRelease 1.15.1
Tim-Philipp Müller [Thu, 17 Jan 2019 02:30:06 +0000 (02:30 +0000)]
Release 1.15.1

5 years agoges: Register formatters during meta registration
Thibault Saunier [Mon, 14 Jan 2019 21:32:23 +0000 (18:32 -0300)]
ges: Register formatters during meta registration

So that formatters implemented outside GES itself are registered

5 years agoges: Add a ges_is_initialized function
Thibault Saunier [Mon, 14 Jan 2019 21:30:38 +0000 (18:30 -0300)]
ges: Add a ges_is_initialized function

5 years agoformatter: sink ref of the temporary GESFormatter
Thibault Saunier [Mon, 14 Jan 2019 21:28:52 +0000 (18:28 -0300)]
formatter: sink ref of the temporary GESFormatter

To accomodate formatters implemented with bindings/in python

5 years agopipeline: Ensure timeline state to be NULL on dispose
Seungha Yang [Wed, 9 Jan 2019 08:11:37 +0000 (17:11 +0900)]
pipeline: Ensure timeline state to be NULL on dispose

The GESTimeline's state might not be synced with parent

5 years agonlecomposition: Handle state change failure
Seungha Yang [Wed, 9 Jan 2019 07:23:54 +0000 (16:23 +0900)]
nlecomposition: Handle state change failure

Whatever the reason for failure, try cleanup child elements
and internal thread.

5 years agoges-meta-container: Fix warning message
Alexandru Băluț [Fri, 4 Jan 2019 23:23:20 +0000 (00:23 +0100)]
ges-meta-container: Fix warning message

5 years agoges-meta-container: Minor documentation fixes
Alexandru Băluț [Fri, 4 Jan 2019 04:31:39 +0000 (05:31 +0100)]
ges-meta-container: Minor documentation fixes

5 years agotrack-element: Ignore writability for whitlisted children props
Thibault Saunier [Fri, 4 Jan 2019 11:36:20 +0000 (12:36 +0100)]
track-element: Ignore writability for whitlisted children props

If the property was explicitely whitelisted, we should expose it
in any case.

This was a regression from 835d69374978208bc73a8f823b899f624dda9479

5 years agoges: avoid use of G_DECLARE_FINAL_TYPE which requires GLib 2.44
Tim-Philipp Müller [Sun, 30 Dec 2018 19:49:44 +0000 (19:49 +0000)]
ges: avoid use of G_DECLARE_FINAL_TYPE which requires GLib 2.44

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/48

5 years agocontainer: Fix GHashTable leak
Seungha Yang [Thu, 27 Dec 2018 01:54:28 +0000 (10:54 +0900)]
container: Fix GHashTable leak

5 years agocontainer: Fix wrong finalize() usage
Seungha Yang [Wed, 26 Dec 2018 15:15:30 +0000 (00:15 +0900)]
container: Fix wrong finalize() usage

finalize must chain up to parent's finalize(), not dispose()

5 years agotimeline-element: Chain up to parent impl. on dispose()
Seungha Yang [Wed, 26 Dec 2018 15:14:03 +0000 (00:14 +0900)]
timeline-element: Chain up to parent impl. on dispose()

... as documented in glib

5 years agoWIP: ges: fix API export/import and 'inconsistent linkage' on MSVC
Tim-Philipp Müller [Mon, 24 Sep 2018 14:41:24 +0000 (15:41 +0100)]
WIP: ges: fix API export/import and 'inconsistent linkage' on MSVC

Export GES library API in headers when we're building the
library itself, otherwise import the API from the headers.

This fixes linker warnings on Windows when building with MSVC.

Fix up some missing config.h includes when building the lib which
is needed to get the export api define from config.h

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/42

5 years agobuild: also allow building static libraries for e.g. Android/iOS
Matthew Waters [Mon, 10 Dec 2018 02:28:16 +0000 (13:28 +1100)]
build: also allow building static libraries for e.g. Android/iOS

5 years agoAutomatic update of common submodule
Thibault Saunier [Wed, 5 Dec 2018 20:25:04 +0000 (17:25 -0300)]
Automatic update of common submodule

From ed78bee to 59cb678

5 years agoAdd a way to disable xptv support
Thibault Saunier [Fri, 30 Nov 2018 15:41:04 +0000 (12:41 -0300)]
Add a way to disable xptv support

This formatter is in very bad shape and is generally not useful.

It has been deprecated since 1.0... and I bet noone uses it.

5 years agoRun gst-indent through the files
Jordan Petridis [Wed, 28 Nov 2018 03:48:37 +0000 (05:48 +0200)]
Run gst-indent through the files

This is required before we enabled an indent test in the CI.

https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33

5 years agotrack: Fix documentation about "binding_type"
Thibault Saunier [Tue, 27 Nov 2018 15:09:20 +0000 (12:09 -0300)]
track: Fix documentation about "binding_type"

5 years agoRevert "meson: Fix the reference to libxml2 path"
Thibault Saunier [Mon, 26 Nov 2018 20:18:25 +0000 (17:18 -0300)]
Revert "meson: Fix the reference to libxml2 path"

It seemed to be what the wrap file expected but in the end it is
just a bug in meson which is now fixed.

This reverts commit cc5d74d0be30dab92d1540ed749eaf4dcedd9171.

5 years agomeson: Fix the reference to libxml2 path
Thibault Saunier [Mon, 26 Nov 2018 18:57:30 +0000 (15:57 -0300)]
meson: Fix the reference to libxml2 path

5 years agomeson: Add a fallback for libxml2
Thibault Saunier [Mon, 26 Nov 2018 17:50:29 +0000 (14:50 -0300)]
meson: Add a fallback for libxml2

5 years agovalidate: cleanup the playback-time from validate structures
Thibault Saunier [Mon, 26 Nov 2018 17:50:03 +0000 (14:50 -0300)]
validate: cleanup the playback-time from validate structures

Otherwise we might fail on them in the ges-structure-interface

5 years agoeffect: Create ghost pads ourself
Thibault Saunier [Fri, 23 Nov 2018 14:22:03 +0000 (11:22 -0300)]
effect: Create ghost pads ourself

As we can have effects with several pads and the default ghosting
doesn't allow that.

This way we also filter the pads to ghost to match our track type.

5 years agoeffect: Consider the "Filter" classification to determine effect media type
Thibault Saunier [Fri, 23 Nov 2018 14:20:00 +0000 (11:20 -0300)]
effect: Consider the "Filter" classification to determine effect media type

5 years agoAdd Gitlab CI configuration
Jordan Petridis [Mon, 12 Nov 2018 10:47:02 +0000 (12:47 +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 agoclip: Emit additional signals after child-removed
Alexandru Băluț [Mon, 8 Oct 2018 22:45:29 +0000 (00:45 +0200)]
clip: Emit additional signals after child-removed

When removing an effect from a clip, first the notify::priority signals
were being emitted for the remaining effects which changed priority, and only
at the end the child-removed signal. Now the child-removed signal is emitted
first.

5 years agotimeline-element: Fix compilation errors
Víctor Manuel Jáquez Leal [Mon, 5 Nov 2018 12:57:25 +0000 (13:57 +0100)]
timeline-element: Fix compilation errors

There were some code errors introduced in commit 6b738b7a

5 years agonle: install pkg-config file for plugin
Matthew Waters [Sun, 4 Nov 2018 09:47:01 +0000 (20:47 +1100)]
nle: install pkg-config file for plugin

5 years agotimeline-element: Align virtual methods and invokers prototypes
Corentin Noël [Mon, 5 Nov 2018 10:00:58 +0000 (11:00 +0100)]
timeline-element: Align virtual methods and invokers prototypes

5 years agoUpdate git location to gitlab
Matthew Waters [Mon, 5 Nov 2018 05:51:47 +0000 (05:51 +0000)]
Update git location to gitlab

5 years agoges: Check the thread from which our API is used
Thibault Saunier [Fri, 2 Nov 2018 17:32:04 +0000 (14:32 -0300)]
ges: Check the thread from which our API is used

And add some missing API guards

5 years agoges: Mark GValue in child property setters as const
Thibault Saunier [Fri, 2 Nov 2018 12:30:28 +0000 (09:30 -0300)]
ges: Mark GValue in child property setters as const

We can't change the vmethod at this point so just cast. This makes
the API more explicit so it is better in all cases.

5 years agoKeep GESSmartVideoMixer out of the Gir and add geseffectasset.h to ges.h
Thibault Saunier [Wed, 31 Oct 2018 13:38:59 +0000 (10:38 -0300)]
Keep GESSmartVideoMixer out of the Gir and add geseffectasset.h to ges.h

Fixing gstreamer-sys rust bindings.

5 years agoFix the `package` name in the gir to match the `.pc` filename
Thibault Saunier [Wed, 31 Oct 2018 13:06:08 +0000 (10:06 -0300)]
Fix the `package` name in the gir to match the `.pc` filename

5 years agovideo-transition: Port to the new 'operator' API in compositor
Thibault Saunier [Sun, 28 Oct 2018 15:55:23 +0000 (15:55 +0000)]
video-transition: Port to the new 'operator' API in compositor

Now subclassing a ghostpad with an alpha property so that
we can multiply the alpha of the frame positioning meta
and the alpha of that pad, setting it on the compositor pad.

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

5 years agoRevert "video-transition: Make use of the new `compositor::crossfade-ratio` property"
Thibault Saunier [Sun, 28 Oct 2018 15:33:31 +0000 (15:33 +0000)]
Revert "video-transition: Make use of the new `compositor::crossfade-ratio` property"

This reverts commit 57be9b67998bf5fef81a61c645b167c3857ed35b.

5 years agopython: Remove __init__.py
Thibault Saunier [Sun, 28 Oct 2018 13:29:43 +0000 (13:29 +0000)]
python: Remove __init__.py

It is not needed with latest python

5 years agonlecomposition: Add a function that prints stacks as debug info
Thibault Saunier [Sun, 30 Sep 2018 20:44:08 +0000 (17:44 -0300)]
nlecomposition: Add a function that prints stacks as debug info

5 years agopython: Remove debug print
Philippe Normand [Sun, 28 Oct 2018 11:05:38 +0000 (11:05 +0000)]
python: Remove debug print

5 years agoges: Fix compilation with latest GLib
Sebastian Dröge [Mon, 22 Oct 2018 07:13:07 +0000 (08:13 +0100)]
ges: Fix compilation with latest GLib

g_clear_pointer() is now preserving the type of its arguments for the
free function.

ges-xml-formatter.c: In function ‘_dispose’:
ges-xml-formatter.c:1635:7: error: function called through a non-compatible type [-Werror]
       (GDestroyNotify) g_hash_table_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
       (destroy) (_ptr);                                                        \
        ^~~~~~~

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

5 years agomeson: use 'python' module to find python instead of deprecated 'python3' one
Tim-Philipp Müller [Mon, 8 Oct 2018 22:25:21 +0000 (23:25 +0100)]
meson: use 'python' module to find python instead of deprecated 'python3' one

https://github.com/mesonbuild/meson/pull/4169

5 years agoUpdate for g_type_class_add_private() deprecation in recent GLib
Thibault Saunier [Thu, 6 Sep 2018 01:55:02 +0000 (22:55 -0300)]
Update for g_type_class_add_private() deprecation in recent GLib

5 years agoclip: Resync priorities when removing an effect
Thibault Saunier [Thu, 6 Sep 2018 00:49:09 +0000 (21:49 -0300)]
clip: Resync priorities when removing an effect

When removing a top effect in the list of top effects, other
effects priorities need to take that into account to avoid
holes in the indices.

5 years agoges: Check that nle is avalaible when initializing
Thibault Saunier [Fri, 3 Aug 2018 18:02:58 +0000 (14:02 -0400)]
ges: Check that nle is avalaible when initializing

5 years agomeson: Add a feature option for tests
Nirbheek Chauhan [Sat, 1 Sep 2018 06:47:08 +0000 (12:17 +0530)]
meson: Add a feature option for tests

This autodetection is needed on iOS inside Cerbero where
gstreamer-check-1.0 is not available.

5 years agomeson: Maintain macOS ABI through dylib versioning
Nirbheek Chauhan [Fri, 31 Aug 2018 09:14:58 +0000 (14:44 +0530)]
meson: Maintain macOS ABI through dylib versioning

Requires Meson 0.48, but the feature will be ignored on older versions
so it's safe to add it without bumping the requirement.

Documentation:
https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library

5 years agomeson: There is no gstreamer-plugins-good-1.0.pc
Nirbheek Chauhan [Wed, 15 Aug 2018 13:44:30 +0000 (19:14 +0530)]
meson: There is no gstreamer-plugins-good-1.0.pc

There is no installed version of that, only an uninstalled version.

5 years agoformatter: Fix mixup in variable check
Thibault Saunier [Sun, 29 Jul 2018 20:20:50 +0000 (16:20 -0400)]
formatter: Fix mixup in variable check

5 years agoxml-formatter: Bump format version
Thibault Saunier [Sat, 28 Jul 2018 18:29:11 +0000 (14:29 -0400)]
xml-formatter: Bump format version

Previous commit makes the format not forward compat.

5 years agoformatter: Serialize Transition border and invert properties
Thibault Saunier [Sat, 28 Jul 2018 16:16:36 +0000 (12:16 -0400)]
formatter: Serialize Transition border and invert properties

Marking them as children properties and properly allow serializing
clips children properties.

This doesn't handle several TrackElement of a same type with
different property values but this require more worked already
marked as fixme to allow specifying full path of elements in the
children properties API.

See https://gitlab.gnome.org/GNOME/pitivi/issues/1687

5 years agoproject: Compute relocation URIs in missing-uri signal
Thibault Saunier [Sat, 28 Jul 2018 02:11:33 +0000 (22:11 -0400)]
project: Compute relocation URIs in missing-uri signal

Until know we were doing it outside of the signal and subclasses didn't
have a chance to know that some assets was relocated.

This is required so that Pitivi can handle proxy delation and relocated
assets.

Required for https://gitlab.gnome.org/GNOME/pitivi/issues/2203