Luis de Bethencourt
1efe0639de
ges: remove useless gpointer variable
...
gpointer useless is indeed useless since we can use GST_DEBUG_REGISTER_FUNCPTR
to avoid having to store the return of the GST_DEBUG_FUNCPTR registration.
CID #1265771
2015-01-26 18:25:02 +00:00
Luis de Bethencourt
8f79ee9230
ges: merge MIN() and MAX() into CLAMP()
...
Merge the usage of MIN() and MAX() into one CLAMP() function.
CID #1265770
2015-01-26 17:47:55 +00:00
Thibault Saunier
7a9d39fadb
ges: Make sure the GESTextOverlayClip is register on init
...
So it can be used when de serializing projects containing it.
https://bugzilla.gnome.org/show_bug.cgi?id=743406
2015-01-24 10:56:30 +01:00
Stefan Sauer
70a390451e
Automatic update of common submodule
...
From f2c6b95 to bc76a8b
2015-01-12 16:14:32 +01:00
Sebastian Dröge
49c827a8d2
Automatic update of common submodule
...
From ef1ffdc to f2c6b95
2014-12-18 10:56:54 +01:00
Thibault Saunier
c2583e01b6
tools: Avoid trying to remove a signal handler that has already been removed
2014-12-13 15:14:39 +01:00
Thibault Saunier
dc2f48a726
uri-asset: Check that the newly computed URI exist
...
No the one we know failed!
2014-12-12 12:07:01 +01:00
Thibault Saunier
7c6ad5e3ba
validate: Add an action type to load a project from its content
2014-12-12 12:07:01 +01:00
Thibault Saunier
752a2c6885
Revert "track: [API]: ges_track_update_restriction_caps."
...
This reverts commit e9544ce1d6
.
This commit should never have landed we decided we do not want to do
that.
2014-12-06 10:41:33 +01:00
Thibault Saunier
97c56da95b
timeline: Add a method to easily check if a timeline is empty
...
API:
+ ges_timeline_is_empty
2014-12-06 10:34:19 +01:00
Thibault Saunier
78913931b2
ges: Recompute Group priority when one of its clip.layer change priority
...
And add a unit test for that case where it was previously failing
2014-12-06 10:34:18 +01:00
Thibault Saunier
b6dbae70c8
validate: Start using the new testsuite based API from GstValidate
2014-12-06 10:34:18 +01:00
Mathieu Duponchelle
e9544ce1d6
track: [API]: ges_track_update_restriction_caps.
...
+ And specify default restriction caps for audio and video tracks.
+ Add ges_track_set_restriction_caps to the sections, it was missing.
https://bugzilla.gnome.org/show_bug.cgi?id=740726
2014-12-06 10:34:18 +01:00
Thibault Saunier
18f14de105
tests: Remove integration tests, GstValidate is the way forward!
2014-12-06 10:34:18 +01:00
Thibault Saunier
ff2ccb71ac
validate: Handle long tests in the TestManager
...
+ Minor bug fixes
2014-12-06 10:34:18 +01:00
Thibault Saunier
523e279e91
nlecomposition: Minor debug enhancements
2014-12-06 10:34:17 +01:00
Thibault Saunier
122dcbc190
pipeline: Expose playsink::video-filter and playsink::audio-filter
...
That can be used to add filters at the very end of the pipeline,
and one can think of adding a watchdog element in there for
example.
2014-12-06 10:34:17 +01:00
Thibault Saunier
068c20ff60
pipeline: Dot not check for chain->tee twice
2014-12-06 10:34:17 +01:00
Thibault Saunier
c7cceae128
validate: Avoid depending on not stable APIs
...
And cleanup includes
2014-12-06 10:34:17 +01:00
Thibault Saunier
452ebc1965
validate: Move to new action type registration API
2014-12-06 10:34:17 +01:00
Thibault Saunier
8e3790495f
validate: Add missing action execution printing
2014-12-06 10:34:16 +01:00
Thibault Saunier
b7daa03a6e
timeline-element: Properly handle setting name to NULL
2014-12-06 10:34:16 +01:00
Thibault Saunier
6367c96d7d
nlecomposition: Add a 'query-position' signal
...
In order to get the precise position of the pipeline, the only
way is to ask the 'application' to query the pipeline position and
use it.
2014-12-06 10:34:16 +01:00
Thibault Saunier
3b353be8ea
ges: Keep backward compatibility for relocated assets CLI
...
Meaning adding an API for user to add relacation URI paths
API:
ges_add_missing_uri_relocation_uri
2014-12-06 10:34:16 +01:00
Thibault Saunier
1373937b8e
Add some ignore files to .gitignore
2014-12-06 10:34:16 +01:00
Thibault Saunier
e5b57db7a2
ges: Add a method to pass argc/argv to GES at init time
...
Allowing user to set configuration actions without using
the GES GOptionGroup
https://bugzilla.gnome.org/show_bug.cgi?id=740717
2014-12-06 10:34:15 +01:00
Thibault Saunier
ac3cad47b6
validate: Expose GES Validate action
...
So other can also make use of those action outside
ges-launch itself
https://bugzilla.gnome.org/show_bug.cgi?id=740718
2014-12-06 10:34:15 +01:00
Thibault Saunier
dc0770bfa6
uri-asset: Ensure that UriAssets loaded with error are remembered
2014-12-06 10:34:15 +01:00
Thibault Saunier
55c88a726e
project: Add a method to create assets synchronously
...
This allows to create a add an asset to a project in a
synchronous way.
API:
ges_project_create_asset_sync
https://bugzilla.gnome.org/show_bug.cgi?id=740716
2014-12-06 10:34:15 +01:00
Thibault Saunier
58d525a4e7
ges: Add an init option to set media paths for moved assets
...
Allowing user to easily set a set of paths to look for moved
assets instead of needing the to re implement that logic
over and over.
https://bugzilla.gnome.org/show_bug.cgi?id=740714
2014-12-06 10:34:15 +01:00
Thibault Saunier
c8b2ab8dbb
ges: Add a method to get GES GOption group
...
This allow us to have global options to be
passed as arguments of the program to configure
GES behaviour
API:
ges_init_get_option_group
https://bugzilla.gnome.org/show_bug.cgi?id=740715
2014-12-06 10:34:14 +01:00
Thibault Saunier
39a7ce6ca0
pipeline: Disable encoding format renegotiation when rendering
2014-12-06 10:34:14 +01:00
Mathieu Duponchelle
d109c37343
check/ges/track: add forgotten test file.
2014-12-05 22:19:32 +01:00
Mathieu Duponchelle
fb34c5056e
*source: new lines in xml break my parser.
...
+ So I removed them cause I'm clever
https://bugzilla.gnome.org/show_bug.cgi?id=740727
2014-12-05 22:12:12 +01:00
Mathieu Duponchelle
f85c463b93
track: [API]: ges_track_update_restriction_caps.
...
+ And specify default restriction caps for audio tracks.
+ Add ges_track_set_restriction_caps to the sections, it
was missing.
https://bugzilla.gnome.org/show_bug.cgi?id=740726
2014-12-05 22:12:11 +01:00
Edward Hervey
0d3044b78d
Automatic update of common submodule
...
From 7bb2bce to ef1ffdc
2014-11-27 17:13:27 +01:00
Thibault Saunier
fedee39900
tests: Fix make distcheck
...
Some xges project are not used anymore and some new appeared, clean
that up in the Makefile.am
2014-11-10 17:24:11 +01:00
Thibault Saunier
fd268f0387
element: Add a property allowing user to avoid serializing TimelineElements on demand
2014-11-10 17:03:46 +01:00
Thibault Saunier
5665e3abb1
xml-formatter: Serialize groups
...
They were not serialized until now.
That implies several changes:
* Override GESTimelineElement [start, inpoint, duration] properties in
GESGroup to ensure that those properties are not serialized as they
should not be.
* Rename GESBaseXmlContainer->clips field to
GESBaseXmlContainer->containers as the hashtable now contains Groups
https://bugzilla.gnome.org/show_bug.cgi?id=709148
2014-11-10 16:22:43 +01:00
Thibault Saunier
e36c4c2bf7
pipeline: Do not relink an already linked track
2014-11-10 16:22:43 +01:00
Thibault Saunier
08af3721bf
frameposition: In case sources have the same size as track, follow track size
...
For example if the size has been serialized in a file, but the user has
not personalized the size, we want that whenever the restriction caps
change the size, the video should take the size of the track
restriction caps.
We know need to keep track of the current positionner.size even if
setting through caps size changes.
https://bugzilla.gnome.org/show_bug.cgi?id=739527
2014-11-10 16:22:42 +01:00
Thibault Saunier
21807d6637
xml-formatter: Do not forget to set properties on the track elements
...
We were just setting children properties, even if the propertie to be
set on themselves where properly passed in
https://bugzilla.gnome.org/show_bug.cgi?id=729487
2014-11-10 16:22:42 +01:00
Thibault Saunier
7f71914f07
title-source: Expose the shaded-background property
...
Rework the way we override the background property to avoid trying to
lookup shaded-foreground-color!
https://bugzilla.gnome.org/show_bug.cgi?id=728635
2014-11-10 16:22:42 +01:00
Thibault Saunier
fcfdbef0b2
titlesource: Expose the outline-color property
...
https://bugzilla.gnome.org/show_bug.cgi?id=728634
2014-11-10 16:22:42 +01:00
Thibault Saunier
b14b5d92ca
tools: launch: Wait for the project to be loaded to activate gst-validate
...
Otherwize we could have a race where GstValidate actions are launched
even before the project has been loaded
2014-11-10 16:22:42 +01:00
Thibault Saunier
aac186a742
tools: Never try to propose same URI when we know it is missing URI
2014-11-10 16:22:42 +01:00
Mathieu Duponchelle
ee2b3f7d24
pipeline: connect tracks when added, not only on state change.
...
+ ghost track src pad before calling track added so that
pipeline has a pad to link.
+ Remove silly comment.
2014-11-10 16:22:42 +01:00
Thibault Saunier
ac906a9143
Document known and usable child properties for GESTrackElements subclasses
2014-11-10 16:22:41 +01:00
Thibault Saunier
903f30cb32
tools:launch: Properly terminate when we get a SIGINT signal
2014-11-10 16:22:41 +01:00
Thibault Saunier
20f76fe86f
trackelement: Add a lookup_child vmethod
...
This method can be used for subclass to override the default behaviour
for child lookup. This vmethod can be used for example in the case where
you want the name of a child property to be 'overridden'.
As an example in the GESTitleSource where we have a videotestsrc
which has a 'foreground-color' property that is used in the TitleSource
to set the background color of the title, this vmethod is now used to
tweak the name passed as parameter to rename "background" to
"foreground-backend" making our API understandable.
API:
GESTrackElement::lookup_child
https://bugzilla.gnome.org/show_bug.cgi?id=727880
2014-11-10 16:22:41 +01:00