platform/upstream/gstreamer.git
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

9 years agocompletions: Fix completions after the first command.
Mathieu Duponchelle [Tue, 24 Mar 2015 16:13:20 +0000 (17:13 +0100)]
completions: Fix completions after the first command.

9 years agoRevert "ges-launch: no need for a tmp string pointer"
Mathieu Duponchelle [Tue, 24 Mar 2015 12:01:39 +0000 (13:01 +0100)]
Revert "ges-launch: no need for a tmp string pointer"

This reverts commit 44a0924c1f6b07f0c91ee8bd03d3ae5d97da92d5.

There indeed is a need for a tmp string pointer.

9 years agoges-launch: no need for a tmp string pointer
Luis de Bethencourt [Tue, 24 Mar 2015 11:21:08 +0000 (11:21 +0000)]
ges-launch: no need for a tmp string pointer

9 years agoges-launch: free string before going out of scope
Luis de Bethencourt [Tue, 24 Mar 2015 11:19:09 +0000 (11:19 +0000)]
ges-launch: free string before going out of scope

CID #1291632

9 years agobuild: fix make distcheck.
Mathieu Duponchelle [Thu, 26 Feb 2015 16:08:43 +0000 (17:08 +0100)]
build: fix make distcheck.

9 years agoges: Do not clear potentially NULL errors
Thibault Saunier [Tue, 17 Mar 2015 17:25:02 +0000 (18:25 +0100)]
ges: Do not clear potentially NULL errors

And avoid dereferencing NULL errors

9 years agoges-launch: Prefix clip, transition and effect instruction with a +
Thibault Saunier [Fri, 13 Mar 2015 12:02:30 +0000 (12:02 +0000)]
ges-launch: Prefix clip, transition and effect instruction with a +

Slightly changing the CLI so that we have indicators of the timeline
commands adding new objects.

9 years agoges: Accept path as URI in the create clip structured interface
Thibault Saunier [Sun, 1 Mar 2015 12:10:55 +0000 (13:10 +0100)]
ges: Accept path as URI in the create clip structured interface

9 years agoges-launch: Remove useless options, rename some short options.
Mathieu Duponchelle [Thu, 26 Feb 2015 12:49:23 +0000 (13:49 +0100)]
ges-launch: Remove useless options, rename some short options.

9 years agobash-completion: Add support for new ges-launch commands.
Mathieu Duponchelle [Thu, 26 Feb 2015 12:19:25 +0000 (13:19 +0100)]
bash-completion: Add support for new ges-launch commands.

9 years agoparse.l: Modify command arguments.
Mathieu Duponchelle [Wed, 25 Feb 2015 17:01:38 +0000 (18:01 +0100)]
parse.l: Modify command arguments.

+ --clip uri=file:// becomes clip file:// for example.

9 years agoges: command-line-formatter: Properly error out on invalid arguments
Thibault Saunier [Mon, 23 Feb 2015 16:41:59 +0000 (17:41 +0100)]
ges: command-line-formatter: Properly error out on invalid arguments

9 years agoges: Factor out a GESCommandLineFormatter class
Thibault Saunier [Mon, 23 Feb 2015 13:48:18 +0000 (14:48 +0100)]
ges: Factor out a GESCommandLineFormatter class

This formatter will allow any user to deserialize a timeline using
the new ges-launch command line interface

9 years agostructured-interface: Be clever when no layer priority specified.
Mathieu Duponchelle [Sun, 22 Feb 2015 23:53:14 +0000 (00:53 +0100)]
structured-interface: Be clever when no layer priority specified.

And add the new element to the same layer as the last clip that
was added, insted of adding to the last layer of the timeline
(and with the current code, actually adding a new layer each time)

9 years agoges-structured-interface: fix build
Mathieu Duponchelle [Sat, 21 Feb 2015 14:30:57 +0000 (15:30 +0100)]
ges-structured-interface: fix build

9 years agoges: Automatically put clips at the end of layer if no start specified
Thibault Saunier [Fri, 20 Feb 2015 11:26:54 +0000 (12:26 +0100)]
ges: Automatically put clips at the end of layer if no start specified

In the 'structured' interface we should add it at the end of the layer

And make use of the new ges_timeline_get_layer API

9 years agostructure-interface: rename layer-priority to layer.
Mathieu Duponchelle [Thu, 19 Feb 2015 18:29:36 +0000 (19:29 +0100)]
structure-interface: rename layer-priority to layer.

+ And add a short name for it in ges-launch.

9 years agoges: Add layer up to the wanted layer priority in the structure interface
Thibault Saunier [Fri, 20 Feb 2015 11:12:52 +0000 (12:12 +0100)]
ges: Add layer up to the wanted layer priority in the structure interface

Making the thing easier to use

9 years agoges-launch: parse property names longer than 1 char.
Mathieu Duponchelle [Thu, 19 Feb 2015 18:16:44 +0000 (19:16 +0100)]
ges-launch: parse property names longer than 1 char.

+ And finish the previous structure when encountering a setter.

9 years agoges-launch: Update lexer / parser to handle set-*
Mathieu Duponchelle [Thu, 19 Feb 2015 12:15:25 +0000 (13:15 +0100)]
ges-launch: Update lexer / parser to handle set-*

+ cleanup of the lexer

9 years agotools: Implement a new CLI interface for the timeline creation
Thibault Saunier [Thu, 19 Feb 2015 17:28:41 +0000 (18:28 +0100)]
tools: Implement a new CLI interface for the timeline creation