Commit graph

116 commits

Author SHA1 Message Date
Thibault Saunier
5772bd4c91 timelineobject: Give a direct access to the list of TrackObject
Avoid to have to copy the list each time we want to access it
2012-12-19 11:45:37 -03:00
Tim-Philipp Müller
426fffb6c3 Fix FSF address 2012-11-04 00:25:20 +00:00
Thibault Saunier
37e6cb43cf Misc documentation fixing 2012-08-18 15:32:54 -04:00
Thibault Saunier
19fa2acc02 ges: Remove useless and error prone 'transfer full' annotations
transfer full is default and there is currently a bug in GES when constructor
are declared as transfer full
2012-07-28 21:45:03 -04:00
Thibault Saunier
f32fdf13b7 Merge remote-tracking branch 'origin/0.10'
Conflicts:
	bindings/python/ges.defs
	ges/ges-screenshot.c
	ges/ges-track-video-transition.c
2012-05-26 17:00:50 -04:00
Thibault Saunier
1e3e7c5276 docs: Misc documentation fixing 2012-05-19 13:57:35 -04:00
Thibault Saunier
2e52fe15f0 Merge remote-tracking branch 'origin/0.10'
Conflicts:
	bindings/python/ges.defs
	ges/ges-track-video-transition.c
2012-05-05 13:02:20 -04:00
Thibault Saunier
43b815925a track-object: Set minimum value of max-duration to 0
GST_CLOCK_TIME_NONE was nonsense

Minor documentation fixing on the way
2012-05-05 12:34:26 -04:00
Edward Hervey
151f491549 ges: Remove invalid ' < 0' checks
It's an unsigned value, it will never be < 0.
2012-05-03 15:41:08 +02:00
Thibault Saunier
7a7690a9e0 Do no check if GLib >2.26 as we depend on GLib 2.28 2012-05-02 23:56:35 -04:00
Руслан Ижбулатов
fdb06182fa ges: fix some format strings in debug messages
https://bugzilla.gnome.org/show_bug.cgi?id=674265
2012-05-01 19:18:54 +01:00
Thibault Saunier
b1a8596256 Merge remote-tracking branch 'origin/0.10'
Conflicts:
	bindings/python/ges-types.defs
	bindings/python/ges.defs
	bindings/python/ges.override
	configure.ac
	ges/ges-timeline.c
2012-04-25 17:54:36 -04:00
Thibault Saunier
c238b356fe timelineobject: Ignore notifies when needed 2012-04-23 22:03:11 -04:00
Thibault Saunier
f06ca66012 timelineobject: Fix wrong naming when connection to in-point notify
inpoint -> in-point
2012-04-23 22:03:11 -04:00
Thibault Saunier
cb29c31337 timelineobject: Make changing start/duration sensible to snapping
Adapt the documentation so users are aware of the behaviour

Conflicts:

	ges/ges-timeline-object.c
2012-04-23 22:03:11 -04:00
Thibault Saunier
2fd5364927 ges: Add a timeline edition mode API
+ timeline: Add a snapping-distance property
        + Bump the GLib dependency to 2.28 in the mean time as we need some functions from GSequence that only landed
	+ Update the testsuite accordingly

    API: GESTimeline:snapping-distance property
    API: ges_timeline_object_edit
    API: ges_timeline_object_ripple
    API: ges_timeline_object_ripple_end
    API: ges_timeline_object_roll_start
    API: ges_timeline_object_roll_end
    API: ges_timeline_object_trim_start
    API: ges_track_object_edit
    API: GESEdge enum
    API: GESEditMode enum
2012-04-23 22:03:11 -04:00
Thibault Saunier
beae7dbd34 timelineobject: Make the 'position' argument of the split method a guint64 not gin64
This makes more sense to be a guint64 as it actually is a GstClockTime,
and this way we keep the API concistent.

(This code has not been release so we can still change the API.)
2012-04-23 20:33:58 -04:00
Thibault Saunier
f6c060b3fb timelineobject: Reimplement properly the splitting method 2012-04-23 20:33:58 -04:00
Thibault Saunier
30d9ba2acf timelineobject: Misc API guard fixes 2012-04-23 20:25:08 -04:00
Thibault Saunier
672a162062 Merge branch '0.10'
Conflicts:
	bindings/python/ges.defs
2012-04-07 22:31:23 -04:00
Thibault Saunier
2741a8fb38 timeline-object: Add TrackObject to the Track after the TimelineObject
This way, the Track::track-object-added is emited after the TrackObject is ready to be used, and it make the API easier to use.
2012-04-07 22:26:08 -04:00
Thibault Saunier
259af361bc timeline-object: Properly reflect contained TrackObject duration and inpoint properties changes 2012-04-07 22:24:55 -04:00
Thibault Saunier
1c04feace0 timelineobject: Emit effect-added when adding any kind of TrackEffect
We were only emitting it when working with TrackParseLaunch effects
2012-04-07 22:24:55 -04:00
Thibault Saunier
a1aa78cd28 ges: Misc debug loggin cleanup 2012-04-07 22:24:55 -04:00
Thibault Saunier
4c26b89e3c ges: Move the max-duration property from TrackFileSource to TrackObject
This property was firstly added to TrackFileSource, but in the end, it makes
more sense for it to be directly in TrackOject as it can be usefull in other cases.
2012-04-07 22:24:55 -04:00
Thibault Saunier
1728704d09 Merge branch '0.10'
Conflicts:
	bindings/python/ges.defs
2012-03-29 12:55:44 -04:00
Thibault Saunier
148e7ef411 timelineobject: Set TrackObject's TimelineObject only when calling the add function
ges_timeline_object_add_track_object actually calls
ges_track_object_set_timeline_object so do not do it once more ourself.
Especially since it results in having a TrackObject.timeline_object refering
to a TimelineObject it is not actually in yet.
2012-03-28 13:10:27 -04:00
Thibault Saunier
6447a50001 timelineobject: Update the nb_effect when releasing a TrackEffect 2012-03-27 22:33:57 -04:00
Tim-Philipp Müller
1f37aefdcd Remove ges-marshal.[ch] and use the generic marshaller 2012-03-12 15:46:42 +00:00
Sebastian Dröge
70fda7d45d ges: Fix 'comparison of unsigned expression < 0 is always false' 2012-03-06 15:35:51 +01:00
Thibault Saunier
9d4a528b9e ges: Fix the TimelineObject::effect-added signal emission timing
We were emitting it before it gets added to the track_object list,
so the list we were getting with get_top_effects was containing
a TrackObject that wasen't a TrackEffect

+ A bit of refactoring
2012-01-11 11:56:16 -03:00
Thibault Saunier
53c4eb35db ges: Fix TimelineObject movement that contains unlocked and relocked objects
Record the TrackObject that initiated a TimelineObject movement so we don't
get inifite loops.

Also fix the new TrackObject calculation:
    child.start = time - offset (not time + offset)
2012-01-11 11:56:16 -03:00
Thibault Saunier
4d802c1241 ges: Little fixes to timeline_object_g(s)et_supprted_formats 2012-01-11 11:56:16 -03:00
Thibault Saunier
c0d60b9d17 ges: Add guards to all API calls in GESTimelineObject
And reindent the .h file
2012-01-11 11:56:16 -03:00
Thibault Saunier
714a7bf886 ges: Add a method to TimelineObject to set contained TrackObject-s locked state
API: ges_timeline_object_objects_set_locked
2012-01-11 11:56:16 -03:00
Thibault Saunier
5d35024cd3 docs: Update documentation 2012-01-11 11:56:16 -03:00
Thibault Saunier
b85b2103ad ges: Add a TimelineObject::track-object-removed signal
API: TimelineObject::track-object
2012-01-11 11:56:16 -03:00
Thibault Saunier
a9193def76 ges: Enhance some debug logging
Also make sure not to warn when it shouldn't
2012-01-11 11:56:16 -03:00
Mathieu Duponchelle
7bb8e6f951 ges: make the offset positive as it should have been
Took me two days to figure that out :/ I'm pretty sure it's the way things are supposed to be
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
55fbba27c3 ges: adds a ges_timeline_object_split method
Slightly improves the copy function to do so.

API: ges_timeline_object_split
2012-01-11 11:56:15 -03:00
Thibault Saunier
5f30a86214 ges: add a timeline_object copy function 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
ad85383be1 ges: Add a track-object-added signal to GESTimelineObject
API: GESTimelineObject::track-object-added signal
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
6e1a482a80 ges: add a function to move TimelineObject from a layer to another
API: ges_timeline_object_move_to_layer
API: ges_timeline_object_is_moving_from_layer
API: ges_timeline_object_set_moving_from_layer
2012-01-11 11:56:14 -03:00
Thibault Saunier
ee5c67de2f ges: Add some debugging symbols 2012-01-11 11:56:13 -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
Mateu Batle
d1de4b2114 GESTimelineObject: fix trigger notify changing props
Notify signal was not triggered when changing properties through
ges_timeline_object_set_* functions, only when done through g_object_set
2012-01-05 08:56:59 -03:00
Thibault Saunier
d5734ab94f GESTimelineObject: add track_object_added and track_object_removed virtual methods
Those methods are meant to be used in sublassed when needed. They are not doing
anything at this time, but will be used to clean some code in GESTimelineObject
sublcasses.
2011-05-19 21:58:50 +02:00
Edward Hervey
904aabe653 ges: Use %NULL instead of #NULL
Reported by Stefan Kost:
"% is for constants, # is for objects/structs/types, @ is for parameters."
2011-05-09 14:24:26 +02:00