platform/upstream/gstreamer.git
9 years agocomposition: Fix toplevel seek event refcounting
Mathieu Duponchelle [Thu, 3 Jul 2014 15:36:01 +0000 (17:36 +0200)]
composition: Fix toplevel seek event refcounting

Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

9 years agocomposition: Teach the composition to seek same stack
Thibault Saunier [Thu, 3 Jul 2014 14:46:21 +0000 (16:46 +0200)]
composition: Teach the composition to seek same stack

Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

9 years agocomposition: The ref the user gave us is our, and we give another to the bin when...
Thibault Saunier [Thu, 3 Jul 2014 14:44:05 +0000 (16:44 +0200)]
composition: The ref the user gave us is our, and we give another to the bin when needed

Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>

9 years agocomposition: Rename commit_pipeline_func to commit_func
Mathieu Duponchelle [Thu, 3 Jul 2014 14:41:42 +0000 (16:41 +0200)]
composition: Rename commit_pipeline_func to commit_func

We do not commit any pipeline, we commit the new state of the composition internals

Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

9 years agocomposition: Set the state of the internal bin before removing its children
Thibault Saunier [Thu, 3 Jul 2014 12:48:25 +0000 (14:48 +0200)]
composition: Set the state of the internal bin before removing its children

Otherwize when we set the composition state to READY or NULL we can end
up with children in PAUSED state outside of everything

Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>

9 years agotests: Minor cleanup
Mathieu Duponchelle [Thu, 3 Jul 2014 12:34:11 +0000 (14:34 +0200)]
tests: Minor cleanup

Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

9 years agognlobject: Allow commiting of object that are not inside a composition
Thibault Saunier [Thu, 3 Jul 2014 12:32:44 +0000 (14:32 +0200)]
gnlobject: Allow commiting of object that are not inside a composition

Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>

9 years agocomposition: Empty current_bin on gnl_composition_reset
Mathieu Duponchelle [Thu, 3 Jul 2014 12:32:18 +0000 (14:32 +0200)]
composition: Empty current_bin on gnl_composition_reset

Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

9 years agocomposition: Remove now useless external_gst_bin_add_remove field
Thibault Saunier [Thu, 3 Jul 2014 12:31:35 +0000 (14:31 +0200)]
composition: Remove now useless external_gst_bin_add_remove field

Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>

9 years agocomposition: Remove now useless pad probes
Mathieu Duponchelle [Thu, 3 Jul 2014 09:36:20 +0000 (11:36 +0200)]
composition: Remove now useless pad probes

Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

9 years agocomposition: Add an internal bin where that contain used children
Thibault Saunier [Wed, 2 Jul 2014 19:01:31 +0000 (21:01 +0200)]
composition: Add an internal bin where that contain used children

Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>

9 years agocomposition: Add objects to the pending IO list in a GSource
Thibault Saunier [Wed, 2 Jul 2014 15:33:35 +0000 (17:33 +0200)]
composition: Add objects to the pending IO list in a GSource

This way we make sure we do not manipulate our children from another
thread than the dedicated one.

9 years agocomposition: Start implementing seeking in a GSource
Thibault Saunier [Tue, 1 Jul 2014 16:08:32 +0000 (18:08 +0200)]
composition: Start implementing seeking in a GSource

9 years agocomposition: switch to using an action signal to add and remove objects.
Thibault Saunier [Mon, 30 Jun 2014 14:21:30 +0000 (16:21 +0200)]
composition: switch to using an action signal to add and remove objects.

9 years agocomposition: chain up finalize before clering mcontext_lock.
Mathieu Duponchelle [Mon, 30 Jun 2014 14:29:50 +0000 (16:29 +0200)]
composition: chain up finalize before clering mcontext_lock.

9 years agocomposition: Initialize the first stack async
Thibault Saunier [Mon, 30 Jun 2014 13:12:38 +0000 (15:12 +0200)]
composition: Initialize the first stack async

9 years agoFinish fixing tests
Thibault Saunier [Sun, 29 Jun 2014 20:35:34 +0000 (22:35 +0200)]
Finish fixing tests

9 years agotests/common: disconnect commited handler
Mathieu Duponchelle [Sat, 28 Jun 2014 12:44:24 +0000 (14:44 +0200)]
tests/common: disconnect commited handler

9 years agocomposition: Actually commit in on our own thread
Mathieu Duponchelle [Fri, 27 Jun 2014 14:12:12 +0000 (16:12 +0200)]
composition: Actually commit in on our own thread

Avoiding races

9 years agocomposition: start and stop task in init and finalize
Mathieu Duponchelle [Fri, 27 Jun 2014 15:03:44 +0000 (17:03 +0200)]
composition: start and stop task in init and finalize

9 years agotests: unref message correctly
Mathieu Duponchelle [Fri, 27 Jun 2014 15:01:34 +0000 (17:01 +0200)]
tests: unref message correctly

9 years agocomposition: home grown task
Mathieu Duponchelle [Fri, 27 Jun 2014 14:40:19 +0000 (16:40 +0200)]
composition: home grown task

9 years agoDon't be sync silly test
Mathieu Duponchelle [Fri, 27 Jun 2014 14:12:28 +0000 (16:12 +0200)]
Don't be sync silly test

9 years agocomposition: simplify update_pipeline_func
Mathieu Duponchelle [Fri, 27 Jun 2014 13:00:48 +0000 (15:00 +0200)]
composition: simplify update_pipeline_func

9 years agocomposition: Reset the srcpad target when removing the toplevelentry
Thibault Saunier [Fri, 27 Jun 2014 14:26:09 +0000 (16:26 +0200)]
composition: Reset the srcpad target when removing the toplevelentry

9 years agocomposition: Use a GstPad task to run the update pipeline thread
Thibault Saunier [Fri, 27 Jun 2014 10:15:10 +0000 (12:15 +0200)]
composition: Use a GstPad task to run the update pipeline thread

9 years agognlcomposition: Factor out code to deactivate old stack and activate new one
Thibault Saunier [Thu, 26 Jun 2014 21:48:09 +0000 (23:48 +0200)]
gnlcomposition: Factor out code to deactivate old stack and activate new one

9 years agocomposition: Avoid looping using gotos
Thibault Saunier [Thu, 26 Jun 2014 17:00:03 +0000 (19:00 +0200)]
composition: Avoid looping using gotos

9 years agognlcomposition: Use the new _object_block_and_drop_data where appropriate
Thibault Saunier [Thu, 26 Jun 2014 16:41:48 +0000 (18:41 +0200)]
gnlcomposition: Use the new _object_block_and_drop_data where appropriate

Renaming block_object_src_pad to _object_block_and_drop_data

9 years agognlcomposition: factor out some functions
Thibault Saunier [Wed, 25 Jun 2014 17:39:29 +0000 (19:39 +0200)]
gnlcomposition: factor out some functions

9 years agognlcomposition: Factor out the condition of _parent_or_priority_changed
Thibault Saunier [Wed, 25 Jun 2014 17:18:29 +0000 (19:18 +0200)]
gnlcomposition: Factor out the condition of _parent_or_priority_changed

9 years agognlcomposition: Add a function to block object source pad
Thibault Saunier [Wed, 25 Jun 2014 17:17:55 +0000 (19:17 +0200)]
gnlcomposition: Add a function to block object source pad

9 years agognl: Add the srcpad directly to GnlObject
Mathieu Duponchelle [Tue, 24 Jun 2014 11:44:13 +0000 (13:44 +0200)]
gnl: Add the srcpad directly to GnlObject

Starting from now we will not claim that we support GnlObject that have
several source pads as this is
1- Not true at all;
2- the design of priorities in the GnlComposition tree does not allow that;
3- Not very useful in most of the cases and it complexifies quite a lot the code
   in the composition.

Conflicts:
configure.ac
tests/check/Makefile.am

9 years agoRevert "gnlobject: Commit object in READY_TO_PAUSED"
Thibault Saunier [Wed, 25 Jun 2014 13:35:08 +0000 (15:35 +0200)]
Revert "gnlobject: Commit object in READY_TO_PAUSED"

This causes races when seeking, reverting for now even if we will
probably want to bring something like that back.

This reverts commit 3549e745a8f0de3977b83c60e9b447afaf55d8a0.

9 years agognlsource: remove useless "controls_one" field.
Mathieu Duponchelle [Tue, 24 Jun 2014 10:52:24 +0000 (12:52 +0200)]
gnlsource: remove useless "controls_one" field.

9 years agoImport GNL from 978332e7c4c3bba1949421d28b492540ab471450 'Release 1.4.0'
Thibault Saunier [Tue, 21 Oct 2014 08:35:48 +0000 (10:35 +0200)]
Import GNL from 978332e7c4c3bba1949421d28b492540ab471450 'Release 1.4.0'

9 years agotests: timelineedition: Init GES once at the beginning.
Thibault Saunier [Fri, 15 Aug 2014 16:02:36 +0000 (18:02 +0200)]
tests: timelineedition: Init GES once at the beginning.

Avoiding to forget to init in a particular test and failling stupidly

9 years agotest: backgroundsource: Disable tests that rely on nlecomposition internals
Thibault Saunier [Fri, 15 Aug 2014 16:00:24 +0000 (18:00 +0200)]
test: backgroundsource: Disable tests that rely on nlecomposition internals

We can't rely on that, in particular now that it does not actually
add its children all the time but only when it is needed (and that
it has an internal bin where actual things happen).

9 years agotimeline: Add a method to retrieve a pad from a track
Thibault Saunier [Wed, 13 Aug 2014 11:15:02 +0000 (13:15 +0200)]
timeline: Add a method to retrieve a pad from a track

It allows user to easily get the proxied pad from a track.

API:
  + ges_timeline_get_pad_for_track

9 years agotools:launcher: Avoid commiting when we are not done loading the timeline
Thibault Saunier [Mon, 28 Jul 2014 13:26:18 +0000 (15:26 +0200)]
tools:launcher: Avoid commiting when we are not done loading the timeline

9 years agoges: Use the new GNL element message feature to notify async operations
Thibault Saunier [Fri, 25 Jul 2014 22:31:32 +0000 (00:31 +0200)]
ges: Use the new GNL element message feature to notify async operations

9 years agoxml-formatter: message-forward is not something that should be parsed.
Mathieu Duponchelle [Thu, 24 Jul 2014 15:55:35 +0000 (17:55 +0200)]
xml-formatter: message-forward is not something that should be parsed.

9 years agotimeline: handle async start
Mathieu Duponchelle [Fri, 25 Jul 2014 12:47:07 +0000 (14:47 +0200)]
timeline: handle async start

9 years agotests: implement our validate TestManager.
Mathieu Duponchelle [Thu, 23 Oct 2014 19:46:04 +0000 (21:46 +0200)]
tests: implement our validate TestManager.

And make sure it installs alongside the other validate apps.

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

9 years agosmart-video-mixer: unref pads_info hash table in dispose
Tim-Philipp Müller [Thu, 30 Oct 2014 15:54:04 +0000 (15:54 +0000)]
smart-video-mixer: unref pads_info hash table in dispose

Before gst_bin_dispose() runs and destroys elements.

9 years agosmart-adder: fix crash in unit test
Tim-Philipp Müller [Thu, 30 Oct 2014 15:20:18 +0000 (15:20 +0000)]
smart-adder: fix crash in unit test

Unref pads_info hash table in dispose instead of
finalize, i.e. before gst_bin_dispose runs and
destroys pads_info->bin (to which the pads_info
does not hold a ref).

9 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 27 Oct 2014 17:01:56 +0000 (18:01 +0100)]
Automatic update of common submodule

From 84d06cd to 7bb2bce

9 years agotrack: fix indentation
Tim-Philipp Müller [Sun, 26 Oct 2014 20:36:22 +0000 (20:36 +0000)]
track: fix indentation

9 years agotimeline-element: don't leak name string
Tim-Philipp Müller [Sun, 26 Oct 2014 20:35:30 +0000 (20:35 +0000)]
timeline-element: don't leak name string

9 years agotimeline: fix mutex and all_elements hash table leaks
Tim-Philipp Müller [Sun, 26 Oct 2014 20:34:29 +0000 (20:34 +0000)]
timeline: fix mutex and all_elements hash table leaks

9 years agotimeline: free tracks obtained via select-tracks-for-object signal
Tim-Philipp Müller [Sun, 26 Oct 2014 20:33:50 +0000 (20:33 +0000)]
timeline: free tracks obtained via select-tracks-for-object signal

9 years agotimeline: free track elements list
Tim-Philipp Müller [Sun, 26 Oct 2014 20:32:41 +0000 (20:32 +0000)]
timeline: free track elements list

9 years agovideo-test-source: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:31:40 +0000 (20:31 +0000)]
video-test-source: fix caps leak

9 years agoframepositionner: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:31:26 +0000 (20:31 +0000)]
framepositionner: fix caps leak

9 years agoaudiotrack: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:31:08 +0000 (20:31 +0000)]
audiotrack: fix caps leak

9 years agovideotrack: fix caps leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:30:53 +0000 (20:30 +0000)]
videotrack: fix caps leak

9 years agotrack: don't leak restriction caps
Tim-Philipp Müller [Sun, 26 Oct 2014 20:30:29 +0000 (20:30 +0000)]
track: don't leak restriction caps

9 years agosmart-adder: don't leak pads_infos hash table
Tim-Philipp Müller [Sun, 26 Oct 2014 20:29:06 +0000 (20:29 +0000)]
smart-adder: don't leak pads_infos hash table

9 years agosmart-video-mixer: don't leak pads_infos hash table
Tim-Philipp Müller [Sun, 26 Oct 2014 20:28:09 +0000 (20:28 +0000)]
smart-video-mixer: don't leak pads_infos hash table

9 years agoproject: fix string leak
Tim-Philipp Müller [Sun, 26 Oct 2014 20:27:17 +0000 (20:27 +0000)]
project: fix string leak

9 years agometacontainer: don't leak GValue contents
Tim-Philipp Müller [Sun, 26 Oct 2014 20:25:46 +0000 (20:25 +0000)]
metacontainer: don't leak GValue contents

9 years agotests: don't leak clips list in basic unit test
Tim-Philipp Müller [Sun, 26 Oct 2014 20:24:09 +0000 (20:24 +0000)]
tests: don't leak clips list in basic unit test

9 years agoParallelise 'make check-valgrind'
Tim-Philipp Müller [Sun, 26 Oct 2014 20:23:26 +0000 (20:23 +0000)]
Parallelise 'make check-valgrind'

9 years agoges-validate: issues naming have changed.
Mathieu Duponchelle [Wed, 22 Oct 2014 12:15:11 +0000 (14:15 +0200)]
ges-validate: issues naming have changed.

Update the override.

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 21 Oct 2014 12:04:26 +0000 (13:04 +0100)]
Automatic update of common submodule

From a8c8939 to 84d06cd

9 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 21 Oct 2014 11:01:04 +0000 (13:01 +0200)]
Automatic update of common submodule

From 36388a1 to a8c8939

9 years agoBack to development
Thibault Saunier [Mon, 20 Oct 2014 11:37:25 +0000 (13:37 +0200)]
Back to development

9 years agoRelease 1.4.0
Thibault Saunier [Mon, 20 Oct 2014 09:56:36 +0000 (11:56 +0200)]
Release 1.4.0

9 years agovalidate: Fix naming of add_action_type to register_action_type
Thibault Saunier [Thu, 16 Oct 2014 12:18:16 +0000 (14:18 +0200)]
validate: Fix naming of add_action_type to register_action_type

That function was just renamed in Validate

9 years agovalidate: Rename --list-action-types to --inspect-action-type
Thibault Saunier [Sun, 12 Oct 2014 17:46:59 +0000 (19:46 +0200)]
validate: Rename --list-action-types to --inspect-action-type

Making clearer the meaning of the parameter and closer to
the usual naming in the GStreamer land.

9 years agoRelease 1.3.90
Thibault Saunier [Wed, 24 Sep 2014 09:07:40 +0000 (11:07 +0200)]
Release 1.3.90

9 years agoconfigure: bump (soft) gst-validate requirement
Tim-Philipp Müller [Sat, 13 Sep 2014 15:16:15 +0000 (16:16 +0100)]
configure: bump (soft) gst-validate requirement

Won't build against all older git versions with
0.0.1.0 as version number.

9 years agoges-launch: option to select encoding profile from xml
Lubosz Sarnecki [Sun, 20 Jul 2014 09:47:18 +0000 (11:47 +0200)]
ges-launch: option to select encoding profile from xml

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

9 years agoges-launch: clean up help page
Lubosz Sarnecki [Sun, 20 Jul 2014 09:47:56 +0000 (11:47 +0200)]
ges-launch: clean up help page

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

9 years agovalidate: gst_validate_print_action_types now takes a const gchar **
Thibault Saunier [Fri, 5 Sep 2014 21:14:10 +0000 (23:14 +0200)]
validate: gst_validate_print_action_types now takes a const gchar **

9 years agovalidate: Add the "ges" as implementer namespace for our action types
Thibault Saunier [Fri, 5 Sep 2014 21:08:41 +0000 (23:08 +0200)]
validate: Add the "ges" as implementer namespace for our action types

9 years agoges-launch: Fix typo in --help output
Sebastian Dröge [Fri, 5 Sep 2014 19:09:44 +0000 (22:09 +0300)]
ges-launch: Fix typo in --help output

9 years agoges-launch: Fix compiler warnings
Sebastian Dröge [Fri, 5 Sep 2014 19:08:49 +0000 (22:08 +0300)]
ges-launch: Fix compiler warnings

ges_validate_print_action_types() takes a const gchar **.

9 years agoges-validate: Rename edit-clip to edit-container
Thibault Saunier [Fri, 22 Aug 2014 19:02:58 +0000 (21:02 +0200)]
ges-validate: Rename edit-clip to edit-container

So it represent better what the action does at the GES level

9 years agoges-validate: Port to the new GstValidate action registration API
Thibault Saunier [Fri, 22 Aug 2014 19:01:07 +0000 (21:01 +0200)]
ges-validate: Port to the new GstValidate action registration API

9 years agotools:validate: Concider seek in PAUSED position being not exact as WARNING
Thibault Saunier [Thu, 24 Jul 2014 17:03:50 +0000 (19:03 +0200)]
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

9 years agoges-validate: Let GstValidate handle assert logs
Thibault Saunier [Fri, 8 Aug 2014 08:41:48 +0000 (10:41 +0200)]
ges-validate: Let GstValidate handle assert logs

9 years agoges:validate: Port to the new handles-states API
Thibault Saunier [Sun, 27 Jul 2014 13:42:42 +0000 (15:42 +0200)]
ges:validate: Port to the new handles-states API

9 years agoMakefile: Add usage of build-checks step
Edward Hervey [Fri, 1 Aug 2014 08:44:57 +0000 (10:44 +0200)]
Makefile: Add usage of build-checks step

Allows building checks without running them

10 years agotext-overlay: added text properties as child-properties
Lazar Claudiu [Thu, 24 Jul 2014 10:23:36 +0000 (13:23 +0300)]
text-overlay: added text properties as child-properties

10 years agoges: Use registry to select the compositor element
Thibault Saunier [Mon, 16 Jun 2014 09:38:29 +0000 (11:38 +0200)]
ges: Use registry to select the compositor element

10 years agoxml-formatter: Set errno to 0 before g_ascii_strtoll.
Mathieu Duponchelle [Fri, 18 Jul 2014 16:27:20 +0000 (18:27 +0200)]
xml-formatter: Set errno to 0 before g_ascii_strtoll.

10 years agosmart-video-mixer: fix memory leak on error path
Vincent Penquerc'h [Thu, 12 Jun 2014 08:51:02 +0000 (09:51 +0100)]
smart-video-mixer: fix memory leak on error path

Coverity 1212166

10 years agotrackelement: Sort paramspec by name in list_children_properties
Thibault Saunier [Thu, 20 Mar 2014 16:04:31 +0000 (17:04 +0100)]
trackelement: Sort paramspec by name in list_children_properties

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

10 years agotools: Fix transition handling in ges-launch
Thibault Saunier [Fri, 6 Jun 2014 10:08:47 +0000 (12:08 +0200)]
tools: Fix transition handling in ges-launch

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

10 years agoclip: Fix the ges_clip_set_position function
Thibault Saunier [Thu, 5 Jun 2014 02:20:15 +0000 (04:20 +0200)]
clip: Fix the ges_clip_set_position function

And enhance the new test

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

10 years agoclip: Rename top_effect_index to top_effect_index
Thibault Saunier [Thu, 5 Jun 2014 02:05:06 +0000 (04:05 +0200)]
clip: Rename top_effect_index to top_effect_index

Keeping the old method to not break the API but removing it from the
documentation as users should use the new method (which is the exact
same with a better naming)

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

10 years agotests: Check ges_clip_set_position behaviour
Thibault Saunier [Thu, 5 Jun 2014 01:48:12 +0000 (03:48 +0200)]
tests: Check ges_clip_set_position behaviour

+ Minor fix to handle properly the feature when clip is not in any layer

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

10 years agoclip: Add test for effects priorities
Alexandru Băluț [Wed, 4 Jun 2014 21:16:42 +0000 (23:16 +0200)]
clip: Add test for effects priorities

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

10 years agopipeline: Add support to rendering without container
Thibault Saunier [Thu, 5 Jun 2014 00:16:01 +0000 (02:16 +0200)]
pipeline: Add support to rendering without container

+ Simplify the support in ges-launch as we should not require the
profile desc to start with : in that case

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

10 years agoFix invalid GEnumValue.value_name entries.
Christoph Reiter [Sat, 24 May 2014 17:16:12 +0000 (19:16 +0200)]
Fix invalid GEnumValue.value_name entries.

This makes the enum entries in the gir have valid c:identifiers and documentation.

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

10 years agoges-track: fill the gaps left empty by deactivated track elements.
Mathieu Duponchelle [Tue, 3 Jun 2014 15:53:23 +0000 (17:53 +0200)]
ges-track: fill the gaps left empty by deactivated track elements.

10 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 May 2014 08:54:19 +0000 (10:54 +0200)]
Automatic update of common submodule

From 211fa5f to 1f5d3c3

10 years agoges:clip: Add a method to look for a list of TrackElement-s
Thibault Saunier [Mon, 19 May 2014 10:21:52 +0000 (12:21 +0200)]
ges:clip: Add a method to look for a list of TrackElement-s

+ Add unit tests to check it works properly.

API:
  + ges_clip_find_track_elements

10 years agotools: Handle request state changes from GstValidate
Thibault Saunier [Sun, 18 May 2014 16:34:26 +0000 (18:34 +0200)]
tools: Handle request state changes from GstValidate