Commit graph

35 commits

Author SHA1 Message Date
Mathieu Duponchelle
dd55b0084b track-video-transition: Make the invert property management coherent 2012-05-06 14:10:17 -04:00
Mathieu Duponchelle
c22fa97088 track-video-transition: Fix set_inverted 2012-05-06 13:11:11 -04:00
Thibault Saunier
686792609a track-video-transition: Properly emit notify for the invert and border properties 2012-05-02 23:49:08 -04:00
Thibault Saunier
26aebe2d3d track-video-transition: Expose the transition type as a GObject property
API: GESTrackVideoTransition::transition-type property
2012-05-02 23:49:08 -04:00
Mathieu Duponchelle
fa7e9a4d39 track-video-transition: expose border and inverted as GObject properties 2012-05-02 23:18:29 -04:00
Mathieu Duponchelle
7e4bcd950b track-video-transition: Expose the invert property from smpte
Also, add/fixup some doc

API: ges_track_video_transition_get_inverted
API: ges_track_video_transition_set_inverted
2012-05-02 23:05:25 -04:00
Thibault Saunier
959bc5e0cb track-video-transition: Reuse interpollation setting functions when possible 2012-05-02 20:18:09 -04:00
Thibault Saunier
d780cf474f track-video-transition: Add a way to get current border value
Add some documentation for the border property
Change the border value in set_border to a guint as the value can be negative

API: ges_track_video_transition_get_border
2012-05-02 20:18:09 -04:00
Mathieu Duponchelle
1a3fde1bee track-video-transition: Return pending type in transition_get_type when needed 2012-05-02 20:18:09 -04:00
Mathieu Duponchelle
15c7e9738c track-video-transition: expose the border property of smptealpha
API: ges_track_video_transition_set_border
2012-05-02 20:18:09 -04: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
Luis de Bethencourt
32f0a49c6a ges/ges-track-video-transition.c: fix transition of different video sizes 2011-08-15 11:58:15 +02:00
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