Commit graph

50 commits

Author SHA1 Message Date
Thibault Saunier
981a027ecd launch: Also print the position when disabling validate
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/198>
2020-07-30 18:44:13 -04:00
Thibault Saunier
7bef18169a nlecomposition: Fix seeking with stop
And add some tests

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/166>
2020-04-28 19:14:26 -04:00
Thibault Saunier
f30a127776 launch: Add support for testfiles
Making it simpler to define a test in a single files, including the
configuration etc..

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/166>
2020-04-27 17:58:40 -04:00
Thibault Saunier
130140d059 launch: Add a way to disable validate at runtime
Also avoid to add useless bin in our sinks
2020-03-25 11:26:29 -03:00
Thibault Saunier
dcb3ad620d ges: Plug some leaks 2020-03-25 11:26:29 -03:00
Thibault Saunier
f55033223f ges:launch: Handle setting playback information in scenarios
This way we can avoid real sinks when implementing scenarios
2020-02-26 13:36:30 -03:00
Thibault Saunier
4e4473ef8f ges: Plug leaks in new ges-launch and related 2020-02-25 17:44:51 -03:00
Thibault Saunier
1a111e95eb validate: Allow overriding ges-launch options through scenarios
In 99c45d42cf we allowed setting
track-types but in the end we could do it generically using the
following synthax in the scenario 'properties' metadata:

`ges-options={--track-types=video,--disable-mixing}`
2020-02-11 18:30:13 -03:00
Thibault Saunier
99c45d42cf validate: Allow scenarios to set track types 2019-07-05 18:30:41 -04:00
Thibault Saunier
8bf3256ddf validate: Add a way to use validate configs with scenarios
Config files should have the-scenario-name.scenario.config to be picked automatically
2019-07-05 18:30:41 -04:00
Thibault Saunier
b612d015ca ges:validate: Check that no extra decoding happens 2016-07-26 14:48:33 -04:00
Tim-Philipp Müller
967bb50814 ges-launch: don't print random position/duration values at startup 2015-06-09 12:23:59 +01:00
Thibault Saunier
fee018b358 tools: Exit the app as it is a simgle instance app
And force exiting GstValidate when wanted
2015-06-05 22:49:46 +02:00
Mathieu Duponchelle
2c4b92fd98 ges-launch: port to GApplication
Summary: + Extract some utility functions.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D55
2015-03-25 12:27:52 +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
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
Mathieu Duponchelle
0192c0e237 ges-validate: inform of clip removal. 2014-11-10 16:22:41 +01:00
Thibault Saunier
ca0ce859de validate: Implement validate Action type to handle KeyFrames
New action types:
  * set-control-binding
  * add-keyframe
  * remove-keyframe
2014-11-10 16:22:40 +01:00
Thibault Saunier
6d8f744f7f ges-validate: Add actions to add/remove object from container
+ Add an action to set an asset on a GESTimelineElement
2014-11-10 16:22:39 +01:00
Thibault Saunier
c0a0c1f582 ges-validate: Fix edit_container return code
It used to always return FALSE.

+ Fix minor leaks
+ Do not seek ourself, it is users responsability to seek and
commit these days.
2014-11-10 16:22:39 +01:00
Thibault Saunier
0cdec2c2d0 ges-validate: Add an action type to set restriction caps on track 2014-11-10 16:22:38 +01:00
Thibault Saunier
92cb5811e7 tools: Handle asset relocation for assets from scenario
Allowing us to share scenario and media file!
2014-11-10 16:22:38 +01:00
Thibault Saunier
4691210030 ges-validate: Add support for Layer.auto-transition
+ Fix a bug where the mandatory field name for the name of the clip to
remove in remove-clip did not correspond to what we used in the action
(clip-name vs name).
2014-11-10 16:22:38 +01:00
Thibault Saunier
f362e81a29 ges-validate: Add commit and split-clip action types
And stop commit at the end of other action types, this now
has to be done in the scenario itself.
2014-11-10 16:22:38 +01:00
Thibault Saunier
8a6892ba0a ges-validate: Add start/inpoint/duration params to the add-clip action 2014-11-10 16:22:38 +01:00
Mathieu Duponchelle
5779e68102 ges-validate: issues naming have changed.
Update the override.
2014-10-22 14:15:11 +02:00
Thibault Saunier
7e36a752bc validate: Fix naming of add_action_type to register_action_type
That function was just renamed in Validate
2014-10-16 14:18:16 +02:00
Thibault Saunier
18e7cb571f validate: gst_validate_print_action_types now takes a const gchar ** 2014-09-05 23:14:10 +02:00
Thibault Saunier
de33101ac0 validate: Add the "ges" as implementer namespace for our action types 2014-09-05 23:09:15 +02:00
Thibault Saunier
73d9fd70c9 ges-validate: Rename edit-clip to edit-container
So it represent better what the action does at the GES level
2014-09-05 13:54:45 +02:00
Thibault Saunier
9f97c14cea ges-validate: Port to the new GstValidate action registration API 2014-09-05 13:54:40 +02:00
Thibault Saunier
9a07ce7681 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
2014-09-05 13:54:34 +02:00
Thibault Saunier
ae60e09a1f ges-validate: Let GstValidate handle assert logs 2014-09-05 13:54:26 +02:00
Thibault Saunier
c7d572aa90 ges:validate: Port to the new handles-states API 2014-09-05 13:54:13 +02:00
Thibault Saunier
84f02f288e tools: Handle request state changes from GstValidate 2014-05-18 18:34:26 +02:00
Mathieu Duponchelle
6b61c29907 scenarios: update the prototype of ges_validate_activate
if validate is not present.
2014-05-08 17:11:54 +02:00
Mathieu Duponchelle
324742826b validate: make sure we release our ref when we get_timeline.
Conflicts:
	tools/ges-validate.c
2014-05-08 14:28:45 +02:00
Mathieu Duponchelle
0de6ecebcf scenarios: Check priority before creating a layer. 2014-05-08 14:27:06 +02:00
Mathieu Duponchelle
171710f0c5 ges-launch: Make it so actions are executed directly when needed. 2014-05-08 14:26:49 +02:00
Mathieu Duponchelle
48f3315e9b validate: implement remove / add clip actions
And a helper to get a layer by priority
2014-05-08 14:26:45 +02:00
Mathieu Duponchelle
5d21fb74fe validate: Add add-layer and remove-layer 2014-05-08 14:26:33 +02:00
Mathieu Duponchelle
e8713bbf87 scenarios: add a remove-asset action 2014-05-08 14:26:30 +02:00
Mathieu Duponchelle
3c7b9d0ea4 ges-validate: add an add-asset action
Conflicts:
	tools/ges-validate.c
2014-05-08 14:26:16 +02:00
Thibault Saunier
92b115d3e0 tools: Always activate gst-validate to have position printing
https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:58:42 +02:00
Thibault Saunier
8601666a5a ges-validate: Add an action to serialize the project
https://bugzilla.gnome.org/show_bug.cgi?id=729382

Conflicts:
	tools/ges-validate.c
2014-05-02 16:58:42 +02:00
Thibault Saunier
4ce52d8a62 tools:validate: Always seek after editing a clip
Otherwize the displayed frame will not be updated when paused.

+ Add a get_timeline internal helper method in ges-validate.c

https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:58:42 +02:00
Thibault Saunier
9cb7d8e3e7 ges-validate: Add a GstValidate action to set children properties
https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:58:42 +02:00
Thibault Saunier
87e10c4478 tools:validate: Add an action to allow editing clips
https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:30:08 +02:00
Thibault Saunier
3197a02487 tools: Position printing is now done at the gst-validate level
https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 14:34:00 +02:00
Thibault Saunier
95126cd0ef ges-launch: Play nicely with gst-validate if avalaible 2014-03-20 17:25:53 +01:00