platform/upstream/gst-editing-services.git
11 years agosmart-adder: remove volume from the bin, which quite simplifies the code.
Mathieu Duponchelle [Wed, 15 May 2013 16:59:10 +0000 (18:59 +0200)]
smart-adder: remove volume from the bin, which quite simplifies the code.

+ Don't be too smart, adder.

11 years agosmart-adder: Implement a GESSmartAdder bin element to be used as mixing element
Thibault Saunier [Sat, 30 Mar 2013 23:08:15 +0000 (00:08 +0100)]
smart-adder: Implement a GESSmartAdder bin element to be used as mixing element

..in audio tracks

11 years agometa-container: Add a VOLUME default meta to layers
Thibault Saunier [Mon, 22 Apr 2013 03:21:58 +0000 (00:21 -0300)]
meta-container: Add a VOLUME default meta to layers

11 years agoges: Misc documentation fixes
Thibault Saunier [Sun, 31 Mar 2013 10:34:58 +0000 (12:34 +0200)]
ges: Misc documentation fixes

11 years agotrack: Implement infrastructure for mixing
Thibault Saunier [Sat, 30 Mar 2013 18:02:52 +0000 (19:02 +0100)]
track: Implement infrastructure for mixing

11 years agotrack-element: Set a reference to the GESTrackElement on the GnlObjects using qdata
Thibault Saunier [Sat, 30 Mar 2013 18:01:26 +0000 (19:01 +0100)]
track-element: Set a reference to the GESTrackElement on the GnlObjects using qdata

11 years agoges: Make space in the GESTracks to be able to add mixing elements later
Thibault Saunier [Fri, 29 Mar 2013 18:23:00 +0000 (19:23 +0100)]
ges: Make space in the GESTracks to be able to add mixing elements later

And update the tests

11 years agotests:effects: Make use of normal layers, and enhance tests
Thibault Saunier [Fri, 29 Mar 2013 18:04:54 +0000 (19:04 +0100)]
tests:effects: Make use of normal layers, and enhance tests

11 years agolayer: Fix some mix up in variable names
Thibault Saunier [Fri, 29 Mar 2013 17:56:31 +0000 (18:56 +0100)]
layer: Fix some mix up in variable names

11 years agolayer: Simplify a bit how we handle priorities
Thibault Saunier [Fri, 29 Mar 2013 17:55:27 +0000 (18:55 +0100)]
layer: Simplify a bit how we handle priorities

11 years agotimeline-element: Make it possible to reset the timeline property to NULL
Thibault Saunier [Fri, 29 Mar 2013 17:53:25 +0000 (18:53 +0100)]
timeline-element: Make it possible to reset the timeline property to NULL

+ Add some debug symbol

11 years agoges: Implement GESAudioTrack and GESVideoTrack, subclasses of GESTrack
Thibault Saunier [Thu, 28 Mar 2013 17:51:45 +0000 (18:51 +0100)]
ges: Implement GESAudioTrack and GESVideoTrack, subclasses of GESTrack

11 years agoges-launch: Report position while playing back
Thibault Saunier [Mon, 17 Jun 2013 01:47:52 +0000 (21:47 -0400)]
ges-launch: Report position while playing back

Giving more feedbacks to the user

11 years agoges-launch: Remove xptv formatter related code
Thibault Saunier [Sun, 16 Jun 2013 23:10:18 +0000 (19:10 -0400)]
ges-launch: Remove xptv formatter related code

It is not usefull anymore

11 years agoges-launch: Properly add UriClipAssets to the project
Thibault Saunier [Sun, 16 Jun 2013 02:13:20 +0000 (22:13 -0400)]
ges-launch: Properly add UriClipAssets to the project

11 years agoges: Port to the new commit based API in GNL
Thibault Saunier [Sun, 9 Jun 2013 16:29:05 +0000 (12:29 -0400)]
ges: Port to the new commit based API in GNL

The GNL API changed to go from a model where user could
enable/disable updates in the composition, which leaded to races
in many places, to a model where any positioning change in the
composition is not directly done but 'cached' and then the user
has to commit those changes so they become effective in the media
processing stack.

The new API in GES is pretty similare and is basically copy
pasting this new design.

We still need to see if in some context it would make sense to add
a mode where we would commit any changes ourself at the end of our
operation for basic use cases.

Removed APIs:
  ges_timeline_enable_update
  ges_timeline_is_updating
  ges_track_enable_update
  ges_track_is_updating

New APIs:
  ges_track_commit
  ges_timeline_commit

11 years agotimeline: fix segfaults
Lubosz Sarnecki [Thu, 20 Jun 2013 12:23:26 +0000 (14:23 +0200)]
timeline: fix segfaults

don't call the timeline update, when the reference is invalid

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

11 years agoautogen.sh: generate from common module, fixing srcdir != builddir build
Tim-Philipp Müller [Tue, 18 Jun 2013 12:32:38 +0000 (13:32 +0100)]
autogen.sh: generate from common module, fixing srcdir != builddir build

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

11 years agoAdd .doap file
Tim-Philipp Müller [Tue, 18 Jun 2013 12:14:48 +0000 (13:14 +0100)]
Add .doap file

Needed for common/update-autogen, but generally not a bad idea.

11 years agoges-uri-asset.c: Fix ges_uri_asset_request_sync annotations.
Mathieu Duponchelle [Tue, 30 Apr 2013 17:16:10 +0000 (19:16 +0200)]
ges-uri-asset.c: Fix ges_uri_asset_request_sync annotations.

11 years agoproject: Disable update in the project rather than the formatter
Thibault Saunier [Wed, 12 Jun 2013 15:32:16 +0000 (11:32 -0400)]
project: Disable update in the project rather than the formatter

We need to make sure the update are disabled until the project is fully
loaded, let the responsability to the project instead of the formatter

11 years agotimeline: Sync track enable_update property with parent
Thibault Saunier [Wed, 12 Jun 2013 15:09:13 +0000 (11:09 -0400)]
timeline: Sync track enable_update property with parent

When we add a track to a timeline, we want it "enable update" property
to be set to the timeline's

11 years agoges-launch: Make use of assets for uri clips
Thibault Saunier [Wed, 12 Jun 2013 14:48:03 +0000 (10:48 -0400)]
ges-launch: Make use of assets for uri clips

It avoids races in TrackElement creations.

We should make use of assets everywhere in ges-launch but start using
them for uriclips first for now.

11 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 5 Jun 2013 13:18:36 +0000 (15:18 +0200)]
Automatic update of common submodule

From 098c0d7 to 01a7a46

11 years agotests: Pass a ref of CAPS_ANY to ges_track_new
Thibault Saunier [Thu, 30 May 2013 15:40:36 +0000 (11:40 -0400)]
tests: Pass a ref of CAPS_ANY to ges_track_new

11 years agotests: Add a basic test for pipeline state change
Thibault Saunier [Wed, 29 May 2013 20:48:03 +0000 (16:48 -0400)]
tests: Add a basic test for pipeline state change

Add some test utils to create a pipeline

11 years agoges: Protect from Gst dynamic callbacks
Thibault Saunier [Wed, 29 May 2013 18:05:52 +0000 (14:05 -0400)]
ges: Protect from Gst dynamic callbacks

The pad-added and no-more-pad signal can be emited from any thread
so we have to protect our code from that

11 years agotrack: Update all gaps when timeline duration changed
Thibault Saunier [Thu, 23 May 2013 19:52:35 +0000 (15:52 -0400)]
track: Update all gaps when timeline duration changed

And add a unit test to check that a gap is created in empty tracks

11 years agoFinish renaming filesource to urisource
Thibault Saunier [Thu, 23 May 2013 17:16:22 +0000 (13:16 -0400)]
Finish renaming filesource to urisource

11 years agotrack: Update gaps when we set the timeline
Thibault Saunier [Thu, 23 May 2013 15:57:42 +0000 (11:57 -0400)]
track: Update gaps when we set the timeline

11 years agoges-pitivi-formatter: Remove some unneeded includes and clean up includes
Sebastian Dröge [Tue, 28 May 2013 06:51:08 +0000 (08:51 +0200)]
ges-pitivi-formatter: Remove some unneeded includes and clean up includes

Fixes the build on Windows, where there's no unistd.h... which wasn't
needed at all.

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

11 years agotests: Use the gst_check_run_suite helper everywhere
Thibault Saunier [Tue, 28 May 2013 02:10:03 +0000 (22:10 -0400)]
tests: Use the gst_check_run_suite helper everywhere

Using GST_CHECK_MAIN where appropriate

This way it is possible to specify an XML file to store tests results in

11 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 15 May 2013 08:55:22 +0000 (10:55 +0200)]
Automatic update of common submodule

From 5edcd85 to 098c0d7

11 years agoUpdate gitignore
Nicolas Dufresne [Tue, 5 Mar 2013 22:09:18 +0000 (17:09 -0500)]
Update gitignore

11 years agoGESAssetLoadingReturn cannot be internal
Nicolas Dufresne [Tue, 5 Mar 2013 22:07:29 +0000 (17:07 -0500)]
GESAssetLoadingReturn cannot be internal

The enumeration is referenced in a public API.

11 years agoclip: Avoid corruption of our list of children while ungrouping
Thibault Saunier [Sun, 5 May 2013 10:13:24 +0000 (11:13 +0100)]
clip: Avoid corruption of our list of children while ungrouping

11 years agotests: add project auto-transition test
Anton Belka [Wed, 24 Apr 2013 12:25:20 +0000 (15:25 +0300)]
tests: add project auto-transition test

11 years agotests: add timeline auto-transition test
Anton Belka [Wed, 24 Apr 2013 12:23:44 +0000 (15:23 +0300)]
tests: add timeline auto-transition test

11 years agotimeline: add auto-transition
Anton Belka [Wed, 24 Apr 2013 12:18:01 +0000 (15:18 +0300)]
timeline: add auto-transition

API:
 ges_timeline_get_auto_transition
 ges_timeline_set_auto_transition
 GESTimeline::auto-transition

11 years agobasexmlformatter: Do not allow empty file loading
Thibault Saunier [Tue, 30 Apr 2013 17:26:57 +0000 (18:26 +0100)]
basexmlformatter: Do not allow empty file loading

11 years agovideo-test-src: Force video/x-raw
Thibault Saunier [Sat, 27 Apr 2013 06:45:29 +0000 (03:45 -0300)]
video-test-src: Force video/x-raw

Avoiding to hit errors with video/x-bayer

11 years agoaudiotransition: Add a resampler in the audio transition bin
Mathieu Duponchelle [Sun, 21 Apr 2013 19:35:22 +0000 (21:35 +0200)]
audiotransition: Add a resampler in the audio transition bin

11 years agoaudiotransition: Fix porting error of the interpollator
Mathieu Duponchelle [Sun, 21 Apr 2013 17:21:14 +0000 (19:21 +0200)]
audiotransition: Fix porting error of the interpollator

  + update debug statements s/LOG/INFO

(acontrolsource != bcontrolsource)

11 years agotest-clip: Do not set black/silent by default
Thibault Saunier [Sat, 27 Apr 2013 06:44:40 +0000 (03:44 -0300)]
test-clip: Do not set black/silent by default

11 years agoreplace query_caps with get_current_caps. don't check for unused gnlobject.
Mathieu Duponchelle [Wed, 24 Apr 2013 01:50:40 +0000 (03:50 +0200)]
replace query_caps with get_current_caps. don't check for unused gnlobject.

11 years agoRename GESTimelineLayer to GESLayer
Thibault Saunier [Tue, 23 Apr 2013 23:04:04 +0000 (20:04 -0300)]
Rename GESTimelineLayer to GESLayer

11 years agolayer: Remove the "rate" property of ges_timeline_layer_add_asset
Thibault Saunier [Tue, 23 Apr 2013 22:57:44 +0000 (19:57 -0300)]
layer: Remove the "rate" property of ges_timeline_layer_add_asset

API:
 - ges_timeline_layer_add_asset (layer, asset,  start,  inpoint, duration, rate, track_types);
 + ges_timeline_layer_add_asset (layer, asset,  start,  inpoint, duration, track_types);

11 years agotrackelement: asynchronously add bindings if the track-element is not in a track...
Mathieu Duponchelle [Tue, 23 Apr 2013 20:38:23 +0000 (22:38 +0200)]
trackelement: asynchronously add bindings if the track-element is not in a track yet.

Also fix annotations.

11 years agoformatter: Pass a dummy instance of formatter to virtual method
Thibault Saunier [Mon, 22 Apr 2013 20:34:09 +0000 (17:34 -0300)]
formatter: Pass a dummy instance of formatter to virtual method

Instead of passing the class itself

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 22 Apr 2013 22:56:03 +0000 (23:56 +0100)]
Automatic update of common submodule

From 3cb3d3c to 5edcd85

11 years agoFix compilation
Thibault Saunier [Mon, 22 Apr 2013 12:41:26 +0000 (09:41 -0300)]
Fix compilation

11 years agoxml-formatter: Use G_GUINT64_FORMAT where needed
Thibault Saunier [Mon, 22 Apr 2013 00:29:29 +0000 (21:29 -0300)]
xml-formatter: Use G_GUINT64_FORMAT where needed

11 years agouri-clip-asset: Add "_class_" to a class method
Thibault Saunier [Mon, 22 Apr 2013 00:13:00 +0000 (21:13 -0300)]
uri-clip-asset: Add "_class_" to a class method

API CHANGE:
- ges_uri_clip_asset_set_timeout
+ ges_uri_clip_asset_class_set_timeout

11 years agoges: Fix compilation with clang
Thibault Saunier [Mon, 22 Apr 2013 00:11:52 +0000 (21:11 -0300)]
ges: Fix compilation with clang

11 years agoproject: Accept NULL as a valid value for @id in _create_asset
Thibault Saunier [Fri, 19 Apr 2013 22:58:21 +0000 (19:58 -0300)]
project: Accept NULL as a valid value for @id in _create_asset

11 years agotests: Check splitting a clip with several TrackElement
Thibault Saunier [Thu, 18 Apr 2013 21:41:02 +0000 (18:41 -0300)]
tests: Check splitting a clip with several TrackElement

11 years agoclip: Rework the splitting method
Thibault Saunier [Fri, 19 Apr 2013 00:45:18 +0000 (21:45 -0300)]
clip: Rework the splitting method

  + Avoid setting clip duration of our parent ourself

Now each and every TrackElement inside a clip have the same
start/inpoint/duration

11 years agoges: Fix compilation
Thibault Saunier [Thu, 18 Apr 2013 21:59:52 +0000 (18:59 -0300)]
ges: Fix compilation

11 years agopipeline: Add API guards where needed
Thibault Saunier [Thu, 18 Apr 2013 21:37:17 +0000 (18:37 -0300)]
pipeline: Add API guards where needed

11 years agopipeline: Add a GError argument
Thibault Saunier [Wed, 17 Apr 2013 19:51:30 +0000 (16:51 -0300)]
pipeline: Add a GError argument

11 years agopipeline: Return FALSE in save_thumbnail when the operation fails
Thibault Saunier [Wed, 17 Apr 2013 19:48:05 +0000 (16:48 -0300)]
pipeline: Return FALSE in save_thumbnail when the operation fails

11 years agotests:timelineedition: Add a simple trimming test
Mathieu Duponchelle [Sun, 14 Apr 2013 23:30:10 +0000 (01:30 +0200)]
tests:timelineedition: Add a simple trimming test

11 years agocontainer: The TimelineElement.inpoint property is call "in-point" not inpoint
Thibault Saunier [Mon, 15 Apr 2013 02:19:02 +0000 (23:19 -0300)]
container: The TimelineElement.inpoint property is call "in-point" not inpoint

11 years agoges-clip: Remove the unlocked TrackElement APIs
Thibault Saunier [Fri, 22 Mar 2013 22:44:28 +0000 (19:44 -0300)]
ges-clip: Remove the unlocked TrackElement APIs

Remove APIs:
  ges_track_element_set_locked
  ges_track_element_is_locked

Those APIs where really not nice to use and were causing more issues
than solving them. If 2 time related properties of TimelineElement must
be different, then those element can *not* have the same parent.

Plus, with the new ges_container_group () API, we will recreate 1
GESClip containing the proper GESTimelineElements if it is the thing
to do.

11 years agopitivi-formatter: Remove broken code to handle unlocked track object
Thibault Saunier [Fri, 22 Mar 2013 22:34:14 +0000 (19:34 -0300)]
pitivi-formatter: Remove broken code to handle unlocked track object

WARNING: The plan is to remove unlocked track object APIs so this is
the first part of that process... that code was already broken, and
*needs* to be fixed anyway, better do it using new APIs

11 years agopitivi-formatter: Remove saving code
Thibault Saunier [Fri, 22 Mar 2013 21:43:30 +0000 (18:43 -0300)]
pitivi-formatter: Remove saving code

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 14 Apr 2013 16:58:38 +0000 (17:58 +0100)]
Automatic update of common submodule

From aed87ae to 3cb3d3c

11 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 9 Apr 2013 19:03:03 +0000 (21:03 +0200)]
Automatic update of common submodule

From 04c7a1e to aed87ae

11 years agotimeline: call sync_state_with_parent when adding a child
Thibault Saunier [Tue, 9 Apr 2013 03:02:14 +0000 (00:02 -0300)]
timeline: call sync_state_with_parent when adding a child

11 years agotrack-element: Rename set_property_controlling_parameters set_control_source
Thibault Saunier [Sun, 31 Mar 2013 14:07:14 +0000 (16:07 +0200)]
track-element: Rename set_property_controlling_parameters set_control_source

  + Generate the documentation

11 years ago[Keyframes] Adds API to set a control binding on a track element, and the serializati...
Mathieu Duponchelle [Sat, 30 Mar 2013 17:54:50 +0000 (18:54 +0100)]
[Keyframes] Adds API to set a control binding on a track element, and the serialization code.

11 years agoChanging remaining clip::track-element-added to container::child-added
Thibault Saunier [Sat, 30 Mar 2013 14:40:38 +0000 (15:40 +0100)]
Changing remaining clip::track-element-added to container::child-added

11 years agopipeline: Implement the video overlay interface
Thibault Saunier [Sat, 30 Mar 2013 13:35:45 +0000 (14:35 +0100)]
pipeline: Implement the video overlay interface

11 years agoges-launch: Do no create "normal" timeline when you load a project
Thibault Saunier [Sat, 30 Mar 2013 12:37:43 +0000 (13:37 +0100)]
ges-launch: Do no create "normal" timeline when you load a project

11 years agotimeline-pipeline: Enhance API guards
Thibault Saunier [Sat, 30 Mar 2013 12:34:56 +0000 (13:34 +0100)]
timeline-pipeline: Enhance API guards

11 years agotimeline: Do no unref the timeline before returning it
Thibault Saunier [Sat, 30 Mar 2013 12:34:36 +0000 (13:34 +0100)]
timeline: Do no unref the timeline before returning it

11 years agocontainer: s/get_priorty_range/get_priority_range/
Thibault Saunier [Sat, 30 Mar 2013 11:30:47 +0000 (12:30 +0100)]
container: s/get_priorty_range/get_priority_range/

11 years agotimeline: Comment some variables goals
Thibault Saunier [Fri, 29 Mar 2013 14:50:12 +0000 (15:50 +0100)]
timeline: Comment some variables goals

11 years agotests:effect: Do not re-add effect to the track
Thibault Saunier [Thu, 28 Mar 2013 18:00:25 +0000 (19:00 +0100)]
tests:effect: Do not re-add effect to the track

11 years agocontainer: Let subclasses handle the height
Thibault Saunier [Sun, 24 Mar 2013 17:42:55 +0000 (18:42 +0100)]
container: Let subclasses handle the height

+ Fix tests (starting using GESTestClip instead of GESCustomClip)

Now the height is not only growing, but can also go down, as the value
is just simply computed

API:
GESContainer::compute_height virtual method

11 years agocontainer: Properly implement ges_container_group
Thibault Saunier [Sat, 23 Mar 2013 08:46:38 +0000 (09:46 +0100)]
container: Properly implement ges_container_group

11 years agotest:basic: Do not add useless references, and minor improvements
Thibault Saunier [Sat, 23 Mar 2013 07:48:43 +0000 (08:48 +0100)]
test:basic: Do not add useless references, and minor improvements

11 years agoclip: Emit notify signal when setting Clip.layer
Thibault Saunier [Sat, 23 Mar 2013 07:45:00 +0000 (08:45 +0100)]
clip: Emit notify signal when setting Clip.layer

11 years agotimeline: Remove TrackElement from its container on GESTimelineLayer::"clip-removed"
Thibault Saunier [Sat, 23 Mar 2013 07:14:55 +0000 (08:14 +0100)]
timeline: Remove TrackElement from its container on GESTimelineLayer::"clip-removed"

.... when the Track is NULL

11 years agocontainer: Make sure that the child exists when emiting the "child-removed" signal
Thibault Saunier [Sat, 23 Mar 2013 06:27:46 +0000 (03:27 -0300)]
container: Make sure that the child exists when emiting the "child-removed" signal

  + Add a test

11 years agocontainer: Replace ignore_notify by a GESChildrenControlMode flag
Thibault Saunier [Sat, 23 Mar 2013 06:26:33 +0000 (03:26 -0300)]
container: Replace ignore_notify by a GESChildrenControlMode flag

11 years agocontainer: Stop ignoring notifies if ->add_child fails
Thibault Saunier [Sat, 23 Mar 2013 04:35:02 +0000 (01:35 -0300)]
container: Stop ignoring notifies if ->add_child fails

11 years agointernal: Add a element_end_compare
Thibault Saunier [Sat, 23 Mar 2013 04:33:39 +0000 (01:33 -0300)]
internal: Add a element_end_compare

11 years agotimeline-element: Add a macro to get element 'end'
Thibault Saunier [Sat, 23 Mar 2013 04:31:23 +0000 (01:31 -0300)]
timeline-element: Add a macro to get element 'end'

11 years agoges: Keep ges-gerror categories simple.
Thibault Saunier [Fri, 22 Mar 2013 20:39:04 +0000 (17:39 -0300)]
ges: Keep ges-gerror categories simple.

11 years agoMisc cleaning
Thibault Saunier [Fri, 22 Mar 2013 01:17:10 +0000 (22:17 -0300)]
Misc cleaning

11 years agotrack-element: Make ges_track_element_set_track internal
Thibault Saunier [Fri, 22 Mar 2013 01:12:47 +0000 (22:12 -0300)]
track-element: Make ges_track_element_set_track internal

Removed API:
  + ges_track_element_set_track

11 years agoges: Make ges_clip_create_track_element(s) internal methods
Thibault Saunier [Fri, 22 Mar 2013 01:03:09 +0000 (22:03 -0300)]
ges: Make ges_clip_create_track_element(s) internal methods

  + Fix tests (we still need a round of modernisation, making use of
      assets where it makes sense)

There is no reason to use those method outside of GES, so remove them,
cleaning the API and making it easier for users.

Removed APIs:
-----------
    * ges_clip_create_track_element
    * ges_clip_create_track_elements

11 years agotests::uriclip: Use a real file to test still images
Thibault Saunier [Fri, 22 Mar 2013 00:42:31 +0000 (21:42 -0300)]
tests::uriclip: Use a real file to test still images

  + Make use of GESAssets

And do proper refactoring

11 years agouri-asset: Properly handle images and do not duplicate the TrackType
Thibault Saunier [Wed, 20 Mar 2013 00:07:58 +0000 (21:07 -0300)]
uri-asset: Properly handle images and do not duplicate the TrackType

11 years agouri-asset: Implement a ges_uri_clip_asset_request_sync method
Thibault Saunier [Tue, 19 Mar 2013 22:49:09 +0000 (19:49 -0300)]
uri-asset: Implement a ges_uri_clip_asset_request_sync method

This way we let the possibility to the user to actually do it, but we avoid him to do it
without knowing it is absolutely not recommanded to.

API:
+ ges_uri_clip_asset_request_sync

11 years agoStart categorizing GError types in GES
Thibault Saunier [Mon, 18 Mar 2013 15:41:06 +0000 (12:41 -0300)]
Start categorizing GError types in GES

11 years agotimeline-element: Do not give a reference to the calles of g_object_get_property
Thibault Saunier [Mon, 18 Mar 2013 13:03:19 +0000 (10:03 -0300)]
timeline-element: Do not give a reference to the calles of g_object_get_property

... for both the "parent" and the "timeline" properties

Making things simpler to handle for the copy method.

11 years agoclip: Make it mandatory that a clip is in a layer to be splittable
Thibault Saunier [Mon, 18 Mar 2013 13:02:10 +0000 (10:02 -0300)]
clip: Make it mandatory that a clip is in a layer to be splittable

Otherwize we will not be able to describe if the returned object has a floating reference or not, and this would screw the introspection.

11 years agoUse gst_object_ref_sink instead of g_object_ref_sink when appropriate
Thibault Saunier [Mon, 18 Mar 2013 12:49:18 +0000 (09:49 -0300)]
Use gst_object_ref_sink instead of g_object_ref_sink when appropriate

Making refcount issue debugging simpler