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
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.