Commit graph

1064 commits

Author SHA1 Message Date
Thibault Saunier
5d35024cd3 docs: Update documentation 2012-01-11 11:56:16 -03:00
Thibault Saunier
97846d698c ges: Remove transitions properly 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
Thibault Saunier
82974d9a9d ges: Misc fixes in ges-timeline-layer
Put the comment where they are meant to be
Make static functions static
Use LAYER_HEIGHT where needed
2012-01-11 11:56:16 -03:00
Thibault Saunier
5021017904 ges: Auto transition cleanup 2012-01-11 11:56:15 -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
Thibault Saunier
6ed88075d9 ges: Fix debugging symbol to avoid segfaults 2012-01-11 11:56:15 -03:00
Thibault Saunier
8addbcddd0 ges: Big PiTiVi formatter cleanup
Also set the version to 0.2
2012-01-11 11:56:15 -03:00
Stéphane Maniaci
876add1fe5 ges: Don't release unexisting sources when destroying the formatter
This happens in case of an empty project.
2012-01-11 11:56:15 -03:00
Thibault Saunier
14480b43f4 ges: Add a gnl background object to tracks
This is in order to support gaps in the timeline.
This is not the proper solution, we should make sure to fill gaps properly,
but for the time being, it makes the trick
2012-01-11 11:56:15 -03:00
Thibault Saunier
2fe6210383 ges: Make sure not to set transition start to negative
gnlobject.start is a guint64, we can not set it to a negative value
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
7212307db5 ges: makes "pass over" accurate and reset priority when transition is removed 2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
31688a9354 ges: don't reset the supported formats in the timeline when they're already set
My mom never told me goto was evil
2012-01-11 11:56:15 -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
e1d97cfee0 ges: modifies emission of the track/object-removed signal
Make it be emitted right before the track objects is removed so we don't end up
with a TrackObject that has already been freed
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
aec7879467 python : bind the new timeline_object functions
+ move_to_layer
    + is_moving_from_layer
    + set_moving_from_layer
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
2c4d614cb1 ges: adds an enable_update function to the GESTimeline
Binds it in python

API: ges_timeline_enable_update
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
76f256f0bd ges : add a track-object(removed signal to the track
API: GESTrack::track-object-removed signal
2012-01-11 11:56:15 -03:00
Thibault Saunier
8f405d6a4d ges: Handle supported formats in TimelineStandardTransition 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
9413d9f9e9 ges: Keep the track object list sorted in track 2012-01-11 11:56:14 -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
ba37d07261 python: bind and override the ges_track_get_objects method 2012-01-11 11:56:14 -03:00
Mathieu Duponchelle
c191715608 ges: Add API to get the TrackObject-s contained in a Track
Sort the track_objects list

API: ges_track_get_objects
2012-01-11 11:56:14 -03:00
Mathieu Duponchelle
49e547d8fb python: binds the PiTiVi formatter 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
4715b51eb1 tools: Add a -y option to ges-launch to launch pitivi projects 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
Mathieu Duponchelle
c7a984824f ges: Implement a Pitivi Formatter
API: ges_pitivi_formatter_new
2012-01-11 11:56:14 -03:00
Mathieu Duponchelle
0c92ca9b57 ges: add a track-object-added signal to GESTrack
API: GESTrack::track-object-added signal
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
8d15025aae ges: Add a ges_timeline_append_layer convenience method
API: ges_timeline_append_layer
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
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
2bbcbab174 ges: Keep layers sorted by priorities in the timeline 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
Thibault Saunier
acf8c258ef ges: Define a LAYER_HEIGHT constant in the normal layer 2012-01-11 11:56:13 -03:00
Edward Hervey
3f41e81022 docs: Add pipeline {get|set}_{audio|video}_sink() docs 2012-01-11 15:31:41 +01:00
Robert Swain
e288a6f460 timeline: simplify code to remove an object from the pendingobjects list
g_list_remove_all () can be used as a simplification as the private data to ges
timeline object are 1:1.
2012-01-06 09:16:09 -03:00
Robert Swain
fc97c16e7e GESTimeline: Lock object discovery list
TimelineFileSource objects are asynchronously discovered with discoverer
with such objects being added to a pendingobjects list. If one were to
remove a layer before an object in said layer had been discovered, a
segfault could occur.

As such, management of the list has been made more robust with the
addition of a mutex and removal of the object from the pendingobjects
list upon layer removal.
2012-01-05 09:01:20 -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
Edward Hervey
737acd803e tools: Add proper include for g_printf 2011-12-30 17:20:23 +01:00
Mark Nauwelaerts
7ccaac9bf2 ges-launch: allow for optional audio or video track 2011-11-30 16:31:44 +01:00
Mark Nauwelaerts
d0b4111c0e ges-launch: port over gst-launch verbose setting
... as it is useful for a quick peek as to what is going on.
2011-11-30 16:31:42 +01:00
Robert Swain
edf47f880d GESTimelinePipeline: Add API to get/set audio sink 2011-11-07 15:08:34 +01:00