Sebastian Dröge [Thu, 28 Feb 2019 11:09:38 +0000 (13:09 +0200)]
ges: Link ges plugin to libgstpbutils
/usr/bin/ld: .libs/libgstges_la-gesdemux.o: in function `ges_timeline_new_from_uri_from_main_thread':
./plugins/ges/gesdemux.c:279: undefined reference to `gst_discoverer_new'
/usr/bin/ld: ./plugins/ges/gesdemux.c:288: undefined reference to `gst_discoverer_start'
Tim-Philipp Müller [Tue, 26 Feb 2019 11:59:49 +0000 (11:59 +0000)]
Release 1.15.2
Tim-Philipp Müller [Tue, 26 Feb 2019 14:12:13 +0000 (14:12 +0000)]
examples: add new gessrc example, so sourcefile gets disted
Tim-Philipp Müller [Tue, 26 Feb 2019 13:57:17 +0000 (13:57 +0000)]
plugins: add autotools build for new ges plugin
Thibault Saunier [Thu, 21 Feb 2019 01:11:54 +0000 (22:11 -0300)]
examples: Add an example about using keyframes in python
Seungha Yang [Mon, 11 Feb 2019 09:26:04 +0000 (18:26 +0900)]
ges-meta-container: Fix g-i annotation
ges-meta-container.c:516: Warning: GES: invalid "allow-none" annotation:
only valid for pointer types and out parameters
Nirbheek Chauhan [Tue, 5 Feb 2019 19:00:35 +0000 (00:30 +0530)]
misc: Fix warnings on Cerbero's ancient MinGW
gesdemux.c:297:3: error: value computed is not used [-Werror=unused-value]
Thibault Saunier [Wed, 23 Jan 2019 12:07:58 +0000 (09:07 -0300)]
Fix segfault when adding clips to group outside a timeline
Making sure that objects are inside a timeline before adding/removing them from it
Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/35
Thibault Saunier [Wed, 30 Jan 2019 18:58:33 +0000 (15:58 -0300)]
tests: Fix usage of undefined class
Thibault Saunier [Mon, 28 Jan 2019 22:09:03 +0000 (19:09 -0300)]
launcher: Add options to set tracks restriction caps
Yeongjin Jeong [Sun, 27 Jan 2019 15:55:27 +0000 (00:55 +0900)]
tests: ges: Fix various leak
Yeongjin Jeong [Sat, 26 Jan 2019 10:50:48 +0000 (19:50 +0900)]
layer: Fix asset leak
Yeongjin Jeong [Sat, 26 Jan 2019 07:44:09 +0000 (16:44 +0900)]
effect: Fix string leak
Yeongjin Jeong [Tue, 29 Jan 2019 02:52:43 +0000 (11:52 +0900)]
uri-asset: Implement dispose vmethod for GESUriSourceAsset
... and fix DiscovererStreamInfo leak
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().
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().
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.
Thibault Saunier [Fri, 18 Jan 2019 20:25:11 +0000 (17:25 -0300)]
s/accured/occurred/g
Thibault Saunier [Fri, 18 Jan 2019 20:12:42 +0000 (17:12 -0300)]
xml-formatter: Minor debug enhancement
Thibault Saunier [Fri, 18 Jan 2019 12:52:47 +0000 (09:52 -0300)]
plugins: Add an a gesdemux element to 'demux' serialized timelines
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.
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)
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
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
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
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.
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.
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.
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.
Seungha Yang [Mon, 28 Jan 2019 07:34:15 +0000 (16:34 +0900)]
ges: Print initialize error reasons
Seungha Yang [Mon, 28 Jan 2019 03:19:30 +0000 (12:19 +0900)]
tests: asset: Remove out-of-date comment
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
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.
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.
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.
Corentin Noël [Mon, 21 Jan 2019 13:14:06 +0000 (14:14 +0100)]
timeline: fix two issues in the documentation
Thibault Saunier [Tue, 15 Jan 2019 12:59:59 +0000 (09:59 -0300)]
xml-formatter: Do not forget to serialize clips metadata
Thibault Saunier [Tue, 15 Jan 2019 12:38:14 +0000 (09:38 -0300)]
xml-formatter: Serialize groups metadatas
Seungha Yang [Mon, 14 Jan 2019 15:15:28 +0000 (00:15 +0900)]
uri-asset: Don't leak GstDiscovererInfo
Seungha Yang [Mon, 14 Jan 2019 15:13:24 +0000 (00:13 +0900)]
uri-asset: Impl. dispose vfunc
... and fix GList/GESAsset leak
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
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.
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.
Seungha Yang [Mon, 14 Jan 2019 05:10:32 +0000 (14:10 +0900)]
nleghostpad: Fix GstEvent leak
Seungha Yang [Mon, 14 Jan 2019 03:52:47 +0000 (12:52 +0900)]
nlecomposition: Don't leak GNode
Clear the last node before update
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
Seungha Yang [Mon, 14 Jan 2019 02:34:20 +0000 (11:34 +0900)]
tests: nle: Fix GList leak
Seungha Yang [Sat, 12 Jan 2019 15:12:42 +0000 (00:12 +0900)]
tests: ges: Fix various leak
Seungha Yang [Sat, 12 Jan 2019 13:24:55 +0000 (22:24 +0900)]
asset: Fix various leak
Seungha Yang [Sat, 12 Jan 2019 12:59:20 +0000 (21:59 +0900)]
enums: Add missing unref
Seungha Yang [Sat, 12 Jan 2019 12:52:16 +0000 (21:52 +0900)]
nlecomposition: Clear all members before chaining up to parent on finalize
Seungha Yang [Sat, 12 Jan 2019 12:51:36 +0000 (21:51 +0900)]
structure-parser: Add missig chain up code
Seungha Yang [Sat, 12 Jan 2019 11:53:38 +0000 (20:53 +0900)]
ges: Add missing type unref 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
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.
Seungha Yang [Sat, 12 Jan 2019 10:23:25 +0000 (19:23 +0900)]
asset: Use static lock
The mutex life cycle follows processs.
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.
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
Tim-Philipp Müller [Thu, 17 Jan 2019 02:30:06 +0000 (02:30 +0000)]
Release 1.15.1
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
Thibault Saunier [Mon, 14 Jan 2019 21:30:38 +0000 (18:30 -0300)]
ges: Add a ges_is_initialized function
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
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
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.
Alexandru Băluț [Fri, 4 Jan 2019 23:23:20 +0000 (00:23 +0100)]
ges-meta-container: Fix warning message
Alexandru Băluț [Fri, 4 Jan 2019 04:31:39 +0000 (05:31 +0100)]
ges-meta-container: Minor documentation fixes
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
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
Seungha Yang [Thu, 27 Dec 2018 01:54:28 +0000 (10:54 +0900)]
container: Fix GHashTable leak
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()
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
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
Matthew Waters [Mon, 10 Dec 2018 02:28:16 +0000 (13:28 +1100)]
build: also allow building static libraries for e.g. Android/iOS
Thibault Saunier [Wed, 5 Dec 2018 20:25:04 +0000 (17:25 -0300)]
Automatic update of common submodule
From ed78bee to 59cb678
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.
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
Thibault Saunier [Tue, 27 Nov 2018 15:09:20 +0000 (12:09 -0300)]
track: Fix documentation about "binding_type"
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.
Thibault Saunier [Mon, 26 Nov 2018 18:57:30 +0000 (15:57 -0300)]
meson: Fix the reference to libxml2 path
Thibault Saunier [Mon, 26 Nov 2018 17:50:29 +0000 (14:50 -0300)]
meson: Add a fallback for libxml2
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
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.
Thibault Saunier [Fri, 23 Nov 2018 14:20:00 +0000 (11:20 -0300)]
effect: Consider the "Filter" classification to determine effect media type
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
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.
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
Matthew Waters [Sun, 4 Nov 2018 09:47:01 +0000 (20:47 +1100)]
nle: install pkg-config file for plugin
Corentin Noël [Mon, 5 Nov 2018 10:00:58 +0000 (11:00 +0100)]
timeline-element: Align virtual methods and invokers prototypes
Matthew Waters [Mon, 5 Nov 2018 05:51:47 +0000 (05:51 +0000)]
Update git location to gitlab
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
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.
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.
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
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
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.
Thibault Saunier [Sun, 28 Oct 2018 13:29:43 +0000 (13:29 +0000)]
python: Remove __init__.py
It is not needed with latest python
Thibault Saunier [Sun, 30 Sep 2018 20:44:08 +0000 (17:44 -0300)]
nlecomposition: Add a function that prints stacks as debug info
Philippe Normand [Sun, 28 Oct 2018 11:05:38 +0000 (11:05 +0000)]
python: Remove debug print
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
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