Commit graph

309 commits

Author SHA1 Message Date
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