Commit graph

42 commits

Author SHA1 Message Date
Tim-Philipp Müller
426fffb6c3 Fix FSF address 2012-11-04 00:25:20 +00: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
8389feb971 GESTrackTransition: Make it a subclass of GESTrackOperation 2010-12-10 12:14:32 +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
Edward Hervey
237ea89aa7 ges: Remove unused GObject vmethods 2010-12-09 15:12:34 +01:00
Thibault Saunier
4c91a36f9a ges: Add instance private structures 2010-12-08 12:54:02 +01:00
Brandon Lewis
847052077e remove notify::duration signal handler 2010-07-09 13:21:18 +02:00
Brandon Lewis
31ffb87dde remove unneeded _new methods on certain base classes 2010-07-09 13:21:18 +02:00
Edward Hervey
919076f892 TrackTransition: Don't return anything for unhandled tracks 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
Brandon Lewis
aec1fbd88c massive documentation updates 2010-07-09 13:21:15 +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
6574f0146f push relevant struct fields into AudioTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
b3d0c3e6b1 push make_audio_bin down into subclass 2010-07-09 13:21:11 +02:00
Brandon Lewis
a1734962e2 add duration_changed virtual method to GESTrackTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
2146e4a9af add create_element vmethod to GESTrackTransition 2010-07-09 13:21:11 +02:00
Edward Hervey
45febdebe1 GESTrackTransition: Release all pads.
Whether calling get_request_pad or get_static_pad we always end up
with an extra reference.

Also keep a reference on videomixer so it doesn't go away before we
call _release_request_pad() on it with the proper pads to release.
2010-06-14 19:40:50 +02:00
Brandon Lewis
03b299ecdb release the request pads in dispose 2010-06-10 16:25:34 +02:00
Brandon Lewis
19c8bbfd3f don't keep an extra reference to vsmpte 2010-06-10 16:14:20 +02:00
Brandon Lewis
71df04a2f9 ges/ges-track-transition.c: C90 fixes 2010-06-09 16:34:14 +02:00
Edward Hervey
ea55ceb747 GESTrackTransition: Fix debug statement 2010-06-09 13:53:07 +02:00
Brandon Lewis
f0fc253aa8 ges/ges-track-transition.c: set referece to vsmpte to NULL after freeing 2010-06-09 11:28:46 +02:00
Brandon Lewis
c7273608c7 ges/ges-track-transition.c: was freeing same GstController twice in _dispose() 2010-06-09 11:28:46 +02:00
Edward Hervey
5e2660b2c2 GESTrackTransition: Unref the ControlSource in dispose 2010-06-09 11:28:46 +02:00
Brandon Lewis
67c33dc65b ges/ges-track-transition.c: adjust to the change in VTYPE_CROSSFADE 2010-06-09 11:28:10 +02:00
Brandon Lewis
2f18595e6e ges/ges-track-transition.{c,h}: add ability to change smptealpha type 2010-06-09 11:28:10 +02:00
Brandon Lewis
3caed9bff4 ges/ges-track-transition.{c,h}: api change: pass gint instead of 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
93534c0500 Add missing documentation 2010-06-09 11:28:09 +02:00
Brandon Lewis
812713cf2f ges/ges-track-transition.c: implement audio crossfades 2010-06-09 11:28:09 +02:00
Brandon Lewis
79ebc389e0 ges/ges-track-transition.{c,h}: add fields for audio interpolation to obj 2010-06-09 11:28:09 +02:00
Brandon Lewis
07693f56f8 ges/ges-track-transition.{c,h}: rename some members of ges-track-transition
struct to separate between audio and video objects.
2010-06-09 11:28:09 +02:00
Brandon Lewis
280aef4f6e ges/ges-track-transition.c: factor out code which produces video bin into a
seprate routine
2010-06-09 11:28:09 +02:00
Brandon Lewis
962a1d17d7 ges/ges-track-transition.c: give gnloperations a unique name 2010-06-09 11:28:09 +02:00
Brandon Lewis
1d3d367e75 ges/ges-track-transition.{c,h}: add support for other wipes with smptealpha 2010-06-09 11:28:08 +02:00
Brandon Lewis
998ae5af20 ges-track-transition.c: set interpolation control points properly from
gnlobject properties
2010-06-09 11:28:07 +02:00
Brandon Lewis
5afc67f3e5 ges-track-transition.c: create gst-controller for transition 2010-06-09 11:28:07 +02:00
Brandon Lewis
6728e4dd8d ges-track-transition.c: add controller and control-source members 2010-06-09 11:28:07 +02:00
Brandon Lewis
c9a2f73579 hacking 2010-06-09 11:28:07 +02:00
Brandon Lewis
7918bbec14 skeletal implementation of GESTrackTransition 2010-06-09 11:28:06 +02:00