Tim-Philipp Müller
91af8e1353
examples, ges-launch: remove deprecated g_thread_init()
...
Not needed any more with recent glib versions
2012-02-10 19:17:38 +00:00
Edward Hervey
ee237ec523
ges: Various doc fixups and cleanups
2012-01-12 16:34:57 +01:00
Thibault Saunier
826d4f9a71
ges: Bump layer height from 10 to 1000
2012-01-11 11:56:16 -03:00
Thibault Saunier
0c872c4340
ges: Do not add any audio source when still image
...
We now have a backgroud so no problem with that.
Fix the testsuite accordingly
Fix #657514
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
0e11ec4137
ges: add an auto-transition to the layer
...
API: GESTimelineLayer.auto_transition property
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
32ce69684c
ges: add track objects to the track before the track-object-added is emitted
...
NOTE: The caller of ges_timeline_object_create_track_object now needs to add it to
the timeline_object after calling the function.
Fix the testsuite to support that accordingly
2012-01-11 11:56:14 -03:00
Mathieu Duponchelle
4eae7e542d
examples: Add a load project option to ges-ui
2012-01-11 11:56:14 -03:00
Mathieu Duponchelle
c210650256
test: Add a pitivi formatter test
...
For now we requiere a project files and media files to be on the host system,
this is not optimal and we should rework that in the future.
2012-01-11 11:56:14 -03:00
Thibault Saunier
6386247cc4
ges: Move supported formats from filesource to timelineobject
...
This is usefull by any subclass of GESTimelineObject
+ Bind it in python
+ Fix the keyfile formatter tests
API: ges_timeline_object_set_supported_formats
API: ges_timeline_object_get_supported_formats
2012-01-11 11:56:14 -03:00
Thibault Saunier
09e0d1bbe2
test: Better layer priority handling testing
...
We use the ges_timeline_object_move_to_layer new function to make sure it works,
and that everything goes well on priority handling with this new method
2012-01-11 11:56:14 -03:00
Thibault Saunier
15c816569b
ges: Handle TimelineLayer and its contained TimelineObject priorities properly
...
GESTimelineObject.priority is now actually relative to its containing layer
priority.
Test it in the layer test-suite.
2012-01-11 11:56:13 -03:00
Edward Hervey
737acd803e
tools: Add proper include for g_printf
2011-12-30 17:20:23 +01:00
Edward Hervey
0fe25be4cb
tests/thumbnails: Updates
2011-12-30 17:18:40 +01:00
Edward Hervey
bcb4496b35
tools: Add proper include for g_printf
2011-12-30 17:18:18 +01:00
Edward Hervey
afc400b31a
tests/save_and_load: Cleanups and leak fixing
2011-12-30 17:17:11 +01:00
Edward Hervey
ee0cf0b8aa
tests/effects: Update for new 'parent' property in objects
2011-12-30 17:16:29 +01:00
Andoni Morales Alastruey
e266d52acf
Don't build the examples if it's disabled in configure
...
Fixes : #657707 .
2011-08-31 11:05:02 -07:00
Luis de Bethencourt
237f19d63a
GESTimelineTitleSource/TrackTitleSource: add xpos/ypos setting
...
Vertical and horizontal position properties of the title source
can be set and get.
2011-08-09 19:15:18 +02:00
Luis de Bethencourt
8704011597
GESTimelineTitleSource/TrackTitleSource: add color setting
...
Color property of the text overlay can be set and get.
2011-08-09 19:13:37 +02:00
Luis de Bethencourt
18d588ff1e
examples: add file inpoints and summary to overlay example
2011-08-09 17:39:02 +02:00
Luis de Bethencourt
be381792aa
examples: add xpos and ypos options to overlay example
2011-08-08 18:57:37 +02:00
Luis de Bethencourt
63a82c5274
GESTimelineTextOverlay/TrackTextOverlay: add xpos/ypos setting
...
Vertical and horizontal position properties of the text overlay
can be set and get.
2011-08-08 18:44:57 +02:00
Luis de Bethencourt
0292e86b9b
examples: add color option to overlay example
2011-08-03 12:37:14 +02:00
Luis de Bethencourt
ba5babd474
GESTimelineTextOverlay/TrackTextOverlay: add color setting
...
Color property of the text overlay can be set and get.
2011-08-03 12:20:27 +02:00
Luis de Bethencourt
db58dc1569
tests: selectable audio format/container in test4
...
now users can select the desired rendering audio format and
container through --aformat and --format, like in ges-launch.
2011-07-01 19:30:01 +02:00
Luis de Bethencourt
882342906f
tests: fix TEST_URI for filesource tests
2011-07-01 18:13:08 +02:00
Luis de Bethencourt
f166c47ed5
examples: fix output_uri in test4
...
clean the make_ogg_vorbis_profile () code.
remove extra second of execution time.
clean some comment typos.
2011-06-29 16:17:00 +02:00
Luis de Bethencourt
6694b28188
examples: remove extra second in test2 and test3
...
remove unnecessary sources GList.
and fix comment typos as well.
2011-06-27 21:25:40 +02:00
Thibault Saunier
3195bd1303
GESTrackkEffect: Fix Leaks
2011-05-07 12:33:33 +02:00
Edward Hervey
de42c1c7f2
tests: Add effects to ignored files
2011-05-06 11:58:02 +02:00
Thibault Saunier
3b13d0fee0
ges-ui: add effects
2011-05-06 10:39:05 +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
7f3e64bd82
GESTimelineObject: Change the get_effects method to get_top_effects.
2011-05-06 10:39:04 +02:00
Thibault Saunier
9dccf8d475
GESTimelineObject: use GESTrackEffect as base classe for effects and not GESTrackOperation.
2011-05-06 10:39:04 +02:00
Thibault Saunier
ecb280c85e
TrackParseLaunchEffect: rename ges_track_parse_launch_effect_new_from_bin_desc method to ges_track_parse_launch_effect_new
2011-05-06 10:39:03 +02:00
Thibault Saunier
4b4439ad8a
Make GESTimelineEffect abstract and move its implementation to GESTimelineParseLaunchEffect
...
test: Adapte the test suite to suite the new API
2011-05-06 10:39:03 +02:00
Thibault Saunier
ea3625f4b9
Make GESTrackEffect abstract and move its implementation to GESTrackParseLaunchEffect
...
test: update the effect test suite
2011-05-06 10:39:03 +02:00
Thibault Saunier
da717d6b25
GESTrackObject: add the deep-notify signal
...
tests: test the new signal
2011-05-06 10:39:03 +02:00
Thibault Saunier
68c1ade22d
GESTimelineObject: Emit signal when adding and removing effects
...
tests: test that those signals are actually well sent
2011-05-06 10:39:03 +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
28ea2cf7a1
tests: use the AgingTv as testing effects instead of identity
...
Lets us try the new property handling implementation in TrackObject
2011-05-06 10:39:02 +02:00
Thibault Saunier
d18c9fe8fb
GESTimelineObject: add a ges_timeline_object_set_top_effect_priority method
...
Lets the user have a minimum of control over effects priorities
2011-05-06 10:39:02 +02:00
Thibault Saunier
1a7081ade3
test: Better priorities height setting testing
2011-05-06 10:39:02 +02:00
Thibault Saunier
861b724cd6
TimelineEffect: implement the create_track_object vmethod
...
tests: test the new vmethod
2011-05-06 10:39:01 +02:00
Thibault Saunier
72873aed92
test: check the height of a TimelineObject when adding effects to it
2011-05-06 10:39:01 +02:00
Thibault Saunier
ca2d5bca2b
TimelineObject: add the ges_timeline_object_get_top_effect_position method
...
tests: adapt the effect testsuite to use this function
docs: add the method to the documentation
2011-05-06 10:39:00 +02:00
Thibault Saunier
5e84bf8fe3
TimelineObject: add ges_timeline_object_get_effects API
...
tests: Test the new TimelineObject API
docs: add the corresponding fonction
2011-05-06 10:39:00 +02:00
Thibault Saunier
647f7c34d9
effects: Make TrackEffect implementation corresponding to the new effect API description
...
Make the effects testsuite correspond to the new API
Fixe a few compilation issues due to TrackEffect
2011-05-06 10:38:59 +02:00
Thibault Saunier
6e5d16ac6d
GESTrackEffect: add private struct
2011-05-06 10:38:58 +02:00
Thibault Saunier
63e901ed12
GESTrackEffect: implementation of this new class
2011-05-06 10:38:58 +02:00
Edward Hervey
027b454926
examples: Make sure we don't end up using NULL values
2011-03-15 14:05:07 +01:00
Edward Hervey
c8d77f2360
examples: Remove unused code
2011-03-15 14:04:49 +01:00
Sebastian Dröge
94d448cace
examples: Fix uninitialized variable compiler warning with gcc 4.6
2011-01-27 17:47:17 +01:00
Edward Hervey
6b8f736e21
tests: Unref the GList returned by ges_timeline_get_layers...
...
... in addition to the content themselves
2011-01-10 11:18:27 +01:00
Thibault Saunier
98b51d8cd1
TimelineFileSource: Create instance private and move private variables to it
...
Fixe/Add getter and setters methods for those variables
Fixup documentation
2011-01-08 22:45:44 +01:00
Thibault Saunier
3d6764d6e9
Timeline: Add instance private and Move private variables to it
...
Fixe/Add getter methods to get those variables
Fixup documentation
2011-01-08 22:45:44 +01:00
Thibault Saunier
e793cb6f9c
TimelineTestSource: Move private variables to instance private
...
Fixe/Add getter and setter methods for those variables
Fixup documentation
2011-01-08 22:45:44 +01:00
Thibault Saunier
595e6434cb
TimelineTitleSource: Move private variables to instance private
...
Fixe/Add getter and setters methods for those variables
Fixup documentation
2011-01-08 22:37:52 +01:00
Thibault Saunier
b8493f8896
TrackAudioTestSource: Move private variables to instance private
...
Add getter methods to get those variables
Fixup documentation
2011-01-08 22:32:53 +01:00
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
Brandon Lewis
c8d243b931
show duration text entry for all object types
2010-09-02 18:08:43 +02:00
Brandon Lewis
e98e10bad8
connect to delete event instead of destroy
2010-09-02 18:08:43 +02:00
Brandon Lewis
e0dbbcce6f
hide empty menus
2010-09-02 18:08:43 +02:00
Brandon Lewis
6103645f38
ignore some UI signals when selection changes
2010-09-02 18:08:43 +02:00
Brandon Lewis
92e1ae637e
disable playback when layer is in invalid state
2010-09-02 18:08:43 +02:00
Brandon Lewis
6e844f877f
layer is also invalid when there are transitoins at the beginning/end
2010-09-02 18:08:43 +02:00
Brandon Lewis
03e488ac74
add vaid property and unit tests
2010-09-02 18:08:43 +02:00
Brandon Lewis
11bb201e9d
update list store layer emits object-moved
2010-09-02 18:08:43 +02:00
Brandon Lewis
4fd305cbec
add unit tests for 'object-moved' signal
2010-09-02 18:08:43 +02:00
Brandon Lewis
98e070d412
implement move up/down commands
2010-09-02 18:04:30 +02:00
Brandon Lewis
848b15eb8c
connect to move_{up,down actions
2010-09-02 18:04:30 +02:00
Brandon Lewis
d14f1f11c5
also disallow moving past the start or end of timeline
2010-09-02 18:04:30 +02:00
Brandon Lewis
9e2352332a
can move only when exactly one clip is selected (and not in playback/paused)
2010-09-02 18:04:30 +02:00
Brandon Lewis
a6968fc33a
add move up/down actions
2010-09-02 18:04:29 +02:00
Brandon Lewis
d799e7720a
re-arrange tool-bar buttons
2010-09-02 18:04:29 +02:00
Brandon Lewis
8975053255
don't allow changes to timeline if we're paused
2010-09-02 18:04:29 +02:00
Brandon Lewis
081dc24869
implement the stop button
2010-09-02 18:04:29 +02:00
Brandon Lewis
c94b446766
add stop button
2010-09-02 18:04:29 +02:00
Brandon Lewis
6377906e12
code clean-up and comments
2010-09-02 18:04:29 +02:00
Brandon Lewis
5f67510bf6
eliminate unecessary function prototypes
2010-09-02 18:04:29 +02:00
Brandon Lewis
de28ea361e
move UI callbacks to end of file
2010-09-02 18:04:29 +02:00
Brandon Lewis
9b1fa9c8cc
clean up application struct
2010-09-02 18:04:29 +02:00
Brandon Lewis
029f6b8228
more xml tweaks
2010-09-02 18:04:29 +02:00
Brandon Lewis
678d5fd710
don't connect to selected objects unless selection is homogenous
2010-09-02 18:04:29 +02:00
Brandon Lewis
634babbeb7
UI layout tweaks
2010-09-02 18:04:29 +02:00
Brandon Lewis
004e30a72c
only allow transitions to be added when the last object isn't a transition
2010-09-02 18:04:29 +02:00
Brandon Lewis
6da49412d3
use a private struct with get_selection_foreach
2010-09-02 18:04:28 +02:00
Brandon Lewis
36428f8c5a
disable add_transition
2010-09-02 18:04:28 +02:00
Brandon Lewis
31464faad9
get add_transition action from xml
2010-09-02 18:04:28 +02:00
Brandon Lewis
43f8f04cf5
menu/toolbar for adding transitions
2010-09-02 18:04:28 +02:00
Brandon Lewis
f519e156e8
allow multiple selections
2010-09-02 18:04:28 +02:00
Brandon Lewis
b05e5534df
set pipeline to ready on EOS
2010-09-02 18:04:28 +02:00
Brandon Lewis
f11057246c
make sure all actions that mutate timeline are disabled during playback
2010-09-02 18:04:28 +02:00
Brandon Lewis
ad7f430066
set frequency property when spin button changed
2010-09-02 18:04:28 +02:00
Brandon Lewis
cffbeec32b
update frequency spin button when selection changed
2010-09-02 18:04:28 +02:00
Brandon Lewis
f2e3cba941
add frequency and volume widgets, with signal handlers
2010-09-02 18:04:28 +02:00
Brandon Lewis
d34e61d395
update source volume when slider is moved
2010-09-02 18:04:28 +02:00
Brandon Lewis
c9a9cabaec
update volume slider when volume changes
2010-09-02 18:04:28 +02:00
Brandon Lewis
9bc26edc87
get freq/volume widgets
2010-09-02 18:04:27 +02:00
Brandon Lewis
335c93569b
implement background widget
2010-09-02 18:04:27 +02:00
Brandon Lewis
ed079ed6f0
fill backround type table from enum values
2010-09-02 18:04:27 +02:00
Brandon Lewis
3b2659b6f9
adjust visibility calculations
2010-09-02 18:04:27 +02:00
Brandon Lewis
b37a92b255
allow adding test sources
2010-09-02 18:04:27 +02:00
Brandon Lewis
e21bce1843
get background widgets from xml
2010-09-02 18:04:27 +02:00
Brandon Lewis
3ada32eeac
test sources
2010-09-02 18:04:27 +02:00
Brandon Lewis
d67801792d
add text box to set durations from formatted strings
2010-09-02 18:04:27 +02:00
Brandon Lewis
496c654728
set sate of pipeline to NULL prior to exit
2010-09-02 18:04:27 +02:00
Brandon Lewis
fa60c9cb9d
update text property from text widget
2010-09-02 18:04:27 +02:00
Brandon Lewis
aa7ff11b7f
call ges_simple_timeline_layer_add_object intead of base method
2010-09-02 18:04:27 +02:00
Brandon Lewis
685cd40fa1
completely hide properties widgets when nothign is selected
2010-09-02 18:04:27 +02:00
Brandon Lewis
78120467e7
refactor connecto_to_* family of functions
2010-09-02 18:04:27 +02:00
Brandon Lewis
fbed7cf5f3
connect to text property widgets
2010-09-02 18:04:26 +02:00
Brandon Lewis
ab2bb1dce5
add widgets to UI for editing text properties
2010-09-02 18:04:26 +02:00
Brandon Lewis
28cef09736
add signal handlers for text properties
2010-09-02 18:04:26 +02:00
Brandon Lewis
59ecab2421
keep track of the type of selected objects
2010-09-02 18:04:26 +02:00
Brandon Lewis
5a8ce641ee
add title source when action activates
2010-09-02 18:04:26 +02:00
Brandon Lewis
e34baad63d
add text properties to UI
2010-09-02 18:04:26 +02:00
Brandon Lewis
91d8591a1e
allow multiple files to be added
2010-09-02 18:04:26 +02:00
Brandon Lewis
a0be0475c5
use file-chooser dialog when adding files
2010-09-02 18:04:26 +02:00
Brandon Lewis
b20a89540f
disable playback when there's nothing in the timeline
2010-09-02 18:04:26 +02:00
Brandon Lewis
921378b488
disable add_file during playback
2010-09-02 18:04:26 +02:00
Brandon Lewis
fccf1d4520
disable delete during playback
2010-09-02 18:04:26 +02:00
Brandon Lewis
fc93c3c870
disable properties during playback
2010-09-02 18:04:26 +02:00
Brandon Lewis
aae0e26508
update state from bus; set button icon from playback state
2010-09-02 18:04:25 +02:00
Brandon Lewis
b7c2956827
set the action sensitivity, not the menu item
2010-09-02 18:04:25 +02:00
Brandon Lewis
783ce7ac3b
toggle playback when button clicked
2010-09-02 18:04:25 +02:00
Brandon Lewis
5cbd2f28a6
fix signal handler signatures
2010-09-02 18:04:25 +02:00
Brandon Lewis
79a939e3cf
add play action/controls
2010-09-02 18:04:25 +02:00
Brandon Lewis
7bbde00c9b
add toolbar; connect to action signals instead of menu items directly
2010-09-02 18:04:25 +02:00
Brandon Lewis
9107efb4ac
also set state of delete menu item
2010-09-02 18:04:25 +02:00
Brandon Lewis
6a0c7da725
update in-point from in-point slider
2010-09-02 18:04:25 +02:00
Brandon Lewis
80119bc7c5
add in-point slider
2010-09-02 18:04:25 +02:00
Brandon Lewis
01f6795733
format duration nicely
2010-09-02 18:04:25 +02:00
Brandon Lewis
853c31e75e
set slider range before setting duration
2010-09-02 18:04:25 +02:00
Brandon Lewis
c4219a9304
remove some unneeded function protos
2010-09-02 18:04:25 +02:00
Brandon Lewis
2e2d7e388a
slider updates duration of selected object now
2010-09-02 18:04:25 +02:00
Brandon Lewis
2919d61bf8
connect to duration and max-duration changed of filesources
2010-09-02 18:04:24 +02:00
Brandon Lewis
8ae5872787
do housekeeping each time selection is updated
2010-09-02 18:04:24 +02:00
Brandon Lewis
b5affabc0c
clean up the create_ui function a bit
2010-09-02 18:04:24 +02:00
Brandon Lewis
64d09470d0
disable properties editor when nothing is selected
2010-09-02 18:04:24 +02:00
Brandon Lewis
0767ac5e92
rename a few attributes
2010-09-02 18:04:24 +02:00
Brandon Lewis
1a72eb0fdc
update list model when objects are removed from layer
2010-09-02 18:04:24 +02:00
Brandon Lewis
9c93c4e15f
delete selected objects from layer when user issues delete command
2010-09-02 18:04:24 +02:00
Brandon Lewis
bdc7dc7cd7
store a pointer to the list selection
2010-09-02 18:04:24 +02:00
Brandon Lewis
c46c03504a
display filename and duration of added clip
2010-09-02 18:04:24 +02:00
Brandon Lewis
fcd508559e
don't create tree model in XML
2010-09-02 18:04:24 +02:00
Brandon Lewis
feca823168
make sure we get everythign we need from the XML file
2010-09-02 18:04:24 +02:00
Brandon Lewis
2cb291b191
connect to layer object-{added,removed} and display message
2010-09-02 18:04:24 +02:00
Brandon Lewis
db243a2499
add some simple code to add a source to the timeline
2010-09-02 18:04:23 +02:00
Brandon Lewis
cd1ebe9237
add liscence and some organizational comments
2010-09-02 18:04:23 +02:00
Brandon Lewis
d267841e41
we don't have to free all that much, in fact
2010-09-02 18:04:23 +02:00
Brandon Lewis
d236e92178
create a simple timeline layer
2010-09-02 18:04:23 +02:00
Brandon Lewis
c74b51f9b2
pass app instance to signal handlers
2010-09-02 18:04:23 +02:00
Brandon Lewis
789859cbc4
move app data to private struct
2010-09-02 18:04:23 +02:00
Brandon Lewis
37e895975d
export dynamic symbols in examples so signal autoconnect works
2010-09-02 18:04:23 +02:00
Brandon Lewis
6c3e0b3f34
add protos so it builds under c90 mode
2010-09-02 18:04:23 +02:00
Brandon Lewis
f4826aa85c
add ges-ui.c to build system
2010-09-02 18:04:23 +02:00
Brandon Lewis
da242d9f9a
move ui to tests/examples
2010-09-02 18:03:38 +02:00
Edward Hervey
4d801d85fe
tests: Fix a leak in test_filesource_images
2010-09-02 17:54:48 +02:00
Brandon Lewis
dd47b93587
update unit tests to catch an earlier bug
2010-09-01 16:56:04 +02:00
Brandon Lewis
01ba934522
check in text properties example
2010-09-01 16:56:04 +02:00
Brandon Lewis
a071cec612
add unit tests for text properties
2010-09-01 16:56:04 +02:00
Brandon Lewis
286c5f78db
supply type param to _find_track_objects in unit tests
2010-09-01 16:56:03 +02:00
Brandon Lewis
739053e249
unref timeline in unit test
2010-09-01 16:56:03 +02:00
Brandon Lewis
efbc4a22cd
increase default priority offset for sources; update unit tests
2010-09-01 16:56:03 +02:00
Brandon Lewis
3cd0444b21
test height notification
2010-09-01 16:56:03 +02:00
Brandon Lewis
572f7ab4da
expose priority-offset as a property
2010-09-01 16:56:02 +02:00
Brandon Lewis
92bedbc72e
update documentation and unit tests
2010-09-01 16:56:02 +02:00
Brandon Lewis
fe54413811
create GESTrackAudioTestSource for audio tracks when is-image is true
2010-08-13 11:50:30 +02:00
Brandon Lewis
c07097f6bb
set supported formats in new unit test
2010-08-13 11:50:30 +02:00
Brandon Lewis
4865daa206
unit test for image sources
2010-08-13 11:50:30 +02:00
Brandon Lewis
f80b85ffdc
add thumbnailing example which tests rest of thumbnailing api
2010-07-16 18:54:48 +02:00
Brandon Lewis
e3dc2d58a0
fix mem leak in unit test
2010-07-09 13:27:15 +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
Brandon Lewis
12a2d3b3fe
expose freq and volume props in GESTimelineTestSource
2010-07-09 13:21:16 +02:00
Brandon Lewis
dcc0413945
remove 'mute' property from GESTimelineTextOverlay
2010-07-09 13:21:16 +02:00
Brandon Lewis
9f71c1ff8c
convert rest of code to use GESVideoTestPattern
2010-07-09 13:21:16 +02:00
Brandon Lewis
66351c03ef
update unit tests
2010-07-09 13:21:16 +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
521df03ddd
GESTimelineOverlay -> GESTimelineTextOverlay
2010-07-09 13:21:15 +02:00
Brandon Lewis
e3718b4213
GESTimelineBackgroundSource -> GESTimelineTestSource
2010-07-09 13:21:15 +02:00
Brandon Lewis
ae8d9b1544
GESTrackVideoBackgroundSource -> GESTrackVideoTestSource
2010-07-09 13:21:14 +02:00
Brandon Lewis
890bbb084e
GESTrackVideoOverlay -> GESTrackTextOverlay
2010-07-09 13:21:14 +02:00
Brandon Lewis
fc23c1f040
GESTrackVideoOverlay inherits directly from GESTrackOperation
2010-07-09 13:21:14 +02:00
Brandon Lewis
526e37589b
GESTrackVideoTitleSource -> GESTrackTitleSource
2010-07-09 13:21:14 +02:00
Edward Hervey
5058f83381
examples: Ignore files
2010-07-09 13:21:13 +02:00
Edward Hervey
17619a0869
check: Ignore files
2010-07-09 13:21:13 +02:00
Edward Hervey
aa640c7709
tests: Add <stdlib.h> for exit usage
2010-07-09 13:21:13 +02:00
Brandon Lewis
79cbb9efad
check in overlay test app
2010-07-09 13:21:12 +02:00
Brandon Lewis
1c2ab099f9
activate remaining overlay tests
2010-07-09 13:21:12 +02:00
Brandon Lewis
c76697bca0
check in overlay unit tests
2010-07-09 13:21:12 +02:00
Brandon Lewis
5857274f8e
update unit tests
2010-07-09 13:21:11 +02:00
Brandon Lewis
8f75344ac2
clean up some memory leaks in the titles unit test
2010-07-09 13:21:10 +02:00
Brandon Lewis
7e50750c2a
unit tests for {h,v}alignment properties
2010-07-09 13:21:10 +02:00
Brandon Lewis
1774b9360c
check in unit tests for titles
2010-07-09 13:21:09 +02:00
Brandon Lewis
11edd461eb
don't forget to unref objects in unit tests
2010-07-09 13:21:08 +02:00
Brandon Lewis
efb7524a0a
test vpatern property in unit tests
2010-07-09 13:21:08 +02:00
Brandon Lewis
71da78c364
test Backgroudn sources in layers
2010-07-09 13:21:07 +02:00
Brandon Lewis
878fac9c6a
check in background source unit test
2010-07-09 13:21:06 +02:00
Edward Hervey
ec1a08ded6
tests: Add <stdlib.h> for exit usage
2010-07-09 10:35:41 +02:00
Thiago Santos
70c26b55cb
Fix building issues
...
Adds missing headers to some files and needed cflags to gtk-doc
scanner build
2010-07-07 09:10:49 +02:00
Edward Hervey
c558b01f5b
examples: Fix debug statement
2010-06-11 19:34:39 +02:00
Brandon Lewis
c1afe75b25
add elemt. to bin in arbitrary_fill_track_func
2010-06-10 12:52:41 +02:00
Brandon Lewis
4d8a013bd3
fix typos in comment block
2010-06-09 18:58:33 +02:00
Brandon Lewis
d9419c60f3
tests/examples/transition.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
ebaffc5b33
tests/examples/test4.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
175296c174
tests/check/ges/concatenate.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
04fa8b4777
tests/check/ges/transition.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
07ec09d9e7
tests/check/ges/simplelayer.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
cd095cfebe
tests/check/ges/filesource.c: C90 fixes
2010-06-09 17:13:07 +02:00
Edward Hervey
8c7535081d
check: Check that all objects are removed from the layer
...
This currently fails
2010-06-09 11:28:46 +02:00
Edward Hervey
80157a1def
check: Use release_track_object instead of unref
2010-06-09 11:28:46 +02:00
Edward Hervey
b814e287e3
tools/examples: Ignore more files
2010-06-09 11:28:45 +02:00
Edward Hervey
a408905e72
tools: Moving playlist from examples and making it installable
...
It is now called ges-launch
2010-06-09 11:28:45 +02:00
Brandon Lewis
7e978db455
tests/examples/playlist.c: allow file / pattern durations to be 0 (but not
...
transitions)
2010-06-09 11:28:45 +02:00
Brandon Lewis
9cf2d7b1be
tests/examples/playlist.c: clean up playlist help text
2010-06-09 11:28:45 +02:00
Brandon Lewis
c5d9b54c67
tests/examples/playlist.c: better sanity checking of arguments
2010-06-09 11:28:45 +02:00
Brandon Lewis
34b398970c
tests/examples/playlist.c: add option to print avail. transitions/patterns.
...
update help strings
2010-06-09 11:28:45 +02:00
Brandon Lewis
a5759af64b
tests/check/ges/{simplelayer.c,transition.c}: update unit tests
2010-06-09 11:28:11 +02:00
Brandon Lewis
938ac259d0
tests/check/ges/transition.c: test that changing timeline vtype sets trackobj
...
vtype
2010-06-09 11:28:10 +02:00
Brandon Lewis
45016397b9
tests/check/ges/{simplelayer.c,tests/check/ges/transition.c}: sync with
...
previous api change
2010-06-09 11:28:10 +02:00
Brandon Lewis
22534176d8
ges/ges-timeline-transition.{c,h},tests/.../transition.c: type change of vtype
...
to gint from 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
cfe079fc94
tests/check/ges/transition.c: make sure unit tests work properly
2010-06-09 11:28:10 +02:00
Brandon Lewis
ea408d472e
tests/check/ges/transition.c: oops, unit tests using wrong api
2010-06-09 11:28:10 +02:00
Brandon Lewis
9eba9b4d7b
tests/check/Makefile.am: add transition unit tests to make check
2010-06-09 11:28:10 +02:00
Brandon Lewis
e577b01317
tests/check/ges/transition.c: check in transition unit tests
2010-06-09 11:28:10 +02:00
Brandon Lewis
e0553dd63b
tests/check/ges/{simplelayer.c,transition.c}: create audio tracks in demos
2010-06-09 11:28:09 +02:00
Brandon Lewis
542e8afb75
fix bugs
2010-06-09 11:28:09 +02:00
Brandon Lewis
9de8dc2726
tests/examples/playlist.c: make audio stream of audiotestsrc silent (it's much
...
less annoying).
2010-06-09 11:28:09 +02:00
Brandon Lewis
394f11e90f
tests/examples/playlist.c: fix inappropriate down-casts in playlist.py
2010-06-09 11:28:09 +02:00
Brandon Lewis
3118c0f510
tests/check/ges/simplelayer.c: check in massive unit test case for GSTL with
...
transitions
2010-06-09 11:28:08 +02:00
Brandon Lewis
bcf734a419
tests/examples/playlist.c: add transitions to playlist example
2010-06-09 11:28:08 +02:00
Brandon Lewis
deddfe2df5
tests/examples/transition.c: use ges_timeline_transition_new_from_nick()
2010-06-09 11:28:08 +02:00
Brandon Lewis
7cab52d01b
tests/examples/playlist.c: re-work pattern command line syntax
2010-06-09 11:28:08 +02:00
Brandon Lewis
11db2c9f9f
ests/examples/transition.c: create transition with specified type
2010-06-09 11:28:08 +02:00
Brandon Lewis
a9b47a1a71
tests/examples/transition.c: pass transition type to make_timeline
2010-06-09 11:28:08 +02:00
Brandon Lewis
498414e782
tests/examples/transition.c: make -t option work with values supported by
...
smpte + "crossfade"
2010-06-09 11:28:08 +02:00
Brandon Lewis
6943fe1b42
tests/examples/transition.c: add routines for identifying transitions
2010-06-09 11:28:08 +02:00
Brandon Lewis
83e7f5eec0
tests/examples/transition.c: split out "make_timeline" into separate routine
2010-06-09 11:28:08 +02:00
Brandon Lewis
90038c1f94
tests/examples/transition.c: remove some cruft from transition example
2010-06-09 11:28:08 +02:00
Brandon Lewis
a025040ed6
tests/examples/transition.c: print values in seconds not nseconds
2010-06-09 11:28:07 +02:00
Brandon Lewis
bfadeeb4f5
tests/examples/transition.c: cast arguments to g_object_set
2010-06-09 11:28:07 +02:00
Brandon Lewis
c9a2f73579
hacking
2010-06-09 11:28:07 +02:00
Brandon Lewis
60e09c2438
tests/examples/transition.c: create transition when duration > 0
2010-06-09 11:28:07 +02:00
Brandon Lewis
575c810a90
dist transition.c
2010-06-09 11:28:07 +02:00
Brandon Lewis
bd28d788f0
check in single transition demo
2010-06-09 11:28:07 +02:00
Brandon Lewis
603619ec6b
playlist.c: working pattern sources
2010-06-09 11:28:06 +02:00
Edward Hervey
89b0739512
examples: Add a looping feature to playlist example
...
Allows playing the timeline repeatedly a certain number of times
2010-06-02 11:49:08 +02:00
Edward Hervey
9dd1d7f1ba
examples: New concatenate examples.
...
Allows concatenating several files of the same type together
2010-05-25 16:35:27 +02:00
Edward Hervey
d56616ecfa
examples: Ignore some files
2010-05-25 16:35:27 +02:00
Edward Hervey
b1d5af7f4f
tests: ignore more files
2010-05-19 12:39:23 +02:00
Edward Hervey
b752dab333
examples: Allow setting null duration on files
...
This will make the timeline use GstDiscoverer to analyze the file.
2010-05-19 12:38:21 +02:00
Edward Hervey
eb4b02f3ed
GESTimelineFileSource: Add 'max-duration' and 'supported-formats' properties
...
* max-duration is the total length of the File.
* supported-formats is the various track types this filesource can produce
trackobjects for. This should maybe be moved to parent classes in the
future
Step 1 of GstDiscoverer integration
2010-05-19 12:24:44 +02:00
Edward Hervey
51b660eca3
examples: Add option to specify video restriction
...
Some encoders don't handle _get_caps() properly :(
2010-05-06 19:57:25 +02:00
Edward Hervey
8af90b7144
examples: New playlist examples
...
Allows giving lists of file/start/duration triplets and testing the
various timeline-pipeline modes (preview, render, smart-render)
2010-04-20 13:47:08 +02:00
Edward Hervey
d784d95d10
check: Use GST_CFLAGS so we get new compilation flags
2010-04-20 13:47:08 +02:00
Edward Hervey
3c9bb965fc
examples: Simple Audio/Video example
...
Currently one can:
* Give a multimedia file
* modify the inpoint
* modify the duration
* mute the audio
2010-03-13 16:43:59 +01:00
Edward Hervey
346d7ab0f6
tests: Add unit test for layer property.
...
Still needs more work though
2010-03-13 15:56:57 +01:00
Edward Hervey
369d1d8cd8
tests: Check refcount of created trackobjects
2010-03-13 15:56:56 +01:00
Edward Hervey
83cc796cc9
GESTimelineObject: Don't leak a reference when creating TrackObject
2010-03-13 15:54:32 +01:00
Edward Hervey
69161e795e
ignore more files
2010-03-11 11:06:50 +01:00
Edward Hervey
81a8840c86
examples: Fix linking/include order
2010-03-05 16:10:13 +01:00
Edward Hervey
fcaf46b013
check: Add a test for checking timelinefilesource properties
...
This include the mute feature
2010-03-05 16:04:37 +01:00
Edward Hervey
648350498f
examples: Use profile LIBS
...
and fix a typo with GST_LIBS
2010-02-09 17:45:42 +01:00
Jarkko Pallviainen
1be4e75b44
examples: Fix build on 32bit systems
2010-01-20 11:09:56 +01:00
Edward Hervey
e6805bfb33
examples: test4: variant of test3 with rendering.
...
Usage: ./test4 output_uri audio_files
This will render in ogg/vorbis the first seconds of all the provided
audio files to the output_uri
Ex : ./test4 file:///data/audio1s.ogg /data/music/*.ogg
2010-01-08 18:16:16 +01:00
Edward Hervey
361467c9d9
tests: Fix macro by making it use the proper argument types
2009-12-11 15:20:35 +01:00
Edward Hervey
6b265346c4
tests: Fix linking order.
...
This ensures that "make check" will run with the local libraries and not
the system-wide ones
2009-12-11 15:20:35 +01:00
Edward Hervey
6882f9b842
tests: release TrackObject when we're done with it
2009-11-25 13:17:01 +01:00
Edward Hervey
8958e84e6b
tests: Don't forget to cast to guint64 when using g_object_set
...
... else total failure ensues on 32bit machines
2009-11-25 13:17:01 +01:00
Edward Hervey
640cf95158
tests: New unit test for GESTimelineObject
2009-09-30 16:45:13 +02:00
Edward Hervey
acef4cf4c1
tests/examples: test3, same as test2, but uses a SimpleTimelineLayer
2009-09-29 15:32:23 +02:00
Edward Hervey
e24c561d61
tests/check: Add test for GESSimpleTimelineLayer
2009-09-29 15:29:11 +02:00
Edward Hervey
23d2bdcca1
tests/example: New small example of timeline file sources.
...
This examples takes a list of files with audio tracks, and plays the first
second of each.
This demonstrates the usage of GESTimelineFileSource
2009-09-21 18:11:19 +02:00
Edward Hervey
a74cfc86f6
tests/check: New test for GESTimelineFileSource
2009-09-21 18:08:51 +02:00
Edward Hervey
06ebf38c32
tests: Make basic test check for proper reference counting.
2009-09-14 19:48:21 +02:00
Edward Hervey
533cc611cb
Document first high-level demo.
2009-09-10 18:53:31 +02:00
Edward Hervey
c879e77c16
test1: Expand example to also use an audio track.
2009-09-09 15:53:53 +02:00
Edward Hervey
9eb88fd229
test1: Actually change videotestsrc patterns to make changes obvious.
2009-09-09 13:57:37 +02:00
Edward Hervey
4fccce57dd
test1: Use mainloop, required for proper gnonlin behaviour.
2009-09-09 13:55:30 +02:00
Edward Hervey
73c6f213c7
examples: Add timeline to pipeline and set it to playing.
...
... and now we need to go an fix playsink :)
2009-09-08 19:46:54 +02:00
Edward Hervey
57493596cc
test/ges/basic: Adapt to API changes.
2009-09-08 19:46:26 +02:00
Edward Hervey
83c3e87661
CustomTimelineSource: Allow giving user_data to the callback
2009-08-07 20:31:11 +02:00
Edward Hervey
a25c707999
Add directory for examples along with a minimalistic first example.
2009-08-07 20:29:35 +02:00
Edward Hervey
d8444f3844
Add 'caps' property on Track
2009-08-07 18:18:42 +02:00
Edward Hervey
f2851c3473
tests/ges/basic: Extend test to remove the object.
2009-08-07 16:47:18 +02:00
Edward Hervey
1bd2ebc068
tests: Add a simple scenario
2009-08-06 20:04:59 +02:00
Edward Hervey
12777c8532
Add unit test system. Adjust GST_DEBUG usage.
2009-08-06 19:51:29 +02:00