Commit graph

61 commits

Author SHA1 Message Date
Thibault Saunier
f6038e3ad2 ges: Port to the new commit based API in GNL
The GNL API changed to go from a model where user could
enable/disable updates in the composition, which leaded to races
in many places, to a model where any positioning change in the
composition is not directly done but 'cached' and then the user
has to commit those changes so they become effective in the media
processing stack.

The new API in GES is pretty similare and is basically copy
pasting this new design.

We still need to see if in some context it would make sense to add
a mode where we would commit any changes ourself at the end of our
operation for basic use cases.

Removed APIs:
  ges_timeline_enable_update
  ges_timeline_is_updating
  ges_track_enable_update
  ges_track_is_updating

New APIs:
  ges_track_commit
  ges_timeline_commit
2013-06-23 16:33:33 -04:00
Thibault Saunier
be765f564c ges-launch: Make use of assets for uri clips
It avoids races in TrackElement creations.

We should make use of assets everywhere in ges-launch but start using
them for uriclips first for now.
2013-06-12 10:49:50 -04:00
Thibault Saunier
b2b96c743d Rename GESTimelineLayer to GESLayer 2013-04-23 20:22:31 -03:00
Thibault Saunier
70d5680748 pipeline: Add a GError argument 2013-04-18 18:48:19 -03:00
Thibault Saunier
6b8657a04e ges-launch: Do no create "normal" timeline when you load a project 2013-03-30 13:37:43 +01:00
Thibault Saunier
0767f08c7a Always prefer gst_object_(un)ref over g_object_(un)ref
Making the refcount issue debugging easier
2013-03-18 12:48:41 -03:00
Thibault Saunier
0888e5e25b Rename object/tobj/trobj to clip or track_element as necessary
Not really complete but it is a good start!
2013-02-15 16:26:30 -03:00
Thibault Saunier
d21791a8d0 Rename GESTimelineLayer.xxx_object to GESTimelineLayer.xxx_clip 2013-02-15 15:23:15 -03:00
Thibault Saunier
4ddcfb642d Finish renaming timeline object to clip 2013-02-15 15:23:15 -03:00
Thibault Saunier
6f4315b75d Rename GESStandardTransitionClip to GESTransitionClip 2013-02-15 14:42:04 -03:00
Thibault Saunier
e3dc877c4b Rename GESTimelineTestSource to GESTestSourceClip 2013-02-15 14:42:04 -03:00
Thibault Saunier
5da46b7658 Rename GESTimelineTileSource to GESTitleClip 2013-02-15 14:42:04 -03:00
Thibault Saunier
d7693b4014 Rename GESTimelineStandardTransition to GESStandardTransitionClip 2013-02-15 14:42:03 -03:00
Thibault Saunier
695c381bb1 Rename GESTimelineFileSource to GESUriClip
Conflicts:
	ges/ges-pitivi-formatter.c
	ges/ges-uri-clip.c
	tests/check/ges/project.c
	tests/check/ges/uriclip.c
2013-02-15 14:42:02 -03:00
Thibault Saunier
04a3c49ebd Rename GESTimelineObject to GESClip 2013-02-15 14:42:02 -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
Tim-Philipp Müller
426fffb6c3 Fix FSF address 2012-11-04 00:25:20 +00:00
Thibault Saunier
52edf1704d formatter: Add GError everywhere needed in the API
We should give as much information as possible to the user when serialization/deserialization doesn't work.
2012-09-23 02:37:12 +02:00
Tim-Philipp Müller
8542d18d43 ges-launch: replace home-grown version of gst_filename_to_uri()
and remove superfluous check if file is readable with
fopen. Code appears to also want to accept URIs, so this
doesn't work so well, and should probably be done differently
anyway if required.

https://bugzilla.gnome.org/show_bug.cgi?id=674296
2012-05-02 08:47:44 +01:00
Руслан Ижбулатов
59e156ea3a ges-launch: use GRegex instead of POSIX regex
http://bugzilla-attachments.gnome.org/attachment.cgi?id=212249
2012-05-01 19:22:23 +01:00
Tim-Philipp Müller
5d02075d9b Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	bindings/python/Makefile.am
	bindings/python/ges-types.defs
	bindings/python/ges.defs
	bindings/python/ges.override
	bindings/python/gesmodule.c
	bindings/python/testsuite/test_textoverlay.py
2012-03-12 15:25:49 +00:00
Tim-Philipp Müller
91af8e1353 examples, ges-launch: remove deprecated g_thread_init()
Not needed any more with recent glib versions
2012-02-10 19:17:38 +00:00
Mathieu Duponchelle
4715b51eb1 tools: Add a -y option to ges-launch to launch pitivi projects 2012-01-11 11:56:14 -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
Luis de Bethencourt
d8d93aad82 ges: easier to understand ges-launch summary 2011-08-01 13:42:17 +02:00
Luis de Bethencourt
5f457a23d1 ges: audio and video preset options in ges-launch 2011-08-01 13:40:48 +02:00
Thibault Saunier
ff15c17afb ges-launch: Add a proper error message on errors 2011-05-19 21:58:51 +02:00
Edward Hervey
ef455154a0 ges-launch-0.10: Cleanup for error cases and print statements
* Use g_error for fatal errors
* Don't exit the application from the middle of nowhere
* Properly cleanup even in error cases
* Don't print out things which aren't needed
2011-05-06 10:36:10 +02:00
Edward Hervey
bf2c2b8f7a ges-launch: Handle return value of regcomp() 2011-03-15 14:02:14 +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
2ab7c30161 ges-launch: fix printf format issue 2011-01-31 19:01:24 +00:00
Stefan Kost
a447bc5b02 launch: fix typo in help output 2011-01-26 23:50:00 +02:00
Edward Hervey
7240050f75 ges-launch: Set restriction on video profile if present 2011-01-17 13:59:44 +01:00
Edward Hervey
ed92d148db ges-launch: Remove dead code and make functions/variables static 2011-01-12 17:52:10 +01:00
Edward Hervey
0f42801985 ges-launch: Fix and cleanup enum listing
It wasn't displaying anything lately.
2011-01-12 17:45:23 +01:00
Edward Hervey
8ca6f66f4c GESTrackObject: Hide more variables and provide accessors for them 2010-12-16 15:00:46 +01:00
Edward Hervey
4c63aa21f2 ges: Switch to encoding-profile API from base
Remove dependency on gst-convenience.
2010-12-15 12:38:03 +01:00
Edward Hervey
ef7eb9efdd GESTransition: Make it a base class and add GESTimelineStandardTransition
This is to ensure people can create their own Layer Transition subclass.

API : GESTimelineTransition is now GESTimelineStandardTransition
2010-12-09 17:09:11 +01:00
Brandon Lewis
f1b6e175cd tools: add project file support to ges-launch 2010-11-27 18:08:19 +01:00
Edward Hervey
d2019f3a3d ges-launch: Gracefully handle missing properties 2010-11-25 14:03:07 +01:00
Edward Hervey
b5bf55e945 ges-launch: g_print => g_printerr for relevant messages 2010-11-11 17:44:29 +01:00
Edward Hervey
ffc5502d1a ges-launch: Return 0 if no errors, else 1 2010-09-16 09:07:05 +02:00
Edward Hervey
a02a5c2320 Update for factorylist/convertframe being merged to gst core/base 2010-09-16 08:39:46 +02:00
Edward Hervey
d76535bc59 Update to moved gst-convenience 2010-09-16 08:39:01 +02:00
Edward Hervey
c655a86492 ges-launch: Fix memory leak 2010-08-31 13:29:37 +02:00
Brandon Lewis
9d584d4343 add option to ges-launch to save thumbnails periodicaly 2010-07-16 17:22:19 +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
e3718b4213 GESTimelineBackgroundSource -> GESTimelineTestSource 2010-07-09 13:21:15 +02:00