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
Thibault Saunier [Thu, 6 Sep 2018 01:55:02 +0000 (22:55 -0300)]
Update for g_type_class_add_private() deprecation in recent GLib
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.
Thibault Saunier [Fri, 3 Aug 2018 18:02:58 +0000 (14:02 -0400)]
ges: Check that nle is avalaible when initializing
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.
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
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.
Thibault Saunier [Sun, 29 Jul 2018 20:20:50 +0000 (16:20 -0400)]
formatter: Fix mixup in variable check
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.
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
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
Nirbheek Chauhan [Wed, 25 Jul 2018 11:50:02 +0000 (17:20 +0530)]
meson: Convert common options to feature options
The remaining automagic options are in tests and examples.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
Thibault Saunier [Mon, 23 Jul 2018 04:07:07 +0000 (00:07 -0400)]
validate: Let testsuites define scenarios path
The code was not taking into account the fact that testsuite could be
located in a different folder that the default one.
Now the testsuite is responsible for providing a path if it wants
to set extra scenarios or the user can set one by hand.
Thibault Saunier [Sat, 14 Jul 2018 13:00:51 +0000 (09:00 -0400)]
pitivi-formatter: Do not g_file_test on a NULL pointer
Thibault Saunier [Wed, 18 Jul 2018 16:38:04 +0000 (12:38 -0400)]
nlecomposition: Rename outside_segment to seek_segment
This segment is representing the last seek received
inside the composition. Or a simply initialized segment
if need seek occurred.
Thibault Saunier [Wed, 18 Jul 2018 16:52:59 +0000 (12:52 -0400)]
tests: Minor assertion enahncements
Thibault Saunier [Thu, 19 Jul 2018 14:55:31 +0000 (10:55 -0400)]
project: Do not emit 'error-loading-asset' when we are trying to update the ID
Thibault Saunier [Fri, 20 Jul 2018 02:06:54 +0000 (22:06 -0400)]
validate: Handle scenario only based tests
Meaning tests that do not need project at all
Thibault Saunier [Thu, 12 Jul 2018 17:53:44 +0000 (13:53 -0400)]
track: Set restriction caps when update_restriction before caps being set
And stop leaking intermediary restriction caps.
https://bugzilla.gnome.org/show_bug.cgi?id=796802
Thibault Saunier [Sun, 8 Jul 2018 20:09:46 +0000 (16:09 -0400)]
python:overrides: Remove spurious print
Thibault Saunier [Sun, 8 Jul 2018 14:36:36 +0000 (10:36 -0400)]
python: Fix GES.Timelineset_child_property
Implementing it in the overrides as PyGObject won't be able to properly
convert python values to GValues in some cases. Using
g_object_set_property works as some logic is implemented inside
PyGObject for that particular case. This is a "regression" due
to https://bugzilla.gnome.org/review?bug=769789&attachment=348766 were
we end up with an OverflowError while setting G_TYPE_UINT children
properties.
Bastian Köcher [Sun, 1 Apr 2018 14:22:16 +0000 (16:22 +0200)]
meson: fix install dir for configure files
Nixos configures a custom includedir.
https://bugzilla.gnome.org/show_bug.cgi?id=794856
Thibault Saunier [Sun, 1 Jul 2018 20:22:24 +0000 (16:22 -0400)]
Set GLib log domain to GES
Thibault Saunier [Sun, 1 Jul 2018 16:21:54 +0000 (12:21 -0400)]
group: Handle clips that get readded to a layer and inside a group
Mathieu Duponchelle [Tue, 26 Jun 2018 14:21:22 +0000 (16:21 +0200)]
asset: documentation fix
Thibault Saunier [Fri, 15 Jun 2018 20:49:55 +0000 (16:49 -0400)]
tests: Use gst-validate-launcher to run python tests
Thibault Saunier [Thu, 14 Jun 2018 21:07:10 +0000 (17:07 -0400)]
meson: Rename the gtkdoc option to gtk_doc
This is what other modules use
Tim-Philipp Müller [Sun, 20 May 2018 22:48:39 +0000 (23:48 +0100)]
examples: override -Werror
Don't want to error out on deprecated API warnings and such.
Just drop -Werror for the examples until someone updates them
to recent gtk3 API. Maybe showing the warnings will motivate
someone.
https://bugzilla.gnome.org/show_bug.cgi?id=796243
Tim-Philipp Müller [Sun, 20 May 2018 22:47:14 +0000 (23:47 +0100)]
examples: always build against gtk3
Drop gtk2 option.
https://bugzilla.gnome.org/show_bug.cgi?id=796243
Tim-Philipp Müller [Sun, 20 May 2018 22:46:42 +0000 (23:46 +0100)]
examples: ges-ui: fix some gtk2-ism
Still lots of deprecated API to update.
https://bugzilla.gnome.org/show_bug.cgi?id=796243
Thibault Saunier [Mon, 14 May 2018 01:12:35 +0000 (21:12 -0400)]
clip: Make sure to never snap when splitting clips
It makes no sense to snap in that context.
https://gitlab.gnome.org/GNOME/pitivi/issues/2193
Thibault Saunier [Sun, 13 May 2018 20:37:08 +0000 (16:37 -0400)]
validate: Run IQA tests when possible
Meaning that a reference file has to be present on disk with a
`.expected_result` extension.
Thibault Saunier [Fri, 20 Apr 2018 20:56:15 +0000 (17:56 -0300)]
validate: Stop forcing I420 in profiles restriction caps
This was a workaround for encoders bad behavior in the reconfigure case.
https://bugzilla.gnome.org/show_bug.cgi?id=795420
Nirbheek Chauhan [Sat, 5 May 2018 14:04:14 +0000 (19:34 +0530)]
meson: Update option names to omit disable_ and with- prefixes
Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.
Tim-Philipp Müller [Wed, 25 Apr 2018 10:01:01 +0000 (11:01 +0100)]
meson: use -Wl,-Bsymbolic-functions where supported
Just like the autotools build.
Thibault Saunier [Fri, 20 Apr 2018 21:45:19 +0000 (18:45 -0300)]
pipeline: Properly error out when linking fails
In the rendering case we were getting random issues and often the
pipeline was not be able to preroll as some pad were not linked inside
encodebin.
https://bugzilla.gnome.org/show_bug.cgi?id=795422
Thibault Saunier [Fri, 20 Apr 2018 20:54:12 +0000 (17:54 -0300)]
track-element: Fix the way we look for properties on simple elements
Refactor so that the same code is used to add children properties from
bin children and when inspecting a single element.
Thibault Saunier [Fri, 20 Apr 2018 20:36:55 +0000 (17:36 -0300)]
pipeline: Update caps only when rendering as comment suggests
We used to update caps for any more because of missing brackets.
Thibault Saunier [Fri, 20 Apr 2018 20:35:06 +0000 (17:35 -0300)]
effect: Allow setting properties on any element specified by the user
Those are the elements he cares about and we should expose their APIs
as is, event if they are not classified as effects. For example if
the user want to use a capsfilter as effect, he should be able to set
its caps.
Thibault Saunier [Fri, 20 Apr 2018 20:34:17 +0000 (17:34 -0300)]
xml-formatter: Print error if an effect can't be set when deserializing
Tim-Philipp Müller [Mon, 16 Apr 2018 09:53:57 +0000 (10:53 +0100)]
Automatic update of common submodule
From 3fa2c9e to ed78bee
Thibault Saunier [Sat, 31 Mar 2018 16:39:54 +0000 (13:39 -0300)]
Deprecate ges_layer_set_priority
Keep old behaviour but deprecate the method and property as
ges_timeline_move_layer should be used instead.
Thibault Saunier [Sat, 12 Dec 2015 11:29:50 +0000 (11:29 +0000)]
timeline: Add a method to move layers around
summary_:
This way the timeline can handle all priorities for the user
making the API simpler to use.
API:
+ ges_timeline_move_layer
reviewers_: Mathieu_Du
Differential Revision: https://phabricator.freedesktop.org/D232
Thibault Saunier [Sat, 31 Mar 2018 14:24:23 +0000 (11:24 -0300)]
timeline-element: Fix ABI breakage
New fields in structure should be added in place of the padding
Thibault Saunier [Sat, 31 Mar 2018 13:38:19 +0000 (10:38 -0300)]
docs: Move timeline related doc to the timeline section
It wrongly was in the layers
Thibault Saunier [Fri, 30 Mar 2018 21:17:13 +0000 (18:17 -0300)]
ges-launcher: Add support for titles
Thibault Saunier [Fri, 30 Mar 2018 20:41:49 +0000 (17:41 -0300)]
command-line-formatter: Refactor to generate the documentation automatically
https://bugzilla.gnome.org/show_bug.cgi?id=794837
Thibault Saunier [Mon, 26 Mar 2018 15:13:25 +0000 (12:13 -0300)]
ges: Update the media-duration-factor each time a child property is set
Otherwise the changes won't be reflected in the NLE backend.
This makes speed changes working inside ges-launch-1.0
ges-launch-1.0 +clip /path/to/file i=10 d=5 +effect videorate set-rate 5.0
https://bugzilla.gnome.org/show_bug.cgi?id=794699
Suhas Nayak [Mon, 26 Mar 2018 13:26:03 +0000 (18:56 +0530)]
ges: Register videorate::rate as a rate changing property
https://bugzilla.gnome.org/show_bug.cgi?id=794699
Tim-Philipp Müller [Tue, 20 Mar 2018 10:24:35 +0000 (10:24 +0000)]
Back to development
Tim-Philipp Müller [Mon, 19 Mar 2018 20:28:10 +0000 (20:28 +0000)]
Release 1.14.0
Thibault Saunier [Mon, 19 Mar 2018 11:57:47 +0000 (08:57 -0300)]
doc: Remove documentation about GESVideoSource::zorder as it doesn't exist
The zorder is controled through the GESLayer priority API, not directly
on the sources.
Thibault Saunier [Sun, 18 Mar 2018 14:03:00 +0000 (11:03 -0300)]
clip: Make sure to create transition after a clip is splitted
In the (now tested) scenario where we have a transition on the right
side of a clip we are splitting, auto transitions can't be created
because we resize the clip after adding the new one, meaning that
there are 3 elements in the "transition zone", we need to force
auto transition creation after the splitting.
Fixes https://gitlab.gnome.org/GNOME/pitivi/issues/2142
Thibault Saunier [Wed, 14 Mar 2018 23:59:04 +0000 (20:59 -0300)]
group: Handle clips being removed from their layers
Tim-Philipp Müller [Tue, 13 Mar 2018 19:29:44 +0000 (19:29 +0000)]
Release 1.13.91
Tim-Philipp Müller [Tue, 13 Mar 2018 14:14:57 +0000 (14:14 +0000)]
GST_GES_API -> GES_API
Tim-Philipp Müller [Tue, 13 Mar 2018 13:45:24 +0000 (13:45 +0000)]
ges: GST_EXPORT -> GST_GES_API
We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.
Thibault Saunier [Sun, 11 Mar 2018 14:13:05 +0000 (11:13 -0300)]
clip: Snapping should happen with one and only one TrackElement
This was leading to clip with TrackElements that were not at the
same position in their container, and weird bugs, see:
https://gitlab.gnome.org/GNOME/pitivi/issues/2133
Tim-Philipp Müller [Sat, 3 Mar 2018 23:09:36 +0000 (23:09 +0000)]
Release 1.13.90
Harish Fulara [Sun, 25 Feb 2018 22:31:33 +0000 (04:01 +0530)]
Added paste functionality to GESTimeline class
https://bugzilla.gnome.org/show_bug.cgi?id=793820
Mathieu Duponchelle [Thu, 1 Mar 2018 17:56:05 +0000 (18:56 +0100)]
meson: enable more warnings