Commit graph

23 commits

Author SHA1 Message Date
Thibault Saunier
dc6290a5e2 docs: Document all the undocumented public functions 2011-01-10 15:14:45 +01: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
8ca6f66f4c GESTrackObject: Hide more variables and provide accessors for them 2010-12-16 15:00:46 +01:00
Edward Hervey
3912245f87 GESTrackObject: Add create_element vmethod
API: GESTrackObjectClass::gnlobject_factorytype
API: GESTrackObjectClass::create_element

Most track objects are only specific by the contents of the gnlobject,
therefore move the 'create_element' vmethod which was already present
in some subclasses to the top-level class.

Also make the code more robust
2010-12-10 12:26:44 +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
4c91a36f9a ges: Add instance private structures 2010-12-08 12:54:02 +01:00
Edward Hervey
f8e6955459 GesTrackVideoTransition: Prefer videomixer2 to videomixer
If present
2010-11-14 11:58:10 +01:00
Edward Hervey
b158c59202 GES: Switch to new fast pad linking 2010-07-14 13:29:23 +02:00
Brandon Lewis
770a16f5ce check whether setting vtype property actually succeeds 2010-07-09 13:21:18 +02:00
Brandon Lewis
33449efcd7 initialize transitions to type _TRANSITION_TYPE_NONE 2010-07-09 13:21:18 +02:00
Brandon Lewis
4cd9fd5006 refactor duration_changed method as this is now a TrackObjectClass method 2010-07-09 13:21:18 +02:00
Brandon Lewis
b13bf26795 remove unneeded assertions 2010-07-09 13:21:18 +02:00
Edward Hervey
b30a85117c TrackTransition: Remove second argument from duration_changed vmethod
And get properties directly from parent classes instead
2010-07-09 13:21:17 +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
Edward Hervey
c0e21a4a69 TrackVideoTransition: Use proper transition type 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
aec1fbd88c massive documentation updates 2010-07-09 13:21:15 +02:00
Brandon Lewis
560956ed24 keep track of and release request pads for smpte also 2010-07-09 13:21:13 +02:00
Brandon Lewis
0d4ff040d2 free mixer in dispose separately from sink pads 2010-07-09 13:21:13 +02:00
Brandon Lewis
1723659704 remove unneeded paramenter to create_element 2010-07-09 13:21:12 +02:00
Brandon Lewis
e4c7d0bbcd push struct fields down to VideoTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
fa98f4cc09 push make_video_bin() down into subclass 2010-07-09 13:21:11 +02:00
Brandon Lewis
071ea8fb26 check in GESTrackVideoTransition, empty subclass of TrackTransition 2010-07-09 13:21:11 +02:00