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
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
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
d21791a8d0
Rename GESTimelineLayer.xxx_object to GESTimelineLayer.xxx_clip
2013-02-15 15:23:15 -03:00
Thibault Saunier
d69964fd2a
Rename GESTrackObject to GESTrackElement
2013-02-15 14:42:05 -03:00
Thibault Saunier
6f4315b75d
Rename GESStandardTransitionClip to GESTransitionClip
2013-02-15 14:42:04 -03:00
Thibault Saunier
e3dc877c4b
Rename GESTimelineTestSource to GESTestSourceClip
2013-02-15 14:42:04 -03:00
Thibault Saunier
878f015179
Rename GESTimelineSource to GESSourceClip
...
And GESCustomTimelineSource to GESCustomSourceClip
2013-02-15 14:42:03 -03:00
Thibault Saunier
d7693b4014
Rename GESTimelineStandardTransition to GESStandardTransitionClip
2013-02-15 14:42:03 -03:00
Thibault Saunier
04a3c49ebd
Rename GESTimelineObject to GESClip
2013-02-15 14:42:02 -03:00
Thibault Saunier
f0359481c0
Add a GESTimelineElement base class
...
+ Port GESTrackObject and GESTimelineObject to the new baseclass
2013-02-15 14:42:02 -03:00
Thibault Saunier
02652902f5
Reimplement the auto-transition feature
...
+ Actually implement unit tests
2013-01-10 18:53:15 -03:00
Thibault Saunier
e796a2aab2
tests: Fix misc issues
...
Now GST_CAPS_ANY is a singleton, it is not returning a newly created caps
anymore
2012-12-29 19:38:12 -03:00
Thibault Saunier
9a2ba1f9f7
Check in TimelineObject what tracks are supported before creating TrackObject-s
...
We used to do it in TimelineFileSource which does not make sense.
At the same time we set AUDIO | VIDEO as default supported types as it is more
likely to be what subclasses support. If it is not the case, they need to
specify it as shown in ges-timeline-custom-timeline-source.c
+ Fix the tests accordingly
2012-12-19 18:59:51 -03:00
Thibault Saunier
9434f69aba
tests: implement GESMetaContainer tests
...
Co-Authored-By: Paul Lange <palango@gmx.de>
2012-12-19 11:45:38 -03:00
Tim-Philipp Müller
426fffb6c3
Fix FSF address
2012-11-04 00:25:20 +00:00
Thibault Saunier
35cae2c80c
tests: Move common code to test-utils
2012-09-25 15:10:35 +02:00
Edward Hervey
ee237ec523
ges: Various doc fixups and cleanups
2012-01-12 16:34:57 +01:00
Thibault Saunier
826d4f9a71
ges: Bump layer height from 10 to 1000
2012-01-11 11:56:16 -03:00
Mathieu Duponchelle
0e11ec4137
ges: add an auto-transition to the layer
...
API: GESTimelineLayer.auto_transition property
2012-01-11 11:56:15 -03:00
Thibault Saunier
09e0d1bbe2
test: Better layer priority handling testing
...
We use the ges_timeline_object_move_to_layer new function to make sure it works,
and that everything goes well on priority handling with this new method
2012-01-11 11:56:14 -03:00
Thibault Saunier
15c816569b
ges: Handle TimelineLayer and its contained TimelineObject priorities properly
...
GESTimelineObject.priority is now actually relative to its containing layer
priority.
Test it in the layer test-suite.
2012-01-11 11:56:13 -03:00
Edward Hervey
1450d539d4
GESTimelineObject: Subclass from GInitiallyUnowned
...
The floating reference will be owned by the Layer
2010-12-20 12:03:48 +01:00
Edward Hervey
11887e0058
GESTimelineLayer: Subclass from GInitiallyUnowned
...
The floating reference will be owned by the Timeline
2010-12-20 12:03:48 +01:00
Edward Hervey
648f8802db
tests: Put clearer names on tests
...
Makes it easier to figure out which test failed :)
2010-12-20 12:03:48 +01:00
Edward Hervey
e970c86753
GESTimelineObject: Add mapping/offset support [start/priority properties]
...
Allows moving independently (or not) timelineobjects and trackobjects and
have them synchronized with the offsets taken into account.
Right now only the start and priority properties are synchronized. The duration
and in-point properties will require more thoughts.
2010-12-16 19:29:14 +01:00
Edward Hervey
8ca6f66f4c
GESTrackObject: Hide more variables and provide accessors for them
2010-12-16 15:00:46 +01:00
Edward Hervey
5a170091e6
GESTimelineLayer: Hide the object list and priority
...
Add needed setters/getters
2010-12-16 12:41:26 +01:00
Edward Hervey
7a098a423d
GESTimelineSource: Remove textoverlay properties
...
This will be made more generic by allowing any overlay/effect to
be put on any source object.
2010-12-09 19:36:44 +01:00
Edward Hervey
a5261d23d2
tests: Make sure gst_bin_add succeeds
...
And detect when we're trying to add contents to a gnlsource which
already has something
2010-12-09 17:43:08 +01:00
Brandon Lewis
286c5f78db
supply type param to _find_track_objects in unit tests
2010-09-01 16:56:03 +02:00
Brandon Lewis
efbc4a22cd
increase default priority offset for sources; update unit tests
2010-09-01 16:56:03 +02:00
Brandon Lewis
3cd0444b21
test height notification
2010-09-01 16:56:03 +02:00
Brandon Lewis
572f7ab4da
expose priority-offset as a property
2010-09-01 16:56:02 +02:00
Brandon Lewis
92bedbc72e
update documentation and unit tests
2010-09-01 16:56:02 +02:00
Edward Hervey
346d7ab0f6
tests: Add unit test for layer property.
...
Still needs more work though
2010-03-13 15:56:57 +01:00