Commit graph

578 commits

Author SHA1 Message Date
Edward Hervey
168c2d0327 GESTrackEffect: Cleanup of the property lookup code 2011-05-07 13:43:10 +02:00
Edward Hervey
44795fe51c GESTrackObject: Fix leak when iterating elements
We *always* need to unref elements and not just when they're effects
2011-05-07 13:43:10 +02:00
Edward Hervey
92ce17285b GESTrackObject: use gst_object_ref 2011-05-07 13:43:07 +02:00
Edward Hervey
7b303a38c5 GESTrackEffect: Use gst_object_unref for the hash value destroyfunc
The values are GstObjects and it makes it easier to track in debug logs
when they are being unreffed.
2011-05-07 13:22:50 +02:00
Thibault Saunier
3195bd1303 GESTrackkEffect: Fix Leaks 2011-05-07 12:33:33 +02:00
Thibault Saunier
65649722dd GESTimelineParseLaunchEffect: finalize to avoid leaks 2011-05-06 17:18:58 -03:00
Thibault Saunier
898ddfde87 ges: Add 'Since 0.10.2' to the new effects related API 2011-05-06 14:55:31 -03:00
Edward Hervey
ed8c00aa73 GESTrackObject: Check for valid argument 2011-05-06 19:41:38 +02:00
Edward Hervey
5fb9ec4148 GESTrackObject: Make a local function static 2011-05-06 19:41:16 +02:00
Edward Hervey
dab7501cdc GESTimelineObject: Check for valid arguments
and minor indentation fix
2011-05-06 19:40:22 +02:00
Edward Hervey
eccad44289 ges: Debug statement fixups 2011-05-06 19:39:26 +02:00
Edward Hervey
a6f3ae6dac ges: Doc fixes 2011-05-06 19:38:26 +02:00
Edward Hervey
88ab612df2 ges: Include indentation fixes 2011-05-06 19:36:35 +02:00
Edward Hervey
bca106e4b3 ges: Fix include orders 2011-05-06 19:35:13 +02:00
Edward Hervey
5b57ce7f4f ges: Don't break debug lines 2011-05-06 11:56:30 +02:00
Edward Hervey
5ac02d60be TrackLaunchEffect: Fix macros 2011-05-06 11:54:19 +02:00
Thibault Saunier
a1f11bed79 GESTrackParseLaunchEffect: better create_element implementation 2011-05-06 10:39:05 +02:00
Thibault Saunier
d6945879a0 TrackObject: fixe a crash in connect_signal 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
1add2482b8 GESTrackObject: add a ges_track_object_lookup_child method 2011-05-06 10:39:05 +02:00
Thibault Saunier
b0f877a47c GESTrackObject: fixe the connect_properties_signals 2011-05-06 10:39:05 +02:00
Thibault Saunier
3179cb7c53 GESTrackObject: Change properties_hashtable format to GParamSpec->GstElement
It used to be 'ClassName-property-name' -> GstElement
2011-05-06 10:39:04 +02:00
Thibault Saunier
34f6d41d15 GESTrackEffect: move get_props_hastable implementation from GESTackParseLaunchEffect 2011-05-06 10:39:04 +02:00
Thibault Saunier
a69106ce53 GESTimelineObject: set_top_effect_priority refactoring 2011-05-06 10:39:04 +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
0d02e26195 GESTrackObject: fixe a few issues with the get_props_hastable vmethod 2011-05-06 10:39:04 +02:00
Thibault Saunier
218cad6f16 GESTimelineEffect: keep the list of TrackObjects always sorted
Make sort_track_effects function static
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
20c2d1df71 GESTimelineParseLaunchEffect: documentation fixing 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
34c55abd5d docs: fixe the GESTimelineObject documentation 2011-05-06 10:39:02 +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
5376ff21ce GESTrackEffect: add the get_props_hastable virtual method
Implements this virtual method for bin described effects.
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
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
bad1b419c2 GESTimelineObject: Do not rely on the fact that the trackobject list is sorted 2011-05-06 10:39:02 +02:00
Thibault Saunier
8717290bb0 GESTimelineObject: Update TrackObject priorities handling
make use of the new TrackObject getters
2011-05-06 10:39:01 +02:00
Thibault Saunier
bbf8aba733 GESTimelineObject: make debugging symbols more usefull 2011-05-06 10:39:01 +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
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
b2d9ba6f1e TimelineObject: take a private update_height method out of priority_update_cb 2011-05-06 10:39:01 +02:00
Thibault Saunier
5ebeec2df1 TimelineEffect: create 2 properties for bin_descrption, one for the audio track, another for the video one
This is more for testing purposes since in the long run we should use Materials
2011-05-06 10:39:01 +02:00
Thibault Saunier
b566453e4a TimelineEffect: Add the basis for GESTimelineEffect implementation 2011-05-06 10:39:01 +02:00
Thibault Saunier
67cefa009d TrackEffect: Fixe the documentation 2011-05-06 10:39:00 +02:00
Thibault Saunier
25daa3c6a0 TimelineObject: fixe new API documentation 2011-05-06 10:39:00 +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
dd298b99c7 TimelineObject: remove trailling spaces 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
78a4afe2dc TimelineObject: adapt the add_track_object so we can add effects to it.
We keep the list of contained TrackObject-s order by priority
2011-05-06 10:39:00 +02:00
Thibault Saunier
070be5aff3 TimelineObject: add a function to sort list of applied effects 2011-05-06 10:39:00 +02:00
Thibault Saunier
0e4528112d TimelineObject: add a property to count the number of effects applied on it 2011-05-06 10:39:00 +02:00
Thibault Saunier
f8154914a0 TrackEffect: add padding to give a margin for API expension without breaking ABI 2011-05-06 10:38:59 +02:00
Thibault Saunier
e499a1142a TrackEffect: change the create_element function arguments to fit what is expected 2011-05-06 10:38:59 +02:00
Thibault Saunier
3aa68dac63 TrackEffect: Change copyright 2011-05-06 10:38:59 +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
Alessandro Decina
62a3a7ed8c android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 17:15:55 +02:00
Thibault Saunier
49ac8a4e3e GESTimelinePipeline: the _init_ method shouldn't return before the end
Fixes #644939
2011-03-23 15:45:48 +01:00
Edward Hervey
8927e8d72e KeyFileFormatter: Handle return value of gst_value_deserialize() 2011-03-15 14:01:41 +01:00
Alessandro Decina
d5622071f5 ges: fix compiler warnings 2011-03-01 17:38:52 +01:00
Vincent Penquerc'h
a35a29a810 ges: make uri strings const 2011-03-01 17:29:09 +01:00
Edward Hervey
762c447936 TimelineObject: Store GParamSpec for height and layer 2011-02-09 11:21:02 +01:00
Vincent Penquerc'h
857142a15d ges: Check that the gnonlin elements are present at initialization time
This avoids hanging with no obvious cause later when they're not.

https://bugzilla.gnome.org/show_bug.cgi?id=641246
2011-02-08 16:43:11 +01:00
Tim-Philipp Müller
2a98347461 ges: fix a couple of printf format warnings 2011-01-31 19:00:49 +00:00
Alessandro Decina
77d789b077 ges: fix compiler warnings 2011-01-27 17:44:43 +01:00
Edward Hervey
753c16055e ges: Fix more ges_timeline_get_layers() usage memory leaks 2011-01-11 18:14:41 +01:00
Sebastian Dröge
8dff71aa08 ges: Don't install ges-internal.h and hide the GES debug category symbols
Fixes bug #639219.
2011-01-11 18:02:33 +01:00
Edward Hervey
fb93259f12 ges-utils: minor doc update 2011-01-11 17:55:34 +01:00
Sebastian Dröge
93eb5cc74a ges: Only export symbols starting with ges_ or GES_
https://bugzilla.gnome.org/show_bug.cgi?id=639218
2011-01-11 17:55:33 +01:00
Sebastian Dröge
818368ffcf ges: Mark some private symbols static
https://bugzilla.gnome.org/show_bug.cgi?id=639218
2011-01-11 17:55:33 +01:00
Edward Hervey
5387d36a15 TimelinePipeline: minor doc fix 2011-01-10 16:50:51 +01:00
Thibault Saunier
dc6290a5e2 docs: Document all the undocumented public functions 2011-01-10 15:14:45 +01:00
Edward Hervey
38d306db2e TrackObject: Small cleanup 2011-01-10 15:10:01 +01:00
Edward Hervey
4b5d350121 TrackObject: Remove deprecated FIXME
You just need to connect to the notify signal to get updates
2011-01-10 15:09:40 +01:00
Edward Hervey
3359fe22b3 Track: Mark as private the instance private structure 2011-01-10 11:12:55 +01:00
Edward Hervey
9f26d1a14e Timeline: Fix documentation of return value 2011-01-10 11:12:38 +01:00
Thibault Saunier
ba5770993f GESFormatter: Add private instance and move private variables to it 2011-01-08 22:45:44 +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
59c5cdfb33 TimelineTextOverlay: Move private variables to instance private
Fixe/Add getter and setter methods for those variables

Fixup documentation
2011-01-08 22:45:36 +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
5c757c1093 TrackAudioTransition: : Move private variables to instance private 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
9637de0afd gobject-introspection: fix g-i build for uninstalled setup
Requires gst-plugins-base git (> 0.10.31.2) to actually work.
2011-01-08 01:36:13 +00:00
Edward Hervey
e6f5bc0f13 enums: Fix transition enum
Leftovers from when we were using the old name
2011-01-06 12:06:24 +01: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
fec797f298 TimelinePipeline: Fix thumbnail method docs and arguments
The provided gchar* aren't modified
2011-01-06 11:30:26 +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
c8dc8973b0 TimelinePipeline: Updates for pbutils API change 2011-01-06 10:55:06 +01:00
Edward Hervey
1dcc4b56bc GESTrackAudioTransition: Fix empty if() body 2010-12-21 15:24:26 +01:00