platform/upstream/gst-editing-services.git
9 years agonle: Stop wrongly set operation segment base time
Thibault Saunier [Tue, 15 Sep 2015 09:08:29 +0000 (11:08 +0200)]
nle: Stop wrongly set operation segment base time

Inside the composition we actually do not need to have any notion
of what the timing outside the compositon as we already tweak the segment
base time outside the composition. This code was only there to work
around https://bugzilla.gnome.org/show_bug.cgi?id=753196

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

9 years agonlecomposition: don't leak internal hashtable
Justin Kim [Fri, 11 Sep 2015 07:18:46 +0000 (16:18 +0900)]
nlecomposition: don't leak internal hashtable

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

9 years agonleobject: don't leak srcpad when disposing
Justin Kim [Fri, 11 Sep 2015 07:13:19 +0000 (16:13 +0900)]
nleobject: don't leak srcpad when disposing

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

9 years agotimeline: don't leak pad in private structure
Justin Kim [Fri, 11 Sep 2015 07:11:40 +0000 (16:11 +0900)]
timeline: don't leak pad in private structure

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

9 years agoges-launcher: don't leak GError
Justin Kim [Fri, 11 Sep 2015 00:58:56 +0000 (09:58 +0900)]
ges-launcher: don't leak GError

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

9 years agoges-launcher: fix double free when argument is invalid
Justin Kim [Wed, 9 Sep 2015 14:32:19 +0000 (23:32 +0900)]
ges-launcher: fix double free when argument is invalid

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

9 years agovideo-source: Use the priority being set to compute zorder
Thibault Saunier [Fri, 4 Sep 2015 10:01:16 +0000 (12:01 +0200)]
video-source: Use the priority being set to compute zorder

9 years agovideo:transition: Set mixer pad zorder
Thibault Saunier [Wed, 2 Sep 2015 21:27:16 +0000 (23:27 +0200)]
video:transition: Set mixer pad zorder

9 years agovideo-source: Make sure to set framepositionner zorder when creating it
Thibault Saunier [Wed, 2 Sep 2015 15:58:33 +0000 (17:58 +0200)]
video-source: Make sure to set framepositionner zorder when creating it

And fix a computation bug where we would be having mixing order
reversed between layers.

And make sure that the positionner does not mix up Transition handling
of the zorder

9 years agovideo-source: Simply set framepositionner->zorder = self->priority
Thibault Saunier [Thu, 27 Aug 2015 14:28:42 +0000 (16:28 +0200)]
video-source: Simply set framepositionner->zorder = self->priority

Summary:
Making the code simpler and handling the transition case
where elements are in the same layer (which was failing
/setting same zorders until now).

Reviewers: Mathieu_Du

Differential Revision: https://phabricator.freedesktop.org/D237

9 years agoUse standard GST_PLUGIN_LDFLAGS for the nle plugin
Jan Schmidt [Sat, 22 Aug 2015 15:35:18 +0000 (01:35 +1000)]
Use standard GST_PLUGIN_LDFLAGS for the nle plugin

Add the standard GST_PLUGIN_LDFLAGS to the configure.ac file.

9 years agoAdd support for static plugins builds
Thibault Saunier [Fri, 21 Aug 2015 19:25:27 +0000 (21:25 +0200)]
Add support for static plugins builds

9 years agoRelease 1.5.90
Thibault Saunier [Thu, 20 Aug 2015 15:55:48 +0000 (17:55 +0200)]
Release 1.5.90

9 years agoMove NLE to a dedicated GstPlugin
Thibault Saunier [Wed, 19 Aug 2015 09:24:11 +0000 (11:24 +0200)]
Move NLE to a dedicated GstPlugin

Summary: Allowing external user to directly use it

Reviewers: Mathieu_Du

Differential Revision: https://phabricator.freedesktop.org/D231

9 years agonle: Enhance debug logging
Thibault Saunier [Thu, 23 Jul 2015 09:53:52 +0000 (11:53 +0200)]
nle: Enhance debug logging

9 years agoges: Do not leak and uselessly create errors
Thibault Saunier [Thu, 23 Jul 2015 09:42:48 +0000 (11:42 +0200)]
ges: Do not leak and uselessly create errors

And avoid parenthesis in GstObject names

9 years agoges: Fix how we handle layer vs layer-priority in the structured interface
Thibault Saunier [Thu, 23 Jul 2015 09:40:57 +0000 (11:40 +0200)]
ges: Fix how we handle layer vs layer-priority in the structured interface

9 years agotests: Do not use gst-structured-interface in the tests
Thibault Saunier [Thu, 23 Jul 2015 09:39:04 +0000 (11:39 +0200)]
tests: Do not use gst-structured-interface in the tests

It breaks $ make distcheck

9 years agoUpdate mailing list in doap file
Tim-Philipp Müller [Thu, 16 Jul 2015 16:26:04 +0000 (17:26 +0100)]
Update mailing list in doap file

9 years agotimeline: Remove transitions that can no fit into an auto transition
Thibault Saunier [Thu, 16 Jul 2015 08:54:54 +0000 (10:54 +0200)]
timeline: Remove transitions that can no fit into an auto transition

When activating auto transition mode

9 years agoges; Minor debug enhancement
Thibault Saunier [Thu, 16 Jul 2015 08:53:17 +0000 (10:53 +0200)]
ges; Minor debug enhancement

9 years agoassets: Avoid deadlock when done initialising asset
Thibault Saunier [Mon, 13 Jul 2015 11:48:40 +0000 (13:48 +0200)]
assets: Avoid deadlock when done initialising asset

Avoid to hold the CACHE lock when setting the GTasks return values.

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

9 years agonleobject: Concider objects as 'inactive' when they have a duration == 0
Thibault Saunier [Wed, 8 Jul 2015 16:59:33 +0000 (18:59 +0200)]
nleobject: Concider objects as 'inactive' when they have a duration == 0

9 years agotrack-element: Handle the case where we have only one keyframe set when interpollatin...
Thibault Saunier [Wed, 8 Jul 2015 16:59:00 +0000 (18:59 +0200)]
track-element: Handle the case where we have only one keyframe set when interpollating keyframes

9 years agoasset: Port use of deprecated GSimpleAsyncResult to GTask
Thibault Saunier [Mon, 6 Jul 2015 08:24:33 +0000 (10:24 +0200)]
asset: Port use of deprecated GSimpleAsyncResult to GTask

9 years agoAutomatic update of common submodule
Stefan Sauer [Fri, 3 Jul 2015 20:00:08 +0000 (22:00 +0200)]
Automatic update of common submodule

From f74b2df to 9aed1d7

9 years agotrack-element: Fix splitting bindings and add unit tests
Thibault Saunier [Fri, 3 Jul 2015 11:49:57 +0000 (13:49 +0200)]
track-element: Fix splitting bindings and add unit tests

9 years agostructured-interface: Better handle CLOCK_TIME type from GstStructures
Thibault Saunier [Wed, 1 Jul 2015 16:33:39 +0000 (18:33 +0200)]
structured-interface: Better handle CLOCK_TIME type from GstStructures

9 years agoelement: Implement a paste method
Thibault Saunier [Mon, 29 Jun 2015 16:04:32 +0000 (18:04 +0200)]
element: Implement a paste method

Allowing user to copy paste clips very easily

9 years agotimeline: Disable movement that lead to 2 transition at a position
Thibault Saunier [Tue, 23 Jun 2015 14:11:26 +0000 (16:11 +0200)]
timeline: Disable movement that lead to 2 transition at a position

We should never let 3 objects to overlap at a same position, for that
we introduce a "rollback" feature and whenever such an editing happens,
we rollback object position to whatever it was before the move.

9 years agosmart-video-mixer: Always keep a ref on the mixer pad
Thibault Saunier [Tue, 23 Jun 2015 17:19:29 +0000 (19:19 +0200)]
smart-video-mixer: Always keep a ref on the mixer pad

9 years agotimeline-element: Add a method to get the TrackType it interacts with
Thibault Saunier [Tue, 23 Jun 2015 11:27:00 +0000 (13:27 +0200)]
timeline-element: Add a method to get the TrackType it interacts with

API:
  + ges_timeline_element_get_track_types

9 years agotimeline: Never create transitions between rippled objects
Thibault Saunier [Fri, 19 Jun 2015 09:08:25 +0000 (11:08 +0200)]
timeline: Never create transitions between rippled objects

In case of groups, we can have track elements that do not belong
directly to the moved_trackelements but will be moved as others. Never
create transition to all object that have a start > moving group start.

9 years agovideo-transition: Use a SmartMixer as mixer
Thibault Saunier [Tue, 16 Jun 2015 15:07:40 +0000 (17:07 +0200)]
video-transition: Use a SmartMixer as mixer

So that the frame position metas are parsed and taken into account

9 years agotrack-element: Add method to remove control binding
Thibault Saunier [Tue, 16 Jun 2015 13:02:18 +0000 (15:02 +0200)]
track-element: Add method to remove control binding

API:
  ges_track_element_remove_control_binding

9 years agoges: Handle absolute GstDirectControlBindings
Thibault Saunier [Tue, 16 Jun 2015 11:25:32 +0000 (13:25 +0200)]
ges: Handle absolute GstDirectControlBindings

9 years agoframepositionner: Make use of the new CompositorPad.width/height
Thibault Saunier [Sat, 13 Jun 2015 16:48:20 +0000 (18:48 +0200)]
framepositionner: Make use of the new CompositorPad.width/height

So that the scaling is done in the compositor and this way we can cleanly interpolate its value

9 years agotimeline: Never change output media time when trimming start
Thibault Saunier [Fri, 3 Jul 2015 07:19:30 +0000 (09:19 +0200)]
timeline: Never change output media time when trimming start

+ Fix testsuite

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

9 years agotrack-element: Return right value when editing
Thibault Saunier [Fri, 3 Jul 2015 07:16:50 +0000 (09:16 +0200)]
track-element: Return right value when editing

We used to always return TRUE which was wrong

+ Fix testsuite and remove randomness from the tests

9 years agoges: Do not add a final gap at the end of track while rendering
Thibault Saunier [Wed, 1 Jul 2015 15:28:52 +0000 (17:28 +0200)]
ges: Do not add a final gap at the end of track while rendering

It is not correct to force a black frame at the end of the rendered
video and it also leads to rendering issue with vpX encoders.

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

9 years agoclip: Use container priority offset when setting children prios
Thibault Saunier [Wed, 1 Jul 2015 09:35:42 +0000 (11:35 +0200)]
clip: Use container priority offset when setting children prios

Instead of trying to compute it ourself which might lead to wrong
behaviour when moving between layer.

+ Make sure that when we reset clip children priority (to make space
  for effects,) we update the container knowledge of priority offsets

9 years agoclip: Fix track element priority computation
Thibault Saunier [Tue, 30 Jun 2015 21:13:28 +0000 (23:13 +0200)]
clip: Fix track element priority computation

We were computing the priority offset taking the global MIN_NLE_PRIO
(which is a constant == 2 to make space for the mixing elements) instead
of the layer 'track element' relative priority, leading to very big
offsets on layer with a prio > 0. In the end it leaded to effects having
the same priority as the sources which leads to an undefined behaviour
in NLE.

9 years agouri-asset: Bump the discoverer timeout to 1 minute
Thibault Saunier [Wed, 24 Jun 2015 07:06:30 +0000 (09:06 +0200)]
uri-asset: Bump the discoverer timeout to 1 minute

We should by default avoid false timeouts

9 years agotrack: Give usefull name to compositions
Thibault Saunier [Sun, 21 Jun 2015 23:52:39 +0000 (01:52 +0200)]
track: Give usefull name to compositions

9 years agonle: Port tests to the "commit" action signals
Thibault Saunier [Thu, 25 Jun 2015 09:03:12 +0000 (11:03 +0200)]
nle: Port tests to the "commit" action signals

Now that nle_object_commit symbol is hidden, we can't use it
in the tests.

9 years agoges: Unbreeak API after renaming of GNL to NLE
Thibault Saunier [Thu, 25 Jun 2015 08:32:46 +0000 (10:32 +0200)]
ges: Unbreeak API after renaming of GNL to NLE

9 years agoges: Hide more symbols of headers that are not installed
Sebastian Dröge [Thu, 25 Jun 2015 08:28:41 +0000 (10:28 +0200)]
ges: Hide more symbols of headers that are not installed

9 years agonle: Remove unused function
Sebastian Dröge [Thu, 25 Jun 2015 08:25:48 +0000 (10:25 +0200)]
nle: Remove unused function

nle/nlecomposition.c:2471:1: error: unused function '_parent_or_priority_changed' [-Werror,-Wunused-function]
_parent_or_priority_changed (NleObject * obj, GNode * oldnode,
^

9 years agonle: Hide away symbols, they're supposed to be internal
Sebastian Dröge [Thu, 25 Jun 2015 08:24:13 +0000 (10:24 +0200)]
nle: Hide away symbols, they're supposed to be internal

9 years agoBack to development
Thibault Saunier [Wed, 24 Jun 2015 15:55:22 +0000 (17:55 +0200)]
Back to development

9 years agoRelease 1.5.2
Thibault Saunier [Wed, 24 Jun 2015 15:44:04 +0000 (17:44 +0200)]
Release 1.5.2

9 years agonlesource: remove outdated comment
Tim-Philipp Müller [Tue, 23 Jun 2015 08:41:01 +0000 (09:41 +0100)]
nlesource: remove outdated comment

9 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 16 Jun 2015 21:50:38 +0000 (17:50 -0400)]
Automatic update of common submodule

From 6015d26 to f74b2df

9 years agopipeline: Handle rendering with disabled tracks
Thibault Saunier [Wed, 10 Jun 2015 15:54:20 +0000 (17:54 +0200)]
pipeline: Handle rendering with disabled tracks

Summary:
The user might want to render only some media type of the timeline,
for example he wants to only render the audio part of the timeline.

It was failing as we were not connecting the track but were still trying
to 'render' it.

Depends on D153

Reviewers: Mathieu_Du

Reviewed By: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D154

9 years agoges: Raise an error when the discoverer returns != RESULT_OK
Thibault Saunier [Tue, 9 Jun 2015 19:00:44 +0000 (21:00 +0200)]
ges: Raise an error when the discoverer returns != RESULT_OK

And do not try to run the pipeline when that happens

9 years agouri-asset: Add a way to control discoverer timeout through envvar
Thibault Saunier [Tue, 9 Jun 2015 18:58:00 +0000 (20:58 +0200)]
uri-asset: Add a way to control discoverer timeout through envvar

Making it possible to run ges-launch test under valgrind for example

9 years agoges-launch: don't print random position/duration values at startup
Tim-Philipp Müller [Tue, 9 Jun 2015 11:23:59 +0000 (12:23 +0100)]
ges-launch: don't print random position/duration values at startup

9 years agoAutomatic update of common submodule
Edward Hervey [Tue, 9 Jun 2015 09:30:59 +0000 (11:30 +0200)]
Automatic update of common submodule

From d9a3353 to 6015d26

9 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 8 Jun 2015 21:08:40 +0000 (23:08 +0200)]
Automatic update of common submodule

From d37af32 to d9a3353

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 21:07:40 +0000 (23:07 +0200)]
Automatic update of common submodule

From 21ba2e5 to d37af32

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:32:34 +0000 (17:32 +0200)]
Automatic update of common submodule

From c408583 to 21ba2e5

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:16:53 +0000 (17:16 +0200)]
Automatic update of common submodule

From d676993 to c408583

9 years agotimeline: Never snap end when rippling
Thibault Saunier [Fri, 5 Jun 2015 17:59:08 +0000 (19:59 +0200)]
timeline: Never snap end when rippling

http://phabricator.freedesktop.org/T74

9 years agotimeline: Never create transition between elements inside the moving context
Thibault Saunier [Fri, 5 Jun 2015 17:58:16 +0000 (19:58 +0200)]
timeline: Never create transition between elements inside the moving context

http://phabricator.freedesktop.org/T74

9 years agogroup: Disconnect from old layer notify::priority when a clip is moved to a NULL...
Thibault Saunier [Fri, 5 Jun 2015 16:49:51 +0000 (18:49 +0200)]
group: Disconnect from old layer notify::priority when a clip is moved to a NULL layer

This means we need to properly track the layer a clip was in. We now
keep track of the various signal IDs in a dedicated structure and
keep a ref on the layer an object is in.

http://phabricator.freedesktop.org/T88

9 years agotools: Exit the app as it is a simgle instance app
Thibault Saunier [Wed, 3 Jun 2015 12:56:11 +0000 (14:56 +0200)]
tools: Exit the app as it is a simgle instance app

And force exiting GstValidate when wanted

9 years agoges: remove dead code
Luis de Bethencourt [Mon, 1 Jun 2015 12:05:25 +0000 (13:05 +0100)]
ges: remove dead code

Summary:
No need to recheck if error exists since it has already been checked by the
conditional above.

Coverity CID #1302832

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D200

9 years agoges: Handle trimming auto transitions
Thibault Saunier [Sun, 31 May 2015 12:16:05 +0000 (14:16 +0200)]
ges: Handle trimming auto transitions

Meaning trimming neighbors.

+ And add a test

9 years agotimeline: Use a simple GList to track auto transitions
Thibault Saunier [Fri, 29 May 2015 13:15:25 +0000 (15:15 +0200)]
timeline: Use a simple GList to track auto transitions

9 years agonlecomposition: Do not fail when removing/adding child without commiting
Thibault Saunier [Mon, 12 Jan 2015 12:05:30 +0000 (13:05 +0100)]
nlecomposition: Do not fail when removing/adding child without commiting

Summary:
We use to end up removing the nleobject when the following case happened:

 * add an object
 * remove that object
 * re add the object
 * commit the composition

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D193

9 years agotimeline: Minor documentation addition
Thibault Saunier [Tue, 19 May 2015 16:18:30 +0000 (18:18 +0200)]
timeline: Minor documentation addition

9 years agoges: Enhance xges format versioning
Thibault Saunier [Mon, 18 May 2015 19:24:25 +0000 (21:24 +0200)]
ges: Enhance xges format versioning

Summary:
Handle the fact that some new features can be added and that means
generated files will not be fully understandable by older versions of
the formatter.

Make sure that we set the format version to 0.2 when we serialize the
GstEncodingProfile.enabled property.

Add some tests around that.

+ Fix a minor bug in the test-utils
+ Add a meta on the projects to tell in what format version a project
  has been serialized/parsed back

API:
  GES_META_FORMAT_VERSION

Depends on D178

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D184

9 years agoges: If last added clip is not in a layer, get the first layer
Thibault Saunier [Thu, 14 May 2015 09:12:20 +0000 (11:12 +0200)]
ges: If last added clip is not in a layer, get the first layer

Summary:
In case we just removed it from its layer, make sure to
just use the first layer when none specified.

Depends on D177

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D178

9 years agoges: Fix some error settings
Thibault Saunier [Thu, 14 May 2015 09:11:44 +0000 (11:11 +0200)]
ges: Fix some error settings

Summary: Depends on D176

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D177

9 years agoges:structured-interface: Use GET_AND_CHECK in more places
Thibault Saunier [Thu, 14 May 2015 09:10:15 +0000 (11:10 +0200)]
ges:structured-interface: Use GET_AND_CHECK in more places

Summary:
Giving more details about the issue to the user

Depends on D151

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D176

9 years agoxml-formatter: De/serialize whether encoding profiles are enabled or not
Thibault Saunier [Thu, 7 May 2015 08:52:18 +0000 (10:52 +0200)]
xml-formatter: De/serialize whether encoding profiles are enabled or not

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D151

9 years agoRemove obsolete Android build cruft
Tim-Philipp Müller [Sun, 26 Apr 2015 17:22:40 +0000 (18:22 +0100)]
Remove obsolete Android build cruft

This is not needed any longer.

9 years agoUpdate .gitignore
Tim-Philipp Müller [Thu, 23 Apr 2015 19:20:29 +0000 (20:20 +0100)]
Update .gitignore

9 years agotools: Fix string leak
Edward Hervey [Wed, 22 Apr 2015 13:07:58 +0000 (15:07 +0200)]
tools: Fix string leak

Only allocate the return string when we know we are going to return
it.

Coverity CID #1292292

9 years agoRemove INSTALL file
Sebastian Dröge [Wed, 22 Apr 2015 08:39:25 +0000 (10:39 +0200)]
Remove INSTALL file

autotools automatically generate this, and when using different versions
for autogen.sh there will always be changes to a file tracked by git.

9 years agoges:xml-formatter: Call g_markup_parse_context_end_parse
Thibault Saunier [Tue, 21 Apr 2015 09:24:38 +0000 (11:24 +0200)]
ges:xml-formatter: Call g_markup_parse_context_end_parse

Summary:
Otherwise the parser context will never know that is all the XML it
will receive and fail out if the XML document is not valid (in that
case if it does not end)

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

Reviewers: Mathieu_Du

Reviewed By: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D38

9 years agoges: Add debug output when get_element returns NULL
Thibault Saunier [Mon, 20 Apr 2015 15:42:44 +0000 (17:42 +0200)]
ges: Add debug output when get_element returns NULL

9 years agotools:launch: Print out the timeline description as an INFO not an ERROR
Thibault Saunier [Wed, 15 Apr 2015 10:18:15 +0000 (12:18 +0200)]
tools:launch: Print out the timeline description as an INFO not an ERROR

9 years agotools:launch: clean user facing message on wrong timeline description
Thibault Saunier [Wed, 15 Apr 2015 10:18:15 +0000 (12:18 +0200)]
tools:launch: clean user facing message on wrong timeline description

Summary:
Before:

  $ ../gst-editing-services/tools/ges-launch-1.0 -p
  0:00:00.028629728  8155      0x17e1b60 ERROR                default ges-launcher.c:214:_create_timeline: serialized timeline is   -p

  ** (lt-ges-launch-1.0:8155): ERROR **: Could not create timeline, error: Could not find a suitable formatter
  [1]    8155 trace trap (core dumped)  ../gst-editing-services/tools/ges-launch-1.0 -p

  $

After:

  $ GST_DEBUG=0 ges-launch-1.0 -p

  ERROR: Could not create timeline, error: Could not find a suitable formatter

  $

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D95

9 years agonleobject: It is wrong to update object->stop in set_property.
Mathieu Duponchelle [Wed, 8 Apr 2015 21:33:27 +0000 (23:33 +0200)]
nleobject: It is wrong to update object->stop in set_property.

Summary: It must only be done when the object is commited.
We can do that in constructed though, as the changes will
anyway be commited when the object is added to a composition.

Also update the tests, as we set properties spearately then
check the stop, we can commit the source at its creation without
removing meaning from the tests.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D84

9 years agotimeline, track: Emit commited at the correct moment.
Mathieu Duponchelle [Wed, 8 Apr 2015 19:38:48 +0000 (21:38 +0200)]
timeline, track: Emit commited at the correct moment.

Summary:
+ [API] GESTrack::commited signal.
+ [API] ges_track_commit_sync

We were emitting commited when timeline_commit was called, which
wasn't very helpful. This commit makes it so we emit commited once
all the compositions have actually been commited.

We also add a synchronous commit method to spare the user
the need to connect to the signal and wait, and update the
documentation.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D83

9 years agolayer: call timeline_element_set_timeline in layer_set_timeline.
Mathieu Duponchelle [Tue, 7 Apr 2015 20:48:27 +0000 (22:48 +0200)]
layer: call timeline_element_set_timeline in layer_set_timeline.

Summary:
Otherwise if there was still a reference to the layer when it
is removed from the timeline, it fails when the last reference
is released, because timeline_element_set_timeline calls
timeline_remove_element, which tries to remove the element from
an already disposed hashtable.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D82

9 years agotests: Use AM_TESTS_ENVIRONMENT
Edward Hervey [Wed, 8 Apr 2015 15:05:19 +0000 (17:05 +0200)]
tests: Use AM_TESTS_ENVIRONMENT

Needed by the new automake test runner

9 years agoges-launch: Add support for +test-clip
Mathieu Duponchelle [Fri, 3 Apr 2015 15:38:53 +0000 (17:38 +0200)]
ges-launch: Add support for +test-clip

Summary: With the pattern as a mandatory argument.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D68

9 years agoges-project: Surface a meaningful error when no suitable formatter.
Mathieu Duponchelle [Fri, 3 Apr 2015 14:48:03 +0000 (16:48 +0200)]
ges-project: Surface a meaningful error when no suitable formatter.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D67

9 years agoges-launch: Add a save-only option.
Mathieu Duponchelle [Fri, 3 Apr 2015 13:35:54 +0000 (15:35 +0200)]
ges-launch: Add a save-only option.

Summary: + Allows to serialize the timeline without playing it back.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D66

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 3 Apr 2015 17:58:32 +0000 (18:58 +0100)]
Automatic update of common submodule

From bc76a8b to c8fb372

9 years agotimeline-element: Disconnect child properties handlers.
Mathieu Duponchelle [Tue, 31 Mar 2015 12:26:19 +0000 (14:26 +0200)]
timeline-element: Disconnect child properties handlers.

Summary:
+ And freeze notifies while doing so.

We had a race with GstController which isn't MT safe, we can
fix it by propertly disconnecting signals, and making sure
no notifies are emitted while doing so.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D64

9 years agotrack: Set any caps features on tmpcaps.
Mathieu Duponchelle [Mon, 30 Mar 2015 16:41:11 +0000 (18:41 +0200)]
track: Set any caps features on tmpcaps.

Summary: Before checking if we have a specific constructor for a track type.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D63

9 years agopipeline: no reason to disconnect a pad that is NULL anyway.
Mathieu Duponchelle [Tue, 31 Mar 2015 13:29:49 +0000 (15:29 +0200)]
pipeline: no reason to disconnect a pad that is NULL anyway.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D62

9 years agoges-launch: Better document options.
Mathieu Duponchelle [Wed, 25 Mar 2015 14:43:16 +0000 (15:43 +0100)]
ges-launch: Better document options.

+ Sort them by topic
+ remove --sample-paths and --sample-paths-recurse.

http://phabricator.freedesktop.org/D58

9 years agoges-launch: port to GApplication
Mathieu Duponchelle [Tue, 24 Mar 2015 13:13:54 +0000 (14:13 +0100)]
ges-launch: port to GApplication

Summary: + Extract some utility functions.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D55

9 years agobuild: no reason to introspect nodist sources.
Mathieu Duponchelle [Wed, 25 Mar 2015 11:25:54 +0000 (12:25 +0100)]
build: no reason to introspect nodist sources.

Summary: g-ir-scanner was erroring like crazy on the generated sources.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D57

9 years agoges-pitivi-formatter: Don't flood stdout with alarming conclusions.
Mathieu Duponchelle [Wed, 25 Mar 2015 11:22:43 +0000 (12:22 +0100)]
ges-pitivi-formatter: Don't flood stdout with alarming conclusions.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D56

9 years agocompletions: port to new base gst script
Mathieu Duponchelle [Mon, 23 Mar 2015 11:27:56 +0000 (12:27 +0100)]
completions: port to new base gst script