Commit graph

740 commits

Author SHA1 Message Date
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
054fd8df0e Update common submodule 2010-12-18 11:40:19 +01:00
Edward Hervey
05df4ec7b6 GES*Object: only use g_object_notify_by_pspec if available 2010-12-17 11:27:37 +01:00
Edward Hervey
a96a483fae GESTrackObject: Remove unused quarks 2010-12-17 11:27:23 +01:00
Edward Hervey
a29bce9985 configure.ac: Require GLib 2.22
Same requirement as for GStreamer
2010-12-17 11:26:49 +01:00
Edward Hervey
c568efb663 GESSimpleTimelineLayer: reverting const-ification 2010-12-16 19:37:06 +01:00
Brandon Lewis
42f4253ee2 GESSimpleTimelineLayer: add test for _index() method 2010-12-16 19:37:06 +01:00
Brandon Lewis
82e4d95a28 GESSimpleTimelineLayer: add _index() method 2010-12-16 19:37:06 +01:00
Edward Hervey
e970c86753 GESTimelineObject: Add mapping/offset support [start/priority properties]
Allows moving independently (or not) timelineobjects and trackobjects and
have them synchronized with the offsets taken into account.

Right now only the start and priority properties are synchronized. The duration
and in-point properties will require more thoughts.
2010-12-16 19:29:14 +01:00
Edward Hervey
d7ae369084 random: Add explanation about TimelineObject<=>TrackObject mapping 2010-12-16 19:24:52 +01:00
Edward Hervey
73209e1f21 GESTrackObject: priority offset is handled by the TimelineObject 2010-12-16 19:24:25 +01:00
Edward Hervey
411ac1cb99 GESTrackObject: re-factor property setting code
And make sure notifications are emitted at the right time
2010-12-16 19:23:20 +01:00
Edward Hervey
e6aeb97040 GESTrackObject: Add a 'locked' property for position synchronization
And update all code using it
2010-12-16 16:27:26 +01:00
Edward Hervey
08fe90ab4e docs: Remove more bogus files 2010-12-16 15:05:29 +01:00
Edward Hervey
8ca6f66f4c GESTrackObject: Hide more variables and provide accessors for them 2010-12-16 15:00:46 +01:00
Edward Hervey
4028baaa5b GESTimeline: Remove useless variable 2010-12-16 12:46:48 +01:00
Edward Hervey
5a170091e6 GESTimelineLayer: Hide the object list and priority
Add needed setters/getters
2010-12-16 12:41:26 +01:00
Edward Hervey
3eadc4aa31 ges: Add more documentation and annotations
This should make GES gobject-introspection compliant now.
2010-12-15 19:40:11 +01:00
Edward Hervey
7146c33617 TimelineObject: Put more function name in sync with others 2010-12-15 19:18:42 +01:00
Edward Hervey
7ef6f365d9 GESSimpleTimelineLayer: _nth() returns a const
The refcount isn't incremented.
2010-12-15 19:18:16 +01:00
Edward Hervey
ed6b2ce4c4 GESTrack: Make more properties private
And ensure exported symbols are properly documented and have
argument checking.
2010-12-15 19:05:48 +01:00
Brandon Lewis
4dae5c83f4 GESSimpleTimelineLayer: add test for _nth() method 2010-12-15 18:01:33 +01:00
Brandon Lewis
c60a4b5734 GESSimpleTimelineLayer: ensure the object can be located before "object-added"
fires
2010-12-15 18:01:33 +01:00
Brandon Lewis
7bb28f0a6a GESSimpleTimelineLayer: add _nth() method 2010-12-15 18:01:33 +01:00
Edward Hervey
0486623e30 test: Disable the text_properties_in_layer test until it's properly implemented 2010-12-15 15:56:38 +01:00
Edward Hervey
132cb68ab2 all: add/extend more .gitignore 2010-12-15 15:52:03 +01:00
Edward Hervey
73001edacf Add .pc files 2010-12-15 15:51:41 +01:00
Edward Hervey
61d3b51e18 docs: Remove .bak files
Added by error when I added the doc system
2010-12-15 13:29:53 +01:00
Edward Hervey
ecc168c13c ges: Don't shorten symbol names
It wasn't making us gain anything, and confuses the hell out of g-ir-scanner.
2010-12-15 13:27:39 +01:00
Edward Hervey
122d3cda02 ges: Add gobject-introspection support 2010-12-15 12:58:26 +01:00
Edward Hervey
4c63aa21f2 ges: Switch to encoding-profile API from base
Remove dependency on gst-convenience.
2010-12-15 12:38:03 +01:00
Edward Hervey
7fc7bfb110 random: Add notes about Track mapping 2010-12-15 11:17:21 +01:00
Edward Hervey
5f6dadab77 GESTrackObject: Make base_priority/priority-offset a private field 2010-12-14 17:38:55 +01:00
Edward Hervey
bfaa119ef7 random: Add brainstorming about Timeline<=>Track object mapping 2010-12-14 17:37:13 +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
8389feb971 GESTrackTransition: Make it a subclass of GESTrackOperation 2010-12-10 12:14:32 +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
79e3ad5d51 random: Add lifecycle document 2010-12-09 18:53:29 +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
Edward Hervey
36e165e190 ges: Make some classes abstract with G_DEFINE_ABSTRACT_TYPE 2010-12-09 15:21:10 +01:00
Edward Hervey
eb4cf96b29 ges: Avoid leaking a GList of GESTrackObject 2010-12-09 15:13:27 +01:00
Edward Hervey
237ea89aa7 ges: Remove unused GObject vmethods 2010-12-09 15:12:34 +01:00
Edward Hervey
d8b2781ddc GESTimelineOperation: New abstract class for operations
This is a new class for all timeline objects that both produce and
consume data.

The existing subclasses of it are now:
* GESTimelineOverlay
* GESTimelineTransition
2010-12-09 14:25:22 +01:00
Edward Hervey
f352404159 GESTimelineObject: Clarify usage of create_track_object(s) by subclasses 2010-12-09 12:53:07 +01:00
Edward Hervey
a98b77a648 GESTimelineSource: Remove empty create_track_object vmethod
The parent class will check if it is present or not, and call
track_objects if needed.
2010-12-09 12:52:15 +01:00
Edward Hervey
fd44f95618 GESFormatter: Hide the save/load vmethod from the docs
We need to deprecated them before API/ABI freeze
2010-12-09 12:46:27 +01:00
Edward Hervey
218bd56866 ges: Remove creators for base classes 2010-12-08 16:11:55 +01:00
Edward Hervey
8cef09279a GESTimelineSource: Remove _new() since it's a base class 2010-12-08 15:48:55 +01:00
Edward Hervey
faec1e803d docs: A round of updates 2010-12-08 15:36:55 +01:00