platform/upstream/gst-editing-services.git
9 years agocomposition: Use a GstPad task to run the update pipeline thread
Thibault Saunier [Fri, 27 Jun 2014 10:15:10 +0000 (12:15 +0200)]
composition: Use a GstPad task to run the update pipeline thread

9 years agognlcomposition: Factor out code to deactivate old stack and activate new one
Thibault Saunier [Thu, 26 Jun 2014 21:48:09 +0000 (23:48 +0200)]
gnlcomposition: Factor out code to deactivate old stack and activate new one

9 years agocomposition: Avoid looping using gotos
Thibault Saunier [Thu, 26 Jun 2014 17:00:03 +0000 (19:00 +0200)]
composition: Avoid looping using gotos

9 years agognlcomposition: Use the new _object_block_and_drop_data where appropriate
Thibault Saunier [Thu, 26 Jun 2014 16:41:48 +0000 (18:41 +0200)]
gnlcomposition: Use the new _object_block_and_drop_data where appropriate

Renaming block_object_src_pad to _object_block_and_drop_data

9 years agognlcomposition: factor out some functions
Thibault Saunier [Wed, 25 Jun 2014 17:39:29 +0000 (19:39 +0200)]
gnlcomposition: factor out some functions

9 years agognlcomposition: Factor out the condition of _parent_or_priority_changed
Thibault Saunier [Wed, 25 Jun 2014 17:18:29 +0000 (19:18 +0200)]
gnlcomposition: Factor out the condition of _parent_or_priority_changed

9 years agognlcomposition: Add a function to block object source pad
Thibault Saunier [Wed, 25 Jun 2014 17:17:55 +0000 (19:17 +0200)]
gnlcomposition: Add a function to block object source pad

9 years agognl: Add the srcpad directly to GnlObject
Mathieu Duponchelle [Tue, 24 Jun 2014 11:44:13 +0000 (13:44 +0200)]
gnl: Add the srcpad directly to GnlObject

Starting from now we will not claim that we support GnlObject that have
several source pads as this is
1- Not true at all;
2- the design of priorities in the GnlComposition tree does not allow that;
3- Not very useful in most of the cases and it complexifies quite a lot the code
   in the composition.

Conflicts:
configure.ac
tests/check/Makefile.am

9 years agoRevert "gnlobject: Commit object in READY_TO_PAUSED"
Thibault Saunier [Wed, 25 Jun 2014 13:35:08 +0000 (15:35 +0200)]
Revert "gnlobject: Commit object in READY_TO_PAUSED"

This causes races when seeking, reverting for now even if we will
probably want to bring something like that back.

This reverts commit 3549e745a8f0de3977b83c60e9b447afaf55d8a0.

9 years agognlsource: remove useless "controls_one" field.
Mathieu Duponchelle [Tue, 24 Jun 2014 10:52:24 +0000 (12:52 +0200)]
gnlsource: remove useless "controls_one" field.

9 years agoImport GNL from 978332e7c4c3bba1949421d28b492540ab471450 'Release 1.4.0'
Thibault Saunier [Tue, 21 Oct 2014 08:35:48 +0000 (10:35 +0200)]
Import GNL from 978332e7c4c3bba1949421d28b492540ab471450 'Release 1.4.0'

9 years agotests: timelineedition: Init GES once at the beginning.
Thibault Saunier [Fri, 15 Aug 2014 16:02:36 +0000 (18:02 +0200)]
tests: timelineedition: Init GES once at the beginning.

Avoiding to forget to init in a particular test and failling stupidly

9 years agotest: backgroundsource: Disable tests that rely on nlecomposition internals
Thibault Saunier [Fri, 15 Aug 2014 16:00:24 +0000 (18:00 +0200)]
test: backgroundsource: Disable tests that rely on nlecomposition internals

We can't rely on that, in particular now that it does not actually
add its children all the time but only when it is needed (and that
it has an internal bin where actual things happen).

9 years agotimeline: Add a method to retrieve a pad from a track
Thibault Saunier [Wed, 13 Aug 2014 11:15:02 +0000 (13:15 +0200)]
timeline: Add a method to retrieve a pad from a track

It allows user to easily get the proxied pad from a track.

API:
  + ges_timeline_get_pad_for_track

9 years agotools:launcher: Avoid commiting when we are not done loading the timeline
Thibault Saunier [Mon, 28 Jul 2014 13:26:18 +0000 (15:26 +0200)]
tools:launcher: Avoid commiting when we are not done loading the timeline

9 years agoges: Use the new GNL element message feature to notify async operations
Thibault Saunier [Fri, 25 Jul 2014 22:31:32 +0000 (00:31 +0200)]
ges: Use the new GNL element message feature to notify async operations

9 years agoxml-formatter: message-forward is not something that should be parsed.
Mathieu Duponchelle [Thu, 24 Jul 2014 15:55:35 +0000 (17:55 +0200)]
xml-formatter: message-forward is not something that should be parsed.

9 years agotimeline: handle async start
Mathieu Duponchelle [Fri, 25 Jul 2014 12:47:07 +0000 (14:47 +0200)]
timeline: handle async start

9 years agotests: implement our validate TestManager.
Mathieu Duponchelle [Thu, 23 Oct 2014 19:46:04 +0000 (21:46 +0200)]
tests: implement our validate TestManager.

And make sure it installs alongside the other validate apps.

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

9 years agosmart-video-mixer: unref pads_info hash table in dispose
Tim-Philipp Müller [Thu, 30 Oct 2014 15:54:04 +0000 (15:54 +0000)]
smart-video-mixer: unref pads_info hash table in dispose

Before gst_bin_dispose() runs and destroys elements.

9 years agosmart-adder: fix crash in unit test
Tim-Philipp Müller [Thu, 30 Oct 2014 15:20:18 +0000 (15:20 +0000)]
smart-adder: fix crash in unit test

Unref pads_info hash table in dispose instead of
finalize, i.e. before gst_bin_dispose runs and
destroys pads_info->bin (to which the pads_info
does not hold a ref).

9 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 27 Oct 2014 17:01:56 +0000 (18:01 +0100)]
Automatic update of common submodule

From 84d06cd to 7bb2bce

9 years agotrack: fix indentation
Tim-Philipp Müller [Sun, 26 Oct 2014 20:36:22 +0000 (20:36 +0000)]
track: fix indentation

9 years agotimeline-element: don't leak name string
Tim-Philipp Müller [Sun, 26 Oct 2014 20:35:30 +0000 (20:35 +0000)]
timeline-element: don't leak name string

9 years agotimeline: fix mutex and all_elements hash table leaks
Tim-Philipp Müller [Sun, 26 Oct 2014 20:34:29 +0000 (20:34 +0000)]
timeline: fix mutex and all_elements hash table leaks

9 years agotimeline: free tracks obtained via select-tracks-for-object signal
Tim-Philipp Müller [Sun, 26 Oct 2014 20:33:50 +0000 (20:33 +0000)]
timeline: free tracks obtained via select-tracks-for-object signal

9 years agotimeline: free track elements list
Tim-Philipp Müller [Sun, 26 Oct 2014 20:32:41 +0000 (20:32 +0000)]
timeline: free track elements list

9 years agovideo-test-source: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:31:40 +0000 (20:31 +0000)]
video-test-source: fix caps leak

9 years agoframepositionner: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:31:26 +0000 (20:31 +0000)]
framepositionner: fix caps leak

9 years agoaudiotrack: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:31:08 +0000 (20:31 +0000)]
audiotrack: fix caps leak

9 years agovideotrack: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:30:53 +0000 (20:30 +0000)]
videotrack: fix caps leak

9 years agotrack: don't leak restriction caps
Tim-Philipp Müller [Sun, 26 Oct 2014 20:30:29 +0000 (20:30 +0000)]
track: don't leak restriction caps

9 years agosmart-adder: don't leak pads_infos hash table
Tim-Philipp Müller [Sun, 26 Oct 2014 20:29:06 +0000 (20:29 +0000)]
smart-adder: don't leak pads_infos hash table

9 years agosmart-video-mixer: don't leak pads_infos hash table
Tim-Philipp Müller [Sun, 26 Oct 2014 20:28:09 +0000 (20:28 +0000)]
smart-video-mixer: don't leak pads_infos hash table

9 years agoproject: fix string leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:27:17 +0000 (20:27 +0000)]
project: fix string leak

9 years agometacontainer: don't leak GValue contents
Tim-Philipp Müller [Sun, 26 Oct 2014 20:25:46 +0000 (20:25 +0000)]
metacontainer: don't leak GValue contents

9 years agotests: don't leak clips list in basic unit test
Tim-Philipp Müller [Sun, 26 Oct 2014 20:24:09 +0000 (20:24 +0000)]
tests: don't leak clips list in basic unit test

9 years agoParallelise 'make check-valgrind'
Tim-Philipp Müller [Sun, 26 Oct 2014 20:23:26 +0000 (20:23 +0000)]
Parallelise 'make check-valgrind'

9 years agoges-validate: issues naming have changed.
Mathieu Duponchelle [Wed, 22 Oct 2014 12:15:11 +0000 (14:15 +0200)]
ges-validate: issues naming have changed.

Update the override.

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 21 Oct 2014 12:04:26 +0000 (13:04 +0100)]
Automatic update of common submodule

From a8c8939 to 84d06cd

9 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 21 Oct 2014 11:01:04 +0000 (13:01 +0200)]
Automatic update of common submodule

From 36388a1 to a8c8939

9 years agoBack to development
Thibault Saunier [Mon, 20 Oct 2014 11:37:25 +0000 (13:37 +0200)]
Back to development

9 years agoRelease 1.4.0
Thibault Saunier [Mon, 20 Oct 2014 09:56:36 +0000 (11:56 +0200)]
Release 1.4.0

9 years agovalidate: Fix naming of add_action_type to register_action_type
Thibault Saunier [Thu, 16 Oct 2014 12:18:16 +0000 (14:18 +0200)]
validate: Fix naming of add_action_type to register_action_type

That function was just renamed in Validate

9 years agovalidate: Rename --list-action-types to --inspect-action-type
Thibault Saunier [Sun, 12 Oct 2014 17:46:59 +0000 (19:46 +0200)]
validate: Rename --list-action-types to --inspect-action-type

Making clearer the meaning of the parameter and closer to
the usual naming in the GStreamer land.

9 years agoRelease 1.3.90
Thibault Saunier [Wed, 24 Sep 2014 09:07:40 +0000 (11:07 +0200)]
Release 1.3.90

9 years agoconfigure: bump (soft) gst-validate requirement
Tim-Philipp Müller [Sat, 13 Sep 2014 15:16:15 +0000 (16:16 +0100)]
configure: bump (soft) gst-validate requirement

Won't build against all older git versions with
0.0.1.0 as version number.

9 years agoges-launch: option to select encoding profile from xml
Lubosz Sarnecki [Sun, 20 Jul 2014 09:47:18 +0000 (11:47 +0200)]
ges-launch: option to select encoding profile from xml

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

9 years agoges-launch: clean up help page
Lubosz Sarnecki [Sun, 20 Jul 2014 09:47:56 +0000 (11:47 +0200)]
ges-launch: clean up help page

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

9 years agovalidate: gst_validate_print_action_types now takes a const gchar **
Thibault Saunier [Fri, 5 Sep 2014 21:14:10 +0000 (23:14 +0200)]
validate: gst_validate_print_action_types now takes a const gchar **

9 years agovalidate: Add the "ges" as implementer namespace for our action types
Thibault Saunier [Fri, 5 Sep 2014 21:08:41 +0000 (23:08 +0200)]
validate: Add the "ges" as implementer namespace for our action types

9 years agoges-launch: Fix typo in --help output
Sebastian Dröge [Fri, 5 Sep 2014 19:09:44 +0000 (22:09 +0300)]
ges-launch: Fix typo in --help output

9 years agoges-launch: Fix compiler warnings
Sebastian Dröge [Fri, 5 Sep 2014 19:08:49 +0000 (22:08 +0300)]
ges-launch: Fix compiler warnings

ges_validate_print_action_types() takes a const gchar **.

9 years agoges-validate: Rename edit-clip to edit-container
Thibault Saunier [Fri, 22 Aug 2014 19:02:58 +0000 (21:02 +0200)]
ges-validate: Rename edit-clip to edit-container

So it represent better what the action does at the GES level

9 years agoges-validate: Port to the new GstValidate action registration API
Thibault Saunier [Fri, 22 Aug 2014 19:01:07 +0000 (21:01 +0200)]
ges-validate: Port to the new GstValidate action registration API

9 years agotools:validate: Concider seek in PAUSED position being not exact as WARNING
Thibault Saunier [Thu, 24 Jul 2014 17:03:50 +0000 (19:03 +0200)]
tools:validate: Concider seek in PAUSED position being not exact as WARNING

In some corner cases in GNL it is totally correct that a position in a
seek in paused is not perfectly exact

9 years agoges-validate: Let GstValidate handle assert logs
Thibault Saunier [Fri, 8 Aug 2014 08:41:48 +0000 (10:41 +0200)]
ges-validate: Let GstValidate handle assert logs

9 years agoges:validate: Port to the new handles-states API
Thibault Saunier [Sun, 27 Jul 2014 13:42:42 +0000 (15:42 +0200)]
ges:validate: Port to the new handles-states API

9 years agoMakefile: Add usage of build-checks step
Edward Hervey [Fri, 1 Aug 2014 08:44:57 +0000 (10:44 +0200)]
Makefile: Add usage of build-checks step

Allows building checks without running them

10 years agotext-overlay: added text properties as child-properties
Lazar Claudiu [Thu, 24 Jul 2014 10:23:36 +0000 (13:23 +0300)]
text-overlay: added text properties as child-properties

10 years agoges: Use registry to select the compositor element
Thibault Saunier [Mon, 16 Jun 2014 09:38:29 +0000 (11:38 +0200)]
ges: Use registry to select the compositor element

10 years agoxml-formatter: Set errno to 0 before g_ascii_strtoll.
Mathieu Duponchelle [Fri, 18 Jul 2014 16:27:20 +0000 (18:27 +0200)]
xml-formatter: Set errno to 0 before g_ascii_strtoll.

10 years agosmart-video-mixer: fix memory leak on error path
Vincent Penquerc'h [Thu, 12 Jun 2014 08:51:02 +0000 (09:51 +0100)]
smart-video-mixer: fix memory leak on error path

Coverity 1212166

10 years agotrackelement: Sort paramspec by name in list_children_properties
Thibault Saunier [Thu, 20 Mar 2014 16:04:31 +0000 (17:04 +0100)]
trackelement: Sort paramspec by name in list_children_properties

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

10 years agotools: Fix transition handling in ges-launch
Thibault Saunier [Fri, 6 Jun 2014 10:08:47 +0000 (12:08 +0200)]
tools: Fix transition handling in ges-launch

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

10 years agoclip: Fix the ges_clip_set_position function
Thibault Saunier [Thu, 5 Jun 2014 02:20:15 +0000 (04:20 +0200)]
clip: Fix the ges_clip_set_position function

And enhance the new test

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

10 years agoclip: Rename top_effect_index to top_effect_index
Thibault Saunier [Thu, 5 Jun 2014 02:05:06 +0000 (04:05 +0200)]
clip: Rename top_effect_index to top_effect_index

Keeping the old method to not break the API but removing it from the
documentation as users should use the new method (which is the exact
same with a better naming)

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

10 years agotests: Check ges_clip_set_position behaviour
Thibault Saunier [Thu, 5 Jun 2014 01:48:12 +0000 (03:48 +0200)]
tests: Check ges_clip_set_position behaviour

+ Minor fix to handle properly the feature when clip is not in any layer

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

10 years agoclip: Add test for effects priorities
Alexandru Băluț [Wed, 4 Jun 2014 21:16:42 +0000 (23:16 +0200)]
clip: Add test for effects priorities

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

10 years agopipeline: Add support to rendering without container
Thibault Saunier [Thu, 5 Jun 2014 00:16:01 +0000 (02:16 +0200)]
pipeline: Add support to rendering without container

+ Simplify the support in ges-launch as we should not require the
profile desc to start with : in that case

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

10 years agoFix invalid GEnumValue.value_name entries.
Christoph Reiter [Sat, 24 May 2014 17:16:12 +0000 (19:16 +0200)]
Fix invalid GEnumValue.value_name entries.

This makes the enum entries in the gir have valid c:identifiers and documentation.

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

10 years agoges-track: fill the gaps left empty by deactivated track elements.
Mathieu Duponchelle [Tue, 3 Jun 2014 15:53:23 +0000 (17:53 +0200)]
ges-track: fill the gaps left empty by deactivated track elements.

10 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 May 2014 08:54:19 +0000 (10:54 +0200)]
Automatic update of common submodule

From 211fa5f to 1f5d3c3

10 years agoges:clip: Add a method to look for a list of TrackElement-s
Thibault Saunier [Mon, 19 May 2014 10:21:52 +0000 (12:21 +0200)]
ges:clip: Add a method to look for a list of TrackElement-s

+ Add unit tests to check it works properly.

API:
  + ges_clip_find_track_elements

10 years agotools: Handle request state changes from GstValidate
Thibault Saunier [Sun, 18 May 2014 16:34:26 +0000 (18:34 +0200)]
tools: Handle request state changes from GstValidate

10 years agoges: Do not forget to update the count when updating already used name
Thibault Saunier [Thu, 15 May 2014 18:44:35 +0000 (20:44 +0200)]
ges: Do not forget to update the count when updating already used name

That could still lead to naming conflicts

10 years agoges: Add a queue after the decoder in video test src
Thibault Saunier [Thu, 15 May 2014 17:37:05 +0000 (19:37 +0200)]
ges: Add a queue after the decoder in video test src

10 years agoges: Avoid GESTimelineElement naming conflicts
Thibault Saunier [Wed, 14 May 2014 20:06:55 +0000 (22:06 +0200)]
ges: Avoid GESTimelineElement naming conflicts

When users (can be formatters) set timeline element names in the
default 'namespace' we need to update our counter to avoid setting
twice the same name on TimelineElements so afterward there is no
problem adding them in the GESTimeline

+ add a testcase to check that new code and fix leaks on the
existing testcases.

+ Sensibly enhance debugs

10 years agoxml-formatter: Don't leak children_props
Edward Hervey [Tue, 13 May 2014 12:30:39 +0000 (14:30 +0200)]
xml-formatter: Don't leak children_props

By going through the cleanup code-path

CID #1212146

10 years agoges: Do not use freed pointers
Thibault Saunier [Sat, 10 May 2014 20:52:18 +0000 (22:52 +0200)]
ges: Do not use freed pointers

COVERTY CID 1212182
COVERTY CID 1212184
COVERTY CID 1212185

10 years agoges: Plug a leak in ges-smart-adder
Thibault Saunier [Sat, 10 May 2014 20:48:12 +0000 (22:48 +0200)]
ges: Plug a leak in ges-smart-adder

COVERTY CID 1212166

10 years agoges-xml-formatter: fix memory leak
Thibault Saunier [Sat, 10 May 2014 20:45:34 +0000 (22:45 +0200)]
ges-xml-formatter: fix memory leak

COVERTY CID 1212148

10 years agoges-xml-formatter: fix memory leak in error path
Thibault Saunier [Sat, 10 May 2014 20:41:23 +0000 (22:41 +0200)]
ges-xml-formatter: fix memory leak in error path

COVERITY CID 1212147

10 years agoges: Assert if an asset is not in the global hashtable
Thibault Saunier [Sat, 10 May 2014 20:38:21 +0000 (22:38 +0200)]
ges: Assert if an asset is not in the global hashtable

COVERITY CID 1151679

10 years agoges: Remove useless pointer assignement
Thibault Saunier [Sat, 10 May 2014 20:33:15 +0000 (22:33 +0200)]
ges: Remove useless pointer assignement

COVERITY CID: 1139442

10 years agoges: Remove useless pointer assignement
Thibault Saunier [Sat, 10 May 2014 20:30:00 +0000 (22:30 +0200)]
ges: Remove useless pointer assignement

COVERITY CID: 1139941

10 years agoges: Add license header in ges-meta-container
Thibault Saunier [Sat, 10 May 2014 20:28:01 +0000 (22:28 +0200)]
ges: Add license header in ges-meta-container

10 years agoges: remove comparison of unsigned inferior to 0
Thibault Saunier [Sat, 10 May 2014 20:09:31 +0000 (22:09 +0200)]
ges: remove comparison of unsigned inferior to 0

COVERITY CID 1139769

10 years agoges-xml-formatter: fix memory leak in error path
Tim-Philipp Müller [Fri, 9 May 2014 12:00:32 +0000 (13:00 +0100)]
ges-xml-formatter: fix memory leak in error path

CID 1212146

10 years agotool: Add the option to set audiosink
Thibault Saunier [Thu, 8 May 2014 15:21:33 +0000 (17:21 +0200)]
tool: Add the option to set audiosink

And use gst_parse_bin_from_description to create the sinks letting more
control to users.

10 years agoscenarios: update the prototype of ges_validate_activate
Mathieu Duponchelle [Thu, 8 May 2014 15:11:54 +0000 (17:11 +0200)]
scenarios: update the prototype of ges_validate_activate

if validate is not present.

10 years agoges-launch: add an option to use a custom video sink
Mathieu Duponchelle [Thu, 8 May 2014 12:12:11 +0000 (14:12 +0200)]
ges-launch: add an option to use a custom video sink

10 years agovalidate: make sure we release our ref when we get_timeline.
Mathieu Duponchelle [Wed, 7 May 2014 23:38:26 +0000 (01:38 +0200)]
validate: make sure we release our ref when we get_timeline.

Conflicts:
tools/ges-validate.c

10 years agoscenarios: Check priority before creating a layer.
Mathieu Duponchelle [Wed, 7 May 2014 23:15:42 +0000 (01:15 +0200)]
scenarios: Check priority before creating a layer.

10 years agoges-launch: Make it so actions are executed directly when needed.
Mathieu Duponchelle [Tue, 6 May 2014 13:32:18 +0000 (15:32 +0200)]
ges-launch: Make it so actions are executed directly when needed.

10 years agovalidate: implement remove / add clip actions
Mathieu Duponchelle [Fri, 2 May 2014 15:11:24 +0000 (17:11 +0200)]
validate: implement remove / add clip actions

And a helper to get a layer by priority

10 years agotimeline-element: return TRUE in _set_name when both names match.
Mathieu Duponchelle [Fri, 2 May 2014 14:48:46 +0000 (16:48 +0200)]
timeline-element: return TRUE in _set_name when both names match.

10 years agoges-launch: Only create a layer if needed.
Mathieu Duponchelle [Fri, 2 May 2014 12:17:07 +0000 (14:17 +0200)]
ges-launch: Only create a layer if needed.

That way scenarios can start with an empty timeline

10 years agovalidate: Add add-layer and remove-layer
Mathieu Duponchelle [Fri, 2 May 2014 11:37:04 +0000 (13:37 +0200)]
validate: Add add-layer and remove-layer

10 years agoscenarios: add a remove-asset action
Mathieu Duponchelle [Wed, 7 May 2014 23:13:02 +0000 (01:13 +0200)]
scenarios: add a remove-asset action