Commit graph

32 commits

Author SHA1 Message Date
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
b4e1131b70 Finish renaming track object to track element 2013-02-15 15:23:15 -03:00
Thibault Saunier
ecc9eb3020 Rename GESTrackVideoTransition to GESVideoTransition 2013-02-15 14:42:07 -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
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
Sebastian Dröge
bc0f335734 Allow applications to select to which track a track object should be added
Modifies some  API:
    ges_timeline_object_create_track_objects now take a GESTrackType instead of a
        GESTrack as second argument, and return a GList instead of a boolean
    ges_timeline_object_create_track_object now take a GESTrackType instead of a
        GESTrack as second argument
2012-12-29 19:36:52 -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
Mathieu Duponchelle
1e6c82fb3c ges-track-video-transition: Enables switching from crossfade to smpte and vice versa
Fix the tests properly
2012-05-02 20:18:09 -04:00
Mathieu Duponchelle
32ce69684c ges: add track objects to the track before the track-object-added is emitted
NOTE: The caller of ges_timeline_object_create_track_object now needs to add it to
the timeline_object after calling the function.

Fix the testsuite to support that accordingly
2012-01-11 11:56:14 -03:00
Edward Hervey
58afc44fd7 TrackVideoTransition: Move private variable to instance private
Also add/fixup methods to get/set the transition type and document them.
2011-01-06 11:21:51 +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
8ca6f66f4c GESTrackObject: Hide more variables and provide accessors for them 2010-12-16 15:00:46 +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
Brandon Lewis
e3dc2d58a0 fix mem leak in unit test 2010-07-09 13:27:15 +02:00
Edward Hervey
9fa220c0c0 TrackVideoTransition: Avoid switching from crossfade to other types
This now exposes a bug in the TimelineTransition, since it will have
a transition type different from its track objects.
2010-07-09 13:21:17 +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
5857274f8e update unit tests 2010-07-09 13:21:11 +02:00
Brandon Lewis
04fa8b4777 tests/check/ges/transition.c: C90 fixes 2010-06-09 17:13:07 +02:00
Edward Hervey
80157a1def check: Use release_track_object instead of unref 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
938ac259d0 tests/check/ges/transition.c: test that changing timeline vtype sets trackobj
vtype
2010-06-09 11:28:10 +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
22534176d8 ges/ges-timeline-transition.{c,h},tests/.../transition.c: type change of vtype
to gint from GEnumValue
2010-06-09 11:28:10 +02:00
Brandon Lewis
b3ec2bad19 ges/ges-track-transition.{c,h}, tests/check/ges/transition.c: change vtype
from GEnumValue to simple gint;
2010-06-09 11:28:10 +02:00
Brandon Lewis
cfe079fc94 tests/check/ges/transition.c: make sure unit tests work properly 2010-06-09 11:28:10 +02:00
Brandon Lewis
ea408d472e tests/check/ges/transition.c: oops, unit tests using wrong api 2010-06-09 11:28:10 +02:00
Brandon Lewis
e577b01317 tests/check/ges/transition.c: check in transition unit tests 2010-06-09 11:28:10 +02:00