Commit graph

279 commits

Author SHA1 Message Date
Thibault Saunier
e042aa30e4 TrackTextOverlay: Move private variables to instance private
Add getter methods to get those variables

Add/Fixup documentation
2011-01-08 22:32:53 +01:00
Tim-Philipp Müller
84a17a3d12 test: make unit tests compile and work in uninstalled setup 2011-01-08 01:40:18 +00:00
Edward Hervey
7c255ff247 TrackTitleSource: Move private variables to instance private
Add getter methods to get those variables

Add/Fixup documentation
2011-01-06 12:04:53 +01:00
Edward Hervey
2d9f03fde0 TrackVideoTestSource: Move private data to instance private
Add a getter for the pattern

Document methods
2011-01-06 11:29:44 +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
1450d539d4 GESTimelineObject: Subclass from GInitiallyUnowned
The floating reference will be owned by the Layer
2010-12-20 12:03:48 +01:00
Edward Hervey
11887e0058 GESTimelineLayer: Subclass from GInitiallyUnowned
The floating reference will be owned by the Timeline
2010-12-20 12:03:48 +01:00
Edward Hervey
c90f399bfb TimelineObject: Hold a reference to the controlled TrackObject 2010-12-20 12:03:48 +01:00
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
Brandon Lewis
42f4253ee2 GESSimpleTimelineLayer: add test for _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
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
5a170091e6 GESTimelineLayer: Hide the object list and priority
Add needed setters/getters
2010-12-16 12:41:26 +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
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
4c63aa21f2 ges: Switch to encoding-profile API from base
Remove dependency on gst-convenience.
2010-12-15 12:38:03 +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
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
Thibault Saunier
dfeb7afe85 GESTimelineObject: add private structure 2010-12-08 13:00:21 +01:00
Thibault Saunier
7fc3be7d44 GESSimpleTimelineLayer: add private structure 2010-12-08 13:00:15 +01:00
Brandon Lewis
2b63a52a6a Tests: fix CMP_FAIL on 32-bit machines 2010-12-03 12:39:42 +01:00
Edward Hervey
9e1877a083 tests: Make sure we specify guint64 with g_object_set arguments
Yup, had missed those because of weird macros :(
2010-12-02 12:28:15 +01:00
Thibault Saunier
4add2937de SimpleTimelineLayer: Remove bogus check and extend unit test to validate it 2010-12-02 11:55:44 +01:00
Edward Hervey
098a2294f3 tests: Make sure we specify guint64 with g_object_set arguments
Avoids crashers on 32bit machines
2010-12-02 11:54:03 +01:00
Brandon Lewis
107b5fcf5e ges-ui: allow enabling/disabling audio/video tracks 2010-11-27 18:14:06 +01:00
Brandon Lewis
c91d1dd32d ges-ui: implement save as command in gtk demo 2010-11-27 18:12:50 +01:00
Brandon Lewis
ae098803fc ges-ui: implement load command 2010-11-27 18:12:50 +01:00
Brandon Lewis
02da3a8cba ges-ui: don't assume we always have 1 layer and two tracks 2010-11-27 18:12:49 +01:00
Brandon Lewis
a4f315274c ges-ui: add new command, remove quit command (closing last window quits app) 2010-11-27 18:12:49 +01:00
Edward Hervey
e557592074 test: Fix typo in simplelayer test 2010-11-27 18:12:49 +01:00
Edward Hervey
f3904653b7 check: Small cleanup of the save/load test 2010-11-27 18:12:49 +01:00
Brandon Lewis
d1bdd2ddf2 tests: add save->load test case 2010-11-27 18:08:20 +01:00
Brandon Lewis
a2dcf03f86 tests: use ges_formatter_{get,set}_data accessors in unit tests 2010-11-27 18:08:20 +01:00
Brandon Lewis
cc57dcf681 tests: update unit tests 2010-11-27 18:08:20 +01:00
Brandon Lewis
4f0136c5ac tests: Add save/load tests 2010-11-27 18:08:19 +01:00
Brandon Lewis
9f2f21d8df tests: test for track removal while timeline contains timeline objects 2010-11-27 17:23:30 +01:00
Brandon Lewis
d7af7f630a tests: test that adding tracks after adding layers works 2010-11-27 17:23:30 +01:00
Brandon Lewis
8cee3b95ba tests: unit test to check that objects in layers are properly added to the timeline 2010-11-27 17:23:29 +01:00
Edward Hervey
d4b5e6d6ab tests: Ignore more files 2010-11-23 17:33:32 +01:00
Edward Hervey
99e7180e0c examples: Fix for latest GstDiscoverer API changes 2010-11-09 16:27:06 +01:00
Edward Hervey
6364e8ec2c all: Changes for discoverer being merged upstream
Along with a whole bunch of Makefile fixups
2010-09-23 18:42:48 +02:00
Edward Hervey
a02a5c2320 Update for factorylist/convertframe being merged to gst core/base 2010-09-16 08:39:46 +02:00
Edward Hervey
d76535bc59 Update to moved gst-convenience 2010-09-16 08:39:01 +02:00
Brandon Lewis
e56ed70a68 relax restrictions on adding transitions
We don't need these any more: the valid property tells us whether it is safe
to go to GST_STATE_PLAYING or not.
2010-09-02 18:08:44 +02:00
Brandon Lewis
dad81a6f32 move a callback into the proper section of the file 2010-09-02 18:08:44 +02:00
Brandon Lewis
6533e038c9 fix bug in time format regex 2010-09-02 18:08:44 +02:00