platform/upstream/gstreamer.git
5 years agonlesource: Use gst_element_call_async as appropriate
Thibault Saunier [Fri, 15 Mar 2019 21:31:30 +0000 (18:31 -0300)]
nlesource: Use gst_element_call_async as appropriate

5 years agonlesource: Protect seeks from tear down
Thibault Saunier [Fri, 15 Mar 2019 20:07:06 +0000 (17:07 -0300)]
nlesource: Protect seeks from tear down

Otherwise there is a race where we trigger the seek at the exact
same time the composition is being teared down potentially leading
to basesrc restarting its srcpad task which ends up being leaked.

Fixes ges.playback.scrub_backward_seeking.test_title.audio_video.vorbis_theora_ogg
and probably all its friends timeouting with the following stack trace:

     (gdb) t a a bt

     Thread 4 (Thread 0x7f5962acd700 (LWP 19997)):
     #0  0x00007f5976713efd in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
     #1  0x00007f5976a9d3f3 in g_cond_wait (cond=cond@entry=0x7f5938125410, mutex=mutex@entry=0x7f59381253c8) at gthread-posix.c:1402
     #2  0x00007f5976c9e26b in gst_task_func (task=0x7f59381253b0 [GstTask]) at ../subprojects/gstreamer/gst/gsttask.c:313
     #3  0x00007f5976a7ecb3 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
     #4  0x00007f5976a7e2aa in g_thread_proxy (data=0x7f5954071d40) at gthread.c:784
     #5  0x00007f59767ea58e in start_thread (arg=<optimized out>) at pthread_create.c:486
     #6  0x00007f59767196a3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

     Thread 3 (Thread 0x7f5963fff700 (LWP 19995)):
     #0  0x00007f597670e421 in __GI___poll (fds=0xe32da0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
     #1  0x00007f5976a553a6 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0xe32da0, timeout=<optimized out>, context=0xe31ff0) at gmain.c:4221
     #2  0x00007f5976a553a6 in g_main_context_iterate (context=0xe31ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915
     #3  0x00007f5976a55762 in g_main_loop_run (loop=0xe32130) at gmain.c:4116
     #4  0x00007f59768db10a in gdbus_shared_thread_func (user_data=0xe31fc0) at gdbusprivate.c:275
     #5  0x00007f5976a7e2aa in g_thread_proxy (data=0xe1b8a0) at gthread.c:784
     #6  0x00007f59767ea58e in start_thread (arg=<optimized out>) at pthread_create.c:486
     #7  0x00007f59767196a3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

     Thread 2 (Thread 0x7f5968dcc700 (LWP 19994)):
     #0  0x00007f597670e421 in __GI___poll (fds=0xe1bcc0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
     #1  0x00007f5976a553a6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0xe1bcc0, timeout=<optimized out>, context=0xe1b350) at gmain.c:4221
     #2  0x00007f5976a553a6 in g_main_context_iterate (context=context@entry=0xe1b350, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915
     #3  0x00007f5976a554d0 in g_main_context_iteration (context=0xe1b350, may_block=may_block@entry=1) at gmain.c:3981
     #4  0x00007f5976a55521 in glib_worker_main (data=<optimized out>) at gmain.c:5861
     #5  0x00007f5976a7e2aa in g_thread_proxy (data=0xe1b800) at gthread.c:784
     #6  0x00007f59767ea58e in start_thread (arg=<optimized out>) at pthread_create.c:486
     #7  0x00007f59767196a3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

     Thread 1 (Thread 0x7f5975df4fc0 (LWP 19993)):
     #0  0x00007f5976713efd in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
     #1  0x00007f5976a9d3f3 in g_cond_wait (cond=cond@entry=0xe34020, mutex=0xe39b80) at gthread-posix.c:1402
     #2  0x00007f5976a7f41c in g_thread_pool_free (pool=0xe34000, immediate=0, wait_=<optimized out>) at gthreadpool.c:776
     #3  0x00007f5976c9f1ca in default_cleanup (pool=0xe256b0 [GstTaskPool]) at ../subprojects/gstreamer/gst/gsttaskpool.c:89
     #4  0x00007f5976c9e32d in init_klass_pool (klass=<optimized out>) at ../subprojects/gstreamer/gst/gsttask.c:161
     #5  0x00007f5976c9e502 in gst_task_cleanup_all () at ../subprojects/gstreamer/gst/gsttask.c:381
     #6  0x00007f5976c214f4 in gst_deinit () at ../subprojects/gstreamer/gst/gst.c:1095
     #7  0x000000000040394f in main (argc=6, argv=<optimized out>) at ../subprojects/gst-editing-services/tools/ges-launch.c:94

5 years agomeson: Build benchmarks
Thibault Saunier [Fri, 8 Feb 2019 21:26:19 +0000 (18:26 -0300)]
meson: Build benchmarks

5 years agoasset-uri: Create a specific discoverer when discovering sync
Thibault Saunier [Mon, 11 Mar 2019 22:56:09 +0000 (19:56 -0300)]
asset-uri: Create a specific discoverer when discovering sync

To allow 'reintrancy'.

This was a 'regression' introduced in bad64296d9b497a13f5f7fe91d568d85ed236265

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

5 years agoMark ges_timeline_load_from_uri as deprecated
Pat DeSantis [Sat, 23 Feb 2019 01:31:06 +0000 (17:31 -0800)]
Mark ges_timeline_load_from_uri as deprecated

5 years agoUpdate deprecation warning to match GTK style
Pat DeSantis [Thu, 21 Feb 2019 04:17:55 +0000 (20:17 -0800)]
Update deprecation warning to match GTK style

5 years agoMark ges_formatter_save_to_uri as deprecated
Pat DeSantis [Thu, 21 Feb 2019 01:17:14 +0000 (17:17 -0800)]
Mark ges_formatter_save_to_uri as deprecated

5 years agotests: Add inconsistent init/deinit test case
Seungha Yang [Tue, 29 Jan 2019 04:45:49 +0000 (13:45 +0900)]
tests: Add inconsistent init/deinit test case

5 years agoges: Enhance ges_{init/deinit} documentation
Seungha Yang [Mon, 28 Jan 2019 11:45:11 +0000 (20:45 +0900)]
ges: Enhance ges_{init/deinit} documentation

Add some init/deinit related comment and make assertion when
ges_deinit() is called from unexpected thread.

5 years agotests:python: Use proper GES.Project constructor
Thibault Saunier [Wed, 6 Feb 2019 22:49:14 +0000 (19:49 -0300)]
tests:python: Use proper GES.Project constructor

Avoiding a g_critical

5 years agonlecomposition: Suppress error from child during sync state with parent
Seungha Yang [Fri, 8 Feb 2019 04:54:06 +0000 (13:54 +0900)]
nlecomposition: Suppress error from child during sync state with parent

This commit is to ensure cleanup internal elements on state change failure.

nlecomposition posts its own error message after cleanup child.
If we don't suppress child error, meanwhile, an application
triggered downward state change (resulting from child error message)
might be able to reach nlecomposition before internal cleaning child up.
That eventually results to downward state change failure.

5 years agonlesource: Don't leak pending seek event on dispose
Seungha Yang [Tue, 5 Feb 2019 08:29:00 +0000 (17:29 +0900)]
nlesource: Don't leak pending seek event on dispose

5 years agonlecomposition: Don't keep sync state of child on activation failure
Seungha Yang [Fri, 1 Feb 2019 06:37:42 +0000 (15:37 +0900)]
nlecomposition: Don't keep sync state of child on activation failure

This will result in downward state change failure eventually
when user is finalizing top level (i.g., gespipeline) bin.

5 years agoexamples: add gessrc example binary to .gitignore
Tim-Philipp Müller [Mon, 4 Mar 2019 11:09:33 +0000 (11:09 +0000)]
examples: add gessrc example binary to .gitignore

5 years agogesdemux: don't use deprecated gst_uri_construct()
Tim-Philipp Müller [Mon, 4 Mar 2019 11:07:51 +0000 (11:07 +0000)]
gesdemux: don't use deprecated gst_uri_construct()

Fixes #64

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

5 years agoges: Link ges plugin to libgstpbutils
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'

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

5 years agoexamples: add new gessrc example, so sourcefile gets disted
Tim-Philipp Müller [Tue, 26 Feb 2019 14:12:13 +0000 (14:12 +0000)]
examples: add new gessrc example, so sourcefile gets disted

5 years agoplugins: add autotools build for new ges plugin
Tim-Philipp Müller [Tue, 26 Feb 2019 13:57:17 +0000 (13:57 +0000)]
plugins: add autotools build for new ges plugin

5 years agoexamples: Add an example about using keyframes in python
Thibault Saunier [Thu, 21 Feb 2019 01:11:54 +0000 (22:11 -0300)]
examples: Add an example about using keyframes in python

5 years agoges-meta-container: Fix g-i annotation
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

5 years agomisc: Fix warnings on Cerbero's ancient MinGW
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]

5 years agoFix segfault when adding clips to group outside a timeline
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

5 years agotests: Fix usage of undefined class
Thibault Saunier [Wed, 30 Jan 2019 18:58:33 +0000 (15:58 -0300)]
tests: Fix usage of undefined class

5 years agolauncher: Add options to set tracks restriction caps
Thibault Saunier [Mon, 28 Jan 2019 22:09:03 +0000 (19:09 -0300)]
launcher: Add options to set tracks restriction caps

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