Commit graph

1414 commits

Author SHA1 Message Date
Thibault Saunier
ab0d1b1724 tests: Add a macro for type checking 2013-01-10 11:18:46 -03:00
Thibault Saunier
af326df8bd utilities: Make internal utilities instead of copy/pasting functions 2013-01-10 11:15:32 -03:00
Thibault Saunier
3e310e5960 gitignore: Ignore anjuta files 2013-01-10 11:11:31 -03:00
Thibault Saunier
f2d389d37f Benchmark rippling 2013-01-10 11:11:31 -03:00
Thibault Saunier
feb85a1456 Move LAYER_HEIGHT definition from -timeline-layer.c c to -internal.h 2013-01-10 11:11:31 -03:00
Thibault Saunier
6e33af939c asset-track-object: Minor doc fixing 2013-01-10 11:11:31 -03:00
Thibault Saunier
1b8126d349 timeline: Remove dead macros 2013-01-10 11:11:30 -03:00
Thibault Saunier
31e1ea3840 timeline: Use g_sequence_sort_changed when appropriate 2013-01-10 11:11:28 -03:00
Thibault Saunier
e54f1292b6 track: Keep in cache the GSequenceIter so we get a faster acces to them 2013-01-03 12:23:02 -03:00
Thibault Saunier
c9e970eb36 formatter: Plug some leaks 2013-01-03 09:44:35 -03:00
Thibault Saunier
b8400f7900 test: project: Fix various leaks 2013-01-03 09:44:35 -03:00
Thibault Saunier
0ec78ea70b xmlformatter: Plug various leaks 2013-01-03 09:44:35 -03:00
Thibault Saunier
cf93469fa5 Misc nitpick fixing 2012-12-30 23:12:28 -03:00
Thibault Saunier
854228c4ea project: Plug various leaks. 2012-12-30 23:12:28 -03:00
Thibault Saunier
ac7dd69a71 meta-container: Plug various leaks 2012-12-30 23:12:28 -03:00
Thibault Saunier
bf1e966d25 asset: Do not allow proxying over the same currently proxied asset 2012-12-30 23:12:27 -03:00
Thibault Saunier
38bc983502 asset: Fix some leaks 2012-12-30 23:12:27 -03:00
Thibault Saunier
96d3afce6e asset: Avoid leaking the GParameter array and content 2012-12-29 19:38:50 -03:00
Thibault Saunier
f722938ebf assetfilesource: Fix some leaks 2012-12-29 19:38:31 -03:00
Thibault Saunier
aa0d4487d7 tests: Remove useless mutex 2012-12-29 19:38:13 -03:00
Thibault Saunier
3120c525bb Add some more gitignore 2012-12-29 19:38:13 -03:00
Thibault Saunier
a962f07087 Refrase formatters descriptions 2012-12-29 19:38:13 -03:00
Thibault Saunier
b6b6063be3 formatter: First check the extension when checking if can load URI 2012-12-29 19:38:13 -03:00
Thibault Saunier
7fa9eee785 project: Run the vmethod in first stage for the "loaded" signal
This is most probably what sublcasses will need
2012-12-29 19:38:13 -03:00
Thibault Saunier
e796a2aab2 tests: Fix misc issues
Now GST_CAPS_ANY is a singleton, it is not returning a newly created caps
anymore
2012-12-29 19:38:12 -03:00
Thibault Saunier
9f63e6514a Allow checking code coverage 2012-12-29 19:38:12 -03:00
Thibault Saunier
67da662276 Misc documentation fixes
Using "#" a in short_description screws the display
2012-12-29 19:38:12 -03:00
Thibault Saunier
c5ad871d1c Implement a GESAssetTrackObject class
+ Addapt the rest of the code to make use of it
2012-12-29 19:38:12 -03:00
Thibault Saunier
27c36046fa Implement a GESAssetTimelineObject class
+ Make GESAssetFileSource a subclass of it
 + Remove ges_asset_filesource_get_supported_type as it is now in GESAssetTimelineObject
 + Remove the GES_META_TIMELINE_OBJECT_SUPPORTED_FORMATS as it is useless now
2012-12-29 19:36:53 -03:00
Thibault Saunier
6dfae640a2 Add a GESAssetTrackFileSource class and make use of it all around 2012-12-29 19:36:53 -03:00
Sebastian Dröge
bc0f335734 Allow applications to select to which track a track object should be added
Modifies some  API:
    ges_timeline_object_create_track_objects now take a GESTrackType instead of a
        GESTrack as second argument, and return a GList instead of a boolean
    ges_timeline_object_create_track_object now take a GESTrackType instead of a
        GESTrack as second argument
2012-12-29 19:36:52 -03:00
Thibault Saunier
313036aa15 Add a utility method to get the name of a GESTrackType
API:
    ges_track_type_name
2012-12-29 19:36:52 -03:00
Thibault Saunier
0f98adece8 timelinepipeline: Properly reset #GESTrack caps when switching back to playback 2012-12-29 19:36:52 -03:00
Thibault Saunier
2b4c4cfc0c timeline: Properly popullate the tracks field with GESTrack-s
+ add priv_tracks private field that contained TrackPrivate structures

We now have 2 list containing our tracks, one with TrackPrivate structures, and one the
GESTrack-s themselves.
2012-12-29 19:36:52 -03:00
Thibault Saunier
f7228a40a2 Add some ignored files 2012-12-29 19:36:52 -03:00
Thibault Saunier
228c2fd569 Revert "Revert "ges: timeline-pipeline: Remove playsink send_event hack""
This reverts commit 094669391d.

Conflicts:
	ges/ges-timeline-pipeline.c
2012-12-29 19:36:52 -03:00
Thibault Saunier
5a56aef7c0 Misc documentation fixing 2012-12-29 19:36:52 -03:00
Thibault Saunier
4ab430877f formatter: Rework the _save_to_uri method to give more debug information 2012-12-29 19:36:51 -03:00
Thibault Saunier
f30e33d489 timeline-layer: Handle project when adding a GESTimelineObject directly 2012-12-29 19:36:51 -03:00
Thibault Saunier
063bc37a35 timeline-layer: Implement the Extractable type
We can imagine user implemts more Layer type, it could be usefull for formatters
to instanciate through a GESMaterial
2012-12-29 19:36:51 -03:00
Thibault Saunier
ad00c228c4 timeline-object: Reindent header file 2012-12-29 19:36:51 -03:00
Thibault Saunier
d32dc3fb20 docs: Minor documentation fixes 2012-12-29 19:36:51 -03:00
Thibault Saunier
1a06a2e63e internale: Add the G_GNUC_INTERNAL attribute to all internal methods 2012-12-29 19:36:51 -03:00
Volodymyr Rudyi
a00a4b1e2c tests: Add testcase for GESAsset 2012-12-29 19:36:51 -03:00
Thibault Saunier
07ceb2ca40 ges: Create assets for all GESTimelineStandardTransition on ges_init()
+ Add some testsuite
2012-12-29 19:36:50 -03:00
Thibault Saunier
38bcd59bfa ges: Make sure not to initialize twice 2012-12-29 19:36:50 -03:00
Thibault Saunier
7ecf33130a timelineobject: Add a method to add a GESAsset
+ Avoid to assume function arguments are correct before actually testing
      them in ges_timeline_object_add_track_object

API: ges_timeline_object_add_asset
2012-12-29 19:36:50 -03:00
Thibault Saunier
e47701b226 timeline-standard-transition: Override the GESExtractable implementation
Standard transition material have the vtype property as ID, it has the particularity
that the ID can be changed at runtime

	+ Implement tests to make sure it behaves properly
2012-12-29 19:36:50 -03:00
Thibault Saunier
c1110f2c85 timelinefilesource: Remove deprectated methods
Removed API:
	ges_timeline_filesource_get_supported_formats
2012-12-29 19:36:50 -03:00
Thibault Saunier
45c7f609da timeline: Make use of the Project API for timeline saving
API:
    *  Add a formatter_type paramatter to ges_timeline_save_to_uri
2012-12-29 19:36:50 -03:00