Commit graph

44 commits

Author SHA1 Message Date
Thibault Saunier
b2b96c743d Rename GESTimelineLayer to GESLayer 2013-04-23 20:22:31 -03:00
Thibault Saunier
cd188c851d 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
2013-03-28 11:16:41 +01:00
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
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
Tim-Philipp Müller
85663a840e Fix various printf format issues in debug messages 2013-01-22 19:51:57 +00: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
Tim-Philipp Müller
426fffb6c3 Fix FSF address 2012-11-04 00:25:20 +00:00
Tim-Philipp Müller
1da4d71431 tests: ges_track_new() takes ownership of caps, so can't use GST_CAPS_ANY 2012-02-10 19:44:49 +00: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
Brandon Lewis
42f4253ee2 GESSimpleTimelineLayer: add test for _index() method 2010-12-16 19:37:06 +01:00
Edward Hervey
7ef6f365d9 GESSimpleTimelineLayer: _nth() returns a const
The refcount isn't incremented.
2010-12-15 19:18:16 +01:00
Brandon Lewis
4dae5c83f4 GESSimpleTimelineLayer: add test for _nth() method 2010-12-15 18:01:33 +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
Edward Hervey
ef7eb9efdd GESTransition: Make it a base class and add GESTimelineStandardTransition
This is to ensure people can create their own Layer Transition subclass.

API : GESTimelineTransition is now GESTimelineStandardTransition
2010-12-09 17:09:11 +01:00
Thibault Saunier
dfeb7afe85 GESTimelineObject: add private structure 2010-12-08 13:00:21 +01:00
Thibault Saunier
4add2937de SimpleTimelineLayer: Remove bogus check and extend unit test to validate it 2010-12-02 11:55:44 +01:00
Edward Hervey
e557592074 test: Fix typo in simplelayer test 2010-11-27 18:12:49 +01:00
Brandon Lewis
6e844f877f layer is also invalid when there are transitoins at the beginning/end 2010-09-02 18:08:43 +02:00
Brandon Lewis
03e488ac74 add vaid property and unit tests 2010-09-02 18:08:43 +02:00
Brandon Lewis
4fd305cbec add unit tests for 'object-moved' signal 2010-09-02 18:08:43 +02:00
Brandon Lewis
dd47b93587 update unit tests to catch an earlier bug 2010-09-01 16:56:04 +02:00
Brandon Lewis
739053e249 unref timeline in unit test 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
cc719507ea move and rename TRANSITION_VTYPE into enums.h and rename 2010-07-09 13:21:15 +02:00
Brandon Lewis
c1afe75b25 add elemt. to bin in arbitrary_fill_track_func 2010-06-10 12:52:41 +02:00
Brandon Lewis
4d8a013bd3 fix typos in comment block 2010-06-09 18:58:33 +02:00
Brandon Lewis
07ec09d9e7 tests/check/ges/simplelayer.c: C90 fixes 2010-06-09 17:13:07 +02:00
Edward Hervey
8c7535081d check: Check that all objects are removed from the layer
This currently fails
2010-06-09 11:28:46 +02:00
Brandon Lewis
a5759af64b tests/check/ges/{simplelayer.c,transition.c}: update unit tests 2010-06-09 11:28:11 +02:00
Brandon Lewis
45016397b9 tests/check/ges/{simplelayer.c,tests/check/ges/transition.c}: sync with
previous api change
2010-06-09 11:28:10 +02:00
Brandon Lewis
e0553dd63b tests/check/ges/{simplelayer.c,transition.c}: create audio tracks in demos 2010-06-09 11:28:09 +02:00
Brandon Lewis
542e8afb75 fix bugs 2010-06-09 11:28:09 +02:00
Brandon Lewis
3118c0f510 tests/check/ges/simplelayer.c: check in massive unit test case for GSTL with
transitions
2010-06-09 11:28:08 +02:00
Edward Hervey
8958e84e6b tests: Don't forget to cast to guint64 when using g_object_set
... else total failure ensues on 32bit machines
2009-11-25 13:17:01 +01:00
Edward Hervey
e24c561d61 tests/check: Add test for GESSimpleTimelineLayer 2009-09-29 15:29:11 +02:00