Thibault Saunier
0767f08c7a
Always prefer gst_object_(un)ref over g_object_(un)ref
...
Making the refcount issue debugging easier
2013-03-18 12:48:41 -03:00
Thibault Saunier
dd50427714
clip: Make set/is_moving_from_layer internal
2013-03-15 12:01:58 -03:00
Thibault Saunier
058f0d0099
clip: Reindent header and make ges_clip_set_layer internal
2013-03-15 11:58:59 -03:00
Thibault Saunier
2fede3adeb
track: Cleanup header and add a FIXME
2013-03-15 11:38:03 -03:00
Thibault Saunier
aa740d86bd
Remove GESTrackElements from GESTracks when removing from a GESClip
...
... Not the other way round.
+ Add and enhance debugging info on the way
The user should not be responsible for removing the GESTrackElements from
GESTracks, instead, removing it from a GESClip should imply removing
it from any GESTrack it is in.
This patch changes sensibly the behaviour when we remove a
GESTrackElement from a GESTrack, not remoing it from the GESClip it is
in. *But*, users should never remove a GESTrackElement from a GESTrack
anyway. The testsuite has been updated to that new behaviour.
2013-03-15 11:17:06 -03:00
Thibault Saunier
7943bb510a
ges: Make GESTimeline responsible for adding GESTrackElement to GESTrack
...
+ Fix tests as necessary (Do not use agingtv as it can be "applied" on any TrackType
and is not representative of what happens IRL)
We already had the infrastructure so the user can have the control over where to add
the elements (through the "select-track-for-object" signal). We now make use of that
signal everytime a GESClip is added to a GESTimelineLayer. This make user's life easier,
and object responsability clearer.
2013-03-15 00:13:09 -03:00
Thibault Saunier
b397a41f2f
Add a GESEffectAsset class, and make sure to set the GESTrackType asap on effects
...
+ Make use of the asset in ges_effect_new
2013-03-15 00:13:09 -03:00
Thibault Saunier
eaf30dd4c5
ges: Use GESAsset in clip contructors when possible
2013-03-15 00:13:09 -03:00
Thibault Saunier
fceb80dda3
timeline-element: Set asset from the copied element to the new copy
2013-03-15 00:13:09 -03:00
Thibault Saunier
f579a6a95c
container: Add a ges_container_group method
...
+ Add some basic unit tests
API:
GESContainer:group vmethod
ges_container_group
2013-03-15 00:13:09 -03:00
Thibault Saunier
ae80f08869
track: Do not remove a TrackElement from a NULL clip
2013-03-15 00:13:09 -03:00
Thibault Saunier
c73ced52f8
container: Add a way to ungroup a GESContainer into several GESContainers
...
+ Add simple unit test
API:
GESContainerClass::ungroup vmethod
ges_container_ungroup
2013-03-15 00:13:09 -03:00
Thibault Saunier
c72c14b398
timeline-element: Make it possible to reset parent to NULL
2013-03-15 00:13:08 -03:00
Thibault Saunier
3136ccf84c
Fix some documentations
2013-03-15 00:13:08 -03:00
Thibault Saunier
795b8df1b6
Implement GESContainer
...
+ Fix unit tests
+ Minor enhancement in unit tests
API changes:
-----------
* ges_track_element_get_clip -> ges_timeline_element_get_parent
* ges_clip_add_track_element -> ges_container_add
* ges_clip_release_track_element -> ges_container_remove
* ges_clip_get_track_elements -> ges_container_get_children
(or GES_CONTAINER_CHILDREN)
2013-03-15 00:13:08 -03:00
Thibault Saunier
0673739893
docs: Remove ges_clip_lock_track_elements
...
it does not exist anymore...
2013-03-14 18:11:56 -03:00
Thibault Saunier
25bcb023ca
timeline-element: Enhance debug statement and documentation
...
+ Accept NULL as a parent
2013-03-14 18:11:56 -03:00
Thibault Saunier
0cb8c671ea
timeline-element: Add a "timeline" property
2013-03-14 18:10:34 -03:00
Thibault Saunier
684eef17a6
gitignore: Ignore *.page
2013-03-14 18:10:34 -03:00
Thibault Saunier
736df5abfd
docs: Add an little explanation about the class hierarchie rework
2013-03-14 16:20:00 -03:00
Tim-Philipp Müller
a43f567807
Automatic update of common submodule
...
From 2de221c to 04c7a1e
2013-03-07 00:04:38 +00:00
Руслан Ижбулатов
7a81dd8669
ges-timeline-element: Fix GST_DEBUG_OBJECT invocations
...
Fixes #695267
2013-03-06 08:33:21 +01:00
Thibault Saunier
0888e5e25b
Rename object/tobj/trobj to clip or track_element as necessary
...
Not really complete but it is a good start!
2013-02-15 16:26:30 -03:00
Thibault Saunier
7f3c952737
Finish renaming tck_obj and derivate to track_element
2013-02-15 15:23:16 -03:00
Thibault Saunier
d21791a8d0
Rename GESTimelineLayer.xxx_object to GESTimelineLayer.xxx_clip
2013-02-15 15:23:15 -03:00
Thibault Saunier
ec1db99266
track: Rename all GESTrack.xxx_object to GESTrack.xxx_element
2013-02-15 15:23:15 -03:00
Thibault Saunier
fc8f06eedb
Properly rename object-added to clip-added
2013-02-15 15:23:15 -03:00
Thibault Saunier
4ddcfb642d
Finish renaming timeline object to clip
2013-02-15 15:23:15 -03:00
Thibault Saunier
b4e1131b70
Finish renaming track object to track element
2013-02-15 15:23:15 -03:00
Thibault Saunier
cb11f0d7c4
Add GESTimelineElement.{start, inpoint, duration, maxduration, priority} getters
2013-02-15 15:23:15 -03:00
Thibault Saunier
6689db6098
uriclip: Fix wrong acces to object instead of its duration field
2013-02-15 15:23:10 -03:00
Thibault Saunier
c21524a985
Reword ges_title_clip_set_color to ges_title_clip_set_text_color
2013-02-15 14:42:07 -03:00
Thibault Saunier
f63c78b056
Rename ges_title_.*_set_background to set_background_color
2013-02-15 14:42:07 -03:00
Thibault Saunier
552f008e9d
titleclip: Remove useless mute property
2013-02-15 14:42:07 -03:00
Thibault Saunier
28e86cbc6c
pitiviformatter: Fix renaming issues
2013-02-15 14:42:07 -03:00
Thibault Saunier
a20f6cf5f3
Rename overlay_text to text_overlay
2013-02-15 14:42:07 -03:00
Thibault Saunier
fb7baa1cd3
Rename GESAssetClip to GESClipAsset
2013-02-15 14:42:07 -03:00
Thibault Saunier
997df180ea
Rename GESTrackAudioTransition to GESAudioTransition
2013-02-15 14:42:07 -03:00
Thibault Saunier
ecc9eb3020
Rename GESTrackVideoTransition to GESVideoTransition
2013-02-15 14:42:07 -03:00
Thibault Saunier
3f97a05c11
Rename GESTrackTransition to GESTransition
2013-02-15 14:42:06 -03:00
Thibault Saunier
f7170a6a83
Rename GESTrackOperation to GESOperation
2013-02-15 14:42:06 -03:00
Thibault Saunier
ac456f74d7
Rename GESTrackTextOverlay to GESTextOverlay
2013-02-15 14:42:06 -03:00
Thibault Saunier
8245a6e624
Rename GESTrackTitleSource to GESTitleSource
2013-02-15 14:42:06 -03:00
Thibault Saunier
6aa01b594a
Rename GESTrackImageSource to GESImageSource
2013-02-15 14:42:06 -03:00
Thibault Saunier
037b71bc16
Rename GESAssetTrackElement to GESTrackElementAsset
2013-02-15 14:42:06 -03:00
Thibault Saunier
bfef8d77ba
Rename TrackFileSource to UriSource
2013-02-15 14:42:06 -03:00
Thibault Saunier
6363d0fdad
Rename GESTrackSource to GESSource
2013-02-15 14:42:06 -03:00
Thibault Saunier
273f27a269
Rename GESTrackVideoTestSource to GESVideoTestSource
2013-02-15 14:42:05 -03:00
Thibault Saunier
5a5aae6e63
Rename GESTrackAudioTestSource to GESAudioTestSource
2013-02-15 14:42:05 -03:00
Thibault Saunier
e24cccabfd
Rename GESTrackParseLaunchEffect to GESEffect
2013-02-15 14:42:05 -03:00