Commit graph

41 commits

Author SHA1 Message Date
Thibault Saunier
6735e877b3 trackobject: Add the copy method to the API
Add documentation and plug a leak at the same time.

API: ges_track_object_copy
2012-04-23 22:03:11 -04:00
Thibault Saunier
2fd5364927 ges: Add a timeline edition mode API
+ timeline: Add a snapping-distance property
        + Bump the GLib dependency to 2.28 in the mean time as we need some functions from GSequence that only landed
	+ Update the testsuite accordingly

    API: GESTimeline:snapping-distance property
    API: ges_timeline_object_edit
    API: ges_timeline_object_ripple
    API: ges_timeline_object_ripple_end
    API: ges_timeline_object_roll_start
    API: ges_timeline_object_roll_end
    API: ges_timeline_object_trim_start
    API: ges_track_object_edit
    API: GESEdge enum
    API: GESEditMode enum
2012-04-23 22:03:11 -04:00
Thibault Saunier
4c26b89e3c ges: Move the max-duration property from TrackFileSource to TrackObject
This property was firstly added to TrackFileSource, but in the end, it makes
more sense for it to be directly in TrackOject as it can be usefull in other cases.
2012-04-07 22:24:55 -04:00
Thibault Saunier
6c242b8cb1 ges: Reindent ges-track-object.h 2012-01-11 11:56:17 -03:00
Edward Hervey
7cbb93e487 GESTimelineObject/TrackObject: Don't break ABI for the Class
New addition go at the end, and the _reserved pointer gets reduced
accordingly
2011-05-20 16:52:43 +02:00
Edward Hervey
88ab612df2 ges: Include indentation fixes 2011-05-06 19:36:35 +02:00
Thibault Saunier
54ed9b1709 GESTrackObject: add a ges_track_object_list_children_properties method
test: Test the new method, and also set/get_child_property_by_spec
2011-05-06 10:39:05 +02:00
Thibault Saunier
0e9658812e GESTrackObject: Implement a get/set_child_property_by_spec and get/set_child_property_valist methods
Reimplement the get/set_property accordingly
2011-05-06 10:39:05 +02:00
Thibault Saunier
1add2482b8 GESTrackObject: add a ges_track_object_lookup_child method 2011-05-06 10:39:05 +02:00
Thibault Saunier
0d02e26195 GESTrackObject: fixe a few issues with the get_props_hastable vmethod 2011-05-06 10:39:04 +02:00
Thibault Saunier
3f4a4a7134 GesTrackObject: add the ges_track_object_get_child_property method
test: Test this new method

design: change the design file to fit the implementation
2011-05-06 10:39:02 +02:00
Thibault Saunier
d9c07a4ed4 GESTrackObject: add a ges_track_object_set_child_property_method
test: Test the new method
2011-05-06 10:39:02 +02:00
Thibault Saunier
c67bcb1684 GESTrackObject: add an hashtable linking childs properityName -> GstElement
We also add a Virtual method that should be implementented in subclasses to generate the new GHasTable
2011-05-06 10:39:02 +02:00
Thibault Saunier
c84d87961d GESTrackEffect: add getters for the: start, inpoint, duration, priority, active properties
docs: add new symbols
2011-05-06 10:39:01 +02:00
Edward Hervey
752e6cfb75 GESTrackObject: Subclass from GInitiallyUnowned
The floating reference will be owned by the Track
2010-12-20 12:03:48 +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
8ca6f66f4c GESTrackObject: Hide more variables and provide accessors for them 2010-12-16 15:00:46 +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
Edward Hervey
5f6dadab77 GESTrackObject: Make base_priority/priority-offset a private field 2010-12-14 17:38:55 +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
faec1e803d docs: A round of updates 2010-12-08 15:36:55 +01:00
Thibault Saunier
4c91a36f9a ges: Add instance private structures 2010-12-08 12:54:02 +01:00
Edward Hervey
849d6ab872 ges: Add padding to all public structures
This will give us margin for API expansion without breaking ABI.

The ABI restriction will only come in place once we do the first
official release (i.e. 0.x.0).
2010-11-29 13:24:13 +01:00
Brandon Lewis
6667956ceb reword priority documentation comments 2010-09-01 16:56:02 +02:00
Brandon Lewis
03cf6c99b6 distinguish between base_priority, priority_offset, and gnl_priority 2010-09-01 16:56:02 +02:00
Brandon Lewis
fee9f7fb67 add track object virtual methods for property change notifications 2010-07-09 13:21:18 +02:00
Brandon Lewis
93534c0500 Add missing documentation 2010-06-09 11:28:09 +02:00
Edward Hervey
15c0013732 ges: Small doc fixups 2009-12-11 15:24:56 +01:00
Edward Hervey
e0f61dcd80 GESTrackObject: Store pending values when GnlObject isn't created yet 2009-12-11 15:20:35 +01:00
Edward Hervey
dd9d3e420c ges/: Fix copyright in headers 2009-11-30 15:14:25 +01:00
Edward Hervey
ab8ea4c6a5 GESTrackObject: Add convenience macros for accessing properties 2009-09-30 16:42:31 +02:00
Edward Hervey
f18bb72d04 GESTrackObject: Add 'active' property.
This property allows (de)activating a track object
2009-09-30 16:41:47 +02:00
Edward Hervey
89429a9225 GESTrackObject: Document some more 2009-09-14 19:47:53 +02:00
Edward Hervey
d8444f3844 Add 'caps' property on Track 2009-08-07 18:18:42 +02:00
Edward Hervey
dc16b626c8 TrackObject: Add 'valid' property, Make _set_track() return a bool 2009-08-07 16:43:01 +02:00
Edward Hervey
12777c8532 Add unit test system. Adjust GST_DEBUG usage. 2009-08-06 19:51:29 +02:00
Edward Hervey
c4649938fd intermediary commit. Still need to fill in more blanks :( 2009-08-06 17:38:43 +02:00
Edward Hervey
f3131a2f6a build fixed again. Moved type declarations in a standalone file. 2009-08-06 12:14:37 +02:00
Edward Hervey
081f4805ef src/ => ges/ 2009-08-06 11:24:04 +02:00
Renamed from src/ges-track-object.h (Browse further)