Thibault Saunier
3409719de5
ges: Deprecate GESTimelineElement::priority writability
...
GESLayer is now responsible for setting clips priorites. Also
GESClip top effects priorities are now set by the
ges_clip_set_top_effect_index method, the user should never call
ges_timeline_element_set_priority as it will anyway be overriden
by GES itself.
Differential Revision: https://phabricator.freedesktop.org/D1280
2016-09-26 13:32:58 -03:00
Thibault Saunier
f79c73789f
layer: Handle operation priorities
...
All operations should have higher priorites and sources should be
on top of those. We now first set the operations priorities in
a first pass and then stack sources on top of those.
Differential Revision: https://phabricator.freedesktop.org/D1279
2016-09-26 13:32:57 -03:00
Thibault Saunier
eb48faf342
ges: transition: Make crossfade fade out at the same time as it fade in
...
Until now fade out was just fading in the new clip, but this is not
correct and crossfade should at the same time fade out while fading
in.
Fixes https://phabricator.freedesktop.org/T3451
Differential Revision: https://phabricator.freedesktop.org/D1278
2016-09-26 13:32:56 -03:00
Thibault Saunier
564bd8d473
layer: Make sure to resync priorities on commit
...
In case effects have been added priorites might become wrong,
but until the timeline is not commited, it does not matter.
Make sure all priorities are correct before commiting compositions
Differential Revision: https://phabricator.freedesktop.org/D1277
2016-09-26 13:32:55 -03:00
Thibault Saunier
3daf8bd788
Finally move clip priority handling to GESLayer.
...
Fix all tests as we now have 1 priority inside the layer
dedicated to transitions (basically no source clip will
ever have a priority of 0 inside a layer).
Differential Revision: https://phabricator.freedesktop.org/D1276
2016-09-26 13:32:53 -03:00
Thibault Saunier
2854c91ebc
clip: Make top effect priority inside the clip priority range
...
And simplify the way we start computing children priority
making min_priority already relative to the clip itself.
Differential Revision: https://phabricator.freedesktop.org/D1275
2016-09-26 13:32:52 -03:00
Thibault Saunier
ae93594f3c
tests_: timelineedition: Fix test now that we ripple from start and not from end
...
Differential Revision: https://phabricator.freedesktop.org/D1274
2016-09-26 13:32:51 -03:00
Sebastian Dröge
a1b923c78a
nlecomposition: Don't try to seek on an empty stack
...
We would seek on a NULL pad then, which gives ugly assertions.
https://bugzilla.gnome.org/show_bug.cgi?id=771843
2016-09-22 11:48:30 -04:00
Sebastian Dröge
7aa69d0ea0
nleurisource: Always provide a srcpad
...
By putting uridecodebin into a bin with a ghostpad. Without this,
nlesource tries to get a srcpad too early (before uridecodebin added
one) and everything fails miserably.
This has to be fixed properly in nlesource at some point, by properly
handling dynamically added pads. Currently they can only work if they
are added in states <= READY, which is not the usual case.
https://bugzilla.gnome.org/show_bug.cgi?id=771843
2016-09-22 11:30:58 -04:00
Sebastian Dröge
5a0731a0a5
nlesource: Fail prepare() if no valid source pad is found
...
https://bugzilla.gnome.org/show_bug.cgi?id=771792
2016-09-21 18:24:34 -04:00
Thibault Saunier
244266a94e
ges-launch: Be a bit more agressive sanitizing arguments
...
Otherwise GstStructure might fail parsing some fields
containing brackets
https://bugzilla.gnome.org/show_bug.cgi?id=771434
2016-09-14 18:29:58 -03:00
Sebastian Dröge
e32a948868
configure: Depend on gstreamer 1.9.2.1
2016-09-14 11:31:28 +02:00
Alexandru Băluț
a63c754222
timeline: Make get_groups public
...
Had to separate timeline_emit_group_added from timeline_add_group
to avoid emitting group-added when the project is being loaded.
Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1302
2016-09-13 16:47:24 -03:00
Alexandru Băluț
2df506e5ba
tests_: Make sure child-removed is emitted when ungrouping
...
Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1301
2016-09-13 16:47:21 -03:00
Alexandru Băluț
760909bc9e
timeline: Fix documentation
...
Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1300
2016-09-13 16:45:27 -03:00
Alexandru Băluț
7721fc337b
Remove obsolete dependency
...
Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1299
2016-09-13 16:45:25 -03:00
Jan Schmidt
6b388ebb7c
Automatic update of common submodule
...
From b18d820 to f980fd9
2016-09-10 20:52:38 +10:00
Jan Schmidt
5260640872
Automatic update of common submodule
...
From f49c55e to b18d820
2016-09-10 09:58:37 +10:00
Thibault Saunier
e619a9858d
tests: Move -DGES_TEST_FILES_PATH to common_cflags
...
As it is needed to build the utils lib
2016-09-09 17:14:43 -03:00
Thibault Saunier
c0d40737a9
tests: Fix the way we get tests assets
...
Using __FILE__ won't work properly with meson.
2016-09-09 16:43:46 -03:00
Thibault Saunier
8b4983daf1
test:validate: Handle new expected_failures Test argument
2016-09-09 10:27:24 -03:00
Thibault Saunier
4434392b2c
meson: Do not build libges against libcheck
2016-09-07 16:53:06 -03:00
Thibault Saunier
042de8118b
meson: Properly find where other GStreamer plugins are when using subprojects
2016-09-05 18:19:49 -03:00
Thibault Saunier
da0a5823c7
Revert "validate: Blacklist racy tests"
...
This reverts commit ce35412ff2
.
https://bugzilla.gnome.org/show_bug.cgi?id=769894 has been fixed
2016-09-05 14:54:53 -03:00
Thibault Saunier
c7ade2bf84
meson: Handle building the gir file when used as subproject
...
Add support for building GIR when used as subproject
Add an option to disable GIR generation
And bump version to 1.9.2
2016-09-05 12:46:52 -03:00
Sebastian Dröge
754483f528
Back to development
2016-09-01 12:33:22 +03:00
Sebastian Dröge
8da3383d01
Release 1.9.2
2016-09-01 12:33:13 +03:00
Thibault Saunier
2b9863c8b5
meson: doc: Fix building documentation when using subprojects
...
And check the presence of gtk-doc before building the documentation
2016-08-25 15:15:05 -03:00
Sebastian Dröge
d4af1b6c9a
ges: Rename parse_lex.h to ges-parse-lex.h
...
Fixes the build and makes it consistent with the meson build system.
2016-08-25 10:06:51 +03:00
Thibault Saunier
383c5d1f6d
Add support for Meson as alternative/parallel build system
...
https://github.com/mesonbuild/meson
2016-08-24 16:44:32 -03:00
Philippe Renon
3cf28775f3
ges-track-element: fix typos in control_binding_removed signal declaration
...
https://bugzilla.gnome.org/show_bug.cgi?id=770101
2016-08-18 10:21:57 -07:00
Edward Hervey
ce35412ff2
validate: Blacklist racy tests
...
See https://bugzilla.gnome.org/show_bug.cgi?id=769894
2016-08-14 17:45:16 +02:00
Edward Hervey
53fb174443
ges-timeline: Demote some debugging statements
...
locking should be in a lower level to avoid too many messages
2016-08-14 17:44:36 +02:00
Edward Hervey
be5b9270ac
timeline-element: Reset pointer after freeing
...
dispose can be called multiple times, make sure we don't call functions
on free'd pointers.
2016-08-13 11:08:34 +02:00
Thibault Saunier
855488f58e
ges: Do not rescale videos if the track aspect ratio changes
...
Differential Revision: https://phabricator.freedesktop.org/D1242
2016-08-05 21:40:57 -04:00
Thibault Saunier
1cef62ab79
ges: Let the compositor do the scaling if mixing is enabled
...
Differential Revision: https://phabricator.freedesktop.org/D1241
2016-08-05 21:40:56 -04:00
Thibault Saunier
ff6937d044
tests:validate: Also test opus and theora in OGG
2016-08-01 12:55:07 -04:00
Thibault Saunier
e1f6b9fefb
validate: Start also testing jpeg encoding
2016-07-29 15:57:05 -04:00
Thibault Saunier
8162811bce
timeline: Keep transitions when moving the moving context between layers
...
Differential Revision: https://phabricator.freedesktop.org/D1225
2016-07-29 15:57:05 -04:00
Justin Kim
f8f3444daf
ges-launcher: don't leak project uri string
...
ges_project_get_uri returns a cloned string so it should
be free'd after usage.
Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D381
2016-07-29 11:00:48 -04:00
Thibault Saunier
fff6a73735
timeline: Ripple from start of clips and not the end.
...
Fixes https://phabricator.freedesktop.org/T7503
2016-07-28 19:37:25 -04:00
Thibault Saunier
aa38d80797
enums: Fix absolute text overlay alignment value
...
It needs to be in sync with GstBaseTextOverlayHAlign order.
2016-07-28 17:23:43 -04:00
Thibault Saunier
6dea2b9779
title-source: Properly implement GESTimelineElement->lookup_child
...
GESTrackElement->lookup_child is deprecated and should be avoided
as much as possible.
2016-07-28 17:13:39 -04:00
Thibault Saunier
be75994cb9
clip: Reimplement look_child and iterate over children if needed
...
Otherwise in the case where children reimplement lookup_child to
handle some property renaming lookup fails.
2016-07-28 17:13:31 -04:00
Thibault Saunier
be66877d95
tools: Fix printing commands help
2016-07-28 17:10:10 -04:00
Thibault Saunier
b612d015ca
ges:validate: Check that no extra decoding happens
2016-07-26 14:48:33 -04:00
Thibault Saunier
577938c9be
uri-sources: Make sure to set decodebin 'caps' property
...
Fixes a regression where we decode streams twice,
this was introduced when we started creating NLE
object at GESTrackElement construct time.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=769193
2016-07-26 12:07:37 -04:00
Thibault Saunier
6762b05c19
timeline: Emit snap-ended on commit if needed
...
Commiting the timeline means that the current operations on the clips are over,
so we should concider snapping as done at that point
Fixes T7499
2016-07-24 08:42:30 -04:00
Mohan R
91ecce1d05
fixed ges-version.h not found issue during out of tree build
2016-07-24 08:42:30 -04:00
Thibault Saunier
3c4907900e
image-source: Do not concider inpoints
...
We have no restriction on inpoint for Images
Differential Revision: https://phabricator.freedesktop.org/D1202
2016-07-22 07:35:19 -04:00