platform/upstream/gstreamer.git
11 years agolayer: State assets we create async as loading to the project
Thibault Saunier [Fri, 11 Jan 2013 22:10:31 +0000 (19:10 -0300)]
layer: State assets we create async as loading to the project

11 years agoproject: Track Asset that were loaded with error
Thibault Saunier [Fri, 11 Jan 2013 22:07:22 +0000 (19:07 -0300)]
project: Track Asset that were loaded with error

11 years agoproject: Handle assets that are being loaded
Thibault Saunier [Fri, 11 Jan 2013 14:49:02 +0000 (11:49 -0300)]
project: Handle assets that are being loaded

API:
    ges_project_get_loading_assets

11 years agoges: Documentations fixes
Thibault Saunier [Fri, 11 Jan 2013 18:26:26 +0000 (15:26 -0300)]
ges: Documentations fixes

11 years agoReimplement the auto-transition feature
Thibault Saunier [Thu, 10 Jan 2013 21:50:54 +0000 (18:50 -0300)]
Reimplement the auto-transition feature

  + Actually implement unit tests

11 years agotrackobject: Make the GESTrack (parent track) a GObject property
Thibault Saunier [Thu, 10 Jan 2013 21:09:23 +0000 (18:09 -0300)]
trackobject: Make the GESTrack (parent track) a GObject property

11 years agotimeline: Minor refactoring
Thibault Saunier [Thu, 10 Jan 2013 21:01:33 +0000 (18:01 -0300)]
timeline: Minor refactoring

11 years agotimeline: Avoid recreating the moving_tlobjs when unecessary
Thibault Saunier [Thu, 10 Jan 2013 16:32:15 +0000 (13:32 -0300)]
timeline: Avoid recreating the moving_tlobjs when unecessary

11 years agoMisc debug message enhancements
Thibault Saunier [Thu, 10 Jan 2013 15:41:13 +0000 (12:41 -0300)]
Misc debug message enhancements

11 years agotimeline: Keep track of whether updates are enabled or not
Thibault Saunier [Thu, 10 Jan 2013 15:24:20 +0000 (12:24 -0300)]
timeline: Keep track of whether updates are enabled or not

Check if we want to track Track-s enable status and update our status according
to that

11 years agolayer: Properly emit the notify signal when auto_transition changes
Thibault Saunier [Thu, 10 Jan 2013 14:58:59 +0000 (11:58 -0300)]
layer: Properly emit the notify signal when auto_transition changes

11 years agotimeline: Track TrackObject-s by layer
Thibault Saunier [Thu, 10 Jan 2013 14:39:46 +0000 (11:39 -0300)]
timeline: Track TrackObject-s by layer

11 years agotests: Add a macro for type checking
Thibault Saunier [Thu, 10 Jan 2013 14:18:46 +0000 (11:18 -0300)]
tests: Add a macro for type checking

11 years agoutilities: Make internal utilities instead of copy/pasting functions
Thibault Saunier [Thu, 10 Jan 2013 14:15:32 +0000 (11:15 -0300)]
utilities: Make internal utilities instead of copy/pasting functions

11 years agogitignore: Ignore anjuta files
Thibault Saunier [Thu, 10 Jan 2013 14:01:05 +0000 (11:01 -0300)]
gitignore: Ignore anjuta files

11 years agoBenchmark rippling
Thibault Saunier [Sat, 5 Jan 2013 15:02:03 +0000 (12:02 -0300)]
Benchmark rippling

11 years agoMove LAYER_HEIGHT definition from -timeline-layer.c c to -internal.h
Thibault Saunier [Fri, 4 Jan 2013 16:11:51 +0000 (13:11 -0300)]
Move LAYER_HEIGHT definition from -timeline-layer.c c to -internal.h

11 years agoasset-track-object: Minor doc fixing
Thibault Saunier [Fri, 4 Jan 2013 16:04:26 +0000 (13:04 -0300)]
asset-track-object: Minor doc fixing

11 years agotimeline: Remove dead macros
Thibault Saunier [Thu, 3 Jan 2013 14:43:05 +0000 (11:43 -0300)]
timeline: Remove dead macros

11 years agotimeline: Use g_sequence_sort_changed when appropriate
Thibault Saunier [Thu, 3 Jan 2013 14:41:48 +0000 (11:41 -0300)]
timeline: Use g_sequence_sort_changed when appropriate

11 years agotrack: Keep in cache the GSequenceIter so we get a faster acces to them
Thibault Saunier [Thu, 3 Jan 2013 13:34:17 +0000 (10:34 -0300)]
track: Keep in cache the GSequenceIter so we get a faster acces to them

11 years agoformatter: Plug some leaks
Thibault Saunier [Mon, 31 Dec 2012 01:37:22 +0000 (22:37 -0300)]
formatter: Plug some leaks

11 years agotest: project: Fix various leaks
Thibault Saunier [Sat, 29 Dec 2012 22:36:07 +0000 (19:36 -0300)]
test: project: Fix various leaks

11 years agoxmlformatter: Plug various leaks
Thibault Saunier [Sat, 29 Dec 2012 22:34:29 +0000 (19:34 -0300)]
xmlformatter: Plug various leaks

11 years agoMisc nitpick fixing
Thibault Saunier [Sat, 29 Dec 2012 21:24:05 +0000 (18:24 -0300)]
Misc nitpick fixing

11 years agoproject: Plug various leaks.
Thibault Saunier [Sat, 29 Dec 2012 21:04:25 +0000 (18:04 -0300)]
project: Plug various leaks.

11 years agometa-container: Plug various leaks
Thibault Saunier [Sat, 29 Dec 2012 21:02:35 +0000 (18:02 -0300)]
meta-container: Plug various leaks

11 years agoasset: Do not allow proxying over the same currently proxied asset
Thibault Saunier [Sat, 29 Dec 2012 20:58:02 +0000 (17:58 -0300)]
asset: Do not allow proxying over the same currently proxied asset

11 years agoasset: Fix some leaks
Thibault Saunier [Sat, 29 Dec 2012 20:54:51 +0000 (17:54 -0300)]
asset: Fix some leaks

11 years agoasset: Avoid leaking the GParameter array and content
Thibault Saunier [Sat, 29 Dec 2012 20:52:42 +0000 (17:52 -0300)]
asset: Avoid leaking the GParameter array and content

11 years agoassetfilesource: Fix some leaks
Thibault Saunier [Sat, 29 Dec 2012 17:10:11 +0000 (14:10 -0300)]
assetfilesource: Fix some leaks

11 years agotests: Remove useless mutex
Thibault Saunier [Sat, 29 Dec 2012 17:09:26 +0000 (14:09 -0300)]
tests: Remove useless mutex

11 years agoAdd some more gitignore
Thibault Saunier [Sat, 29 Dec 2012 17:08:58 +0000 (14:08 -0300)]
Add some more gitignore

11 years agoRefrase formatters descriptions
Thibault Saunier [Fri, 28 Dec 2012 22:10:17 +0000 (19:10 -0300)]
Refrase formatters descriptions

11 years agoformatter: First check the extension when checking if can load URI
Thibault Saunier [Fri, 28 Dec 2012 22:06:30 +0000 (19:06 -0300)]
formatter: First check the extension when checking if can load URI

11 years agoproject: Run the vmethod in first stage for the "loaded" signal
Thibault Saunier [Fri, 28 Dec 2012 14:40:33 +0000 (11:40 -0300)]
project: Run the vmethod in first stage for the "loaded" signal

This is most probably what sublcasses will need

11 years agotests: Fix misc issues
Thibault Saunier [Mon, 24 Dec 2012 12:29:48 +0000 (09:29 -0300)]
tests: Fix misc issues

Now GST_CAPS_ANY is a singleton, it is not returning a newly created caps
anymore

11 years agoAllow checking code coverage
Thibault Saunier [Mon, 24 Dec 2012 12:29:04 +0000 (09:29 -0300)]
Allow checking code coverage

11 years agoMisc documentation fixes
Thibault Saunier [Fri, 21 Dec 2012 23:17:41 +0000 (20:17 -0300)]
Misc documentation fixes

Using "#" a in short_description screws the display

11 years agoImplement a GESAssetTrackObject class
Thibault Saunier [Fri, 21 Dec 2012 23:48:03 +0000 (20:48 -0300)]
Implement a GESAssetTrackObject class

     + Addapt the rest of the code to make use of it

11 years agoImplement a GESAssetTimelineObject class
Thibault Saunier [Fri, 21 Dec 2012 21:51:26 +0000 (18:51 -0300)]
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

11 years agoAdd a GESAssetTrackFileSource class and make use of it all around
Thibault Saunier [Fri, 21 Dec 2012 17:28:16 +0000 (14:28 -0300)]
Add a GESAssetTrackFileSource class and make use of it all around

11 years agoAllow applications to select to which track a track object should be added
Sebastian Dröge [Thu, 20 Dec 2012 23:23:54 +0000 (20:23 -0300)]
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

11 years agoAdd a utility method to get the name of a GESTrackType
Thibault Saunier [Thu, 20 Dec 2012 23:21:51 +0000 (20:21 -0300)]
Add a utility method to get the name of a GESTrackType

API:
    ges_track_type_name

11 years agotimelinepipeline: Properly reset #GESTrack caps when switching back to playback
Thibault Saunier [Thu, 20 Dec 2012 17:58:35 +0000 (14:58 -0300)]
timelinepipeline: Properly reset #GESTrack caps when switching back to playback

11 years agotimeline: Properly popullate the tracks field with GESTrack-s
Thibault Saunier [Thu, 20 Dec 2012 14:28:39 +0000 (11:28 -0300)]
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.

11 years agoAdd some ignored files
Thibault Saunier [Fri, 21 Dec 2012 13:43:41 +0000 (10:43 -0300)]
Add some ignored files

11 years agoRevert "Revert "ges: timeline-pipeline: Remove playsink send_event hack""
Thibault Saunier [Thu, 20 Dec 2012 13:17:24 +0000 (10:17 -0300)]
Revert "Revert "ges: timeline-pipeline: Remove playsink send_event hack""

This reverts commit 094669391ddf8a29b3a1d1168a78cc50c20341b4.

Conflicts:
ges/ges-timeline-pipeline.c

11 years agoMisc documentation fixing
Thibault Saunier [Tue, 18 Dec 2012 01:35:28 +0000 (22:35 -0300)]
Misc documentation fixing

11 years agoformatter: Rework the _save_to_uri method to give more debug information
Thibault Saunier [Wed, 5 Dec 2012 11:51:48 +0000 (08:51 -0300)]
formatter: Rework the _save_to_uri method to give more debug information

11 years agotimeline-layer: Handle project when adding a GESTimelineObject directly
Thibault Saunier [Mon, 17 Dec 2012 20:06:33 +0000 (17:06 -0300)]
timeline-layer: Handle project when adding a GESTimelineObject directly

11 years agotimeline-layer: Implement the Extractable type
Thibault Saunier [Thu, 29 Nov 2012 20:07:24 +0000 (17:07 -0300)]
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

11 years agotimeline-object: Reindent header file
Thibault Saunier [Tue, 27 Nov 2012 16:54:54 +0000 (13:54 -0300)]
timeline-object: Reindent header file

11 years agodocs: Minor documentation fixes
Thibault Saunier [Tue, 27 Nov 2012 16:53:22 +0000 (13:53 -0300)]
docs: Minor documentation fixes

11 years agointernale: Add the G_GNUC_INTERNAL attribute to all internal methods
Thibault Saunier [Tue, 27 Nov 2012 16:52:59 +0000 (13:52 -0300)]
internale: Add the G_GNUC_INTERNAL attribute to all internal methods

11 years agotests: Add testcase for GESAsset
Volodymyr Rudyi [Mon, 10 Sep 2012 00:25:54 +0000 (21:25 -0300)]
tests: Add testcase for GESAsset

11 years agoges: Create assets for all GESTimelineStandardTransition on ges_init()
Thibault Saunier [Tue, 27 Nov 2012 16:52:20 +0000 (13:52 -0300)]
ges: Create assets for all GESTimelineStandardTransition on ges_init()

+ Add some testsuite

11 years agoges: Make sure not to initialize twice
Thibault Saunier [Tue, 27 Nov 2012 15:53:14 +0000 (12:53 -0300)]
ges: Make sure not to initialize twice

11 years agotimelineobject: Add a method to add a GESAsset
Thibault Saunier [Tue, 27 Nov 2012 15:18:27 +0000 (12:18 -0300)]
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

11 years agotimeline-standard-transition: Override the GESExtractable implementation
Thibault Saunier [Mon, 26 Nov 2012 20:27:24 +0000 (17:27 -0300)]
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

11 years agotimelinefilesource: Remove deprectated methods
Thibault Saunier [Mon, 26 Nov 2012 20:24:43 +0000 (17:24 -0300)]
timelinefilesource: Remove deprectated methods

Removed API:
ges_timeline_filesource_get_supported_formats

11 years agotimeline: Make use of the Project API for timeline saving
Thibault Saunier [Sat, 24 Nov 2012 03:09:28 +0000 (00:09 -0300)]
timeline: Make use of the Project API for timeline saving

API:
    *  Add a formatter_type paramatter to ges_timeline_save_to_uri

11 years agotests: Add GESProject tests
Thibault Saunier [Sun, 23 Sep 2012 00:13:38 +0000 (02:13 +0200)]
tests: Add GESProject tests

11 years agoxml-formatter: Implement a GESXmlFormatter
Thibault Saunier [Mon, 19 Nov 2012 16:24:03 +0000 (13:24 -0300)]
xml-formatter: Implement a GESXmlFormatter

11 years agotrack: Set the gap element creator function when tracks are using raw audio/video
Thibault Saunier [Sun, 18 Nov 2012 23:20:47 +0000 (20:20 -0300)]
track: Set the gap element creator function when tracks are using raw audio/video

11 years agopipeline: Minor documentation fixes
Thibault Saunier [Sun, 18 Nov 2012 23:19:01 +0000 (20:19 -0300)]
pipeline: Minor documentation fixes

11 years agoCheck in TimelineObject what tracks are supported before creating TrackObject-s
Thibault Saunier [Sun, 18 Nov 2012 15:46:05 +0000 (12:46 -0300)]
Check in TimelineObject what tracks are supported before creating TrackObject-s

We used to do it in TimelineFileSource which does not make sense.

At the same time we set  AUDIO | VIDEO as default supported types as it is more
likely to be what subclasses support. If it is not the case, they need to
specify it as shown in ges-timeline-custom-timeline-source.c

+ Fix the tests accordingly

11 years agotimeline: Implement the GESMetaContainerInterface
Thibault Saunier [Tue, 20 Nov 2012 21:23:59 +0000 (18:23 -0300)]
timeline: Implement the GESMetaContainerInterface

11 years agotimeline: Implement the GESExtractable interface
Thibault Saunier [Sun, 23 Sep 2012 00:11:46 +0000 (02:11 +0200)]
timeline: Implement the GESExtractable interface

11 years agotimeline: Make timeline->track and timeline->layers public fields
Thibault Saunier [Sun, 11 Nov 2012 16:51:45 +0000 (13:51 -0300)]
timeline: Make timeline->track and timeline->layers public fields

11 years agoformatter: Make it work with GESProject
Thibault Saunier [Mon, 17 Dec 2012 22:26:23 +0000 (19:26 -0300)]
formatter: Make it work with GESProject

    + Compile new GESProject code

The formatter and projects should work together, and the user will in the end not need
the GESFormatter API in most cases. Start making that happening

Update the GESPitiviFormatter to the new behaviour and remove APIs that became
obselete

API:
 + Adds:

    * Pass the GESFormatterClass to can_load/save_uri vmethods
    * Add an @overwrite argumenent to ges_formatter_save_to_uri and the
      corresponding vmethod
    * Add name, description, extension, mimetype, version, rank metadatas
      to GESFormatterClass

 + Removes:

    * ges_pitivi_formatter_set_sources:
    * ges_pitivi_formatter_get_sources:

11 years agoformatter: Implement the GESExtractable interface
Thibault Saunier [Mon, 24 Sep 2012 20:24:42 +0000 (22:24 +0200)]
formatter: Implement the GESExtractable interface

Make it a GInitially unowned, GESProject will become the owner

11 years agotests: First filesource test port to assets
Thibault Saunier [Fri, 21 Sep 2012 13:48:56 +0000 (15:48 +0200)]
tests: First filesource test port to assets

11 years agoExamples: Use GESTimelineTestSource instead of GESCustomTimelineSource in test1
Thibault Saunier [Thu, 20 Sep 2012 10:16:38 +0000 (12:16 +0200)]
Examples: Use GESTimelineTestSource instead of GESCustomTimelineSource in test1

11 years agoproject: Implement GESProject
Thibault Saunier [Sun, 2 Sep 2012 12:14:27 +0000 (15:14 +0300)]
project: Implement GESProject

Do not build yet, waiting for everythnig to be in place before doing so

Co-Authored-By: Volodymyr Rudyi <vladimir.rudoy@gmail.com>
11 years agotrack: Implement the GESMetaContainer interface
Thibault Saunier [Wed, 21 Nov 2012 13:22:41 +0000 (10:22 -0300)]
track: Implement the GESMetaContainer interface

11 years agotrackobject: Implement the GESMetaContainerInterface
Thibault Saunier [Tue, 20 Nov 2012 21:25:31 +0000 (18:25 -0300)]
trackobject: Implement the GESMetaContainerInterface

11 years agotimeline-object: Implement the GESMetadataContainer interface
Thibault Saunier [Tue, 20 Nov 2012 03:29:23 +0000 (00:29 -0300)]
timeline-object: Implement the GESMetadataContainer interface

11 years agotrackobject: Implement the GESExtractable interface
Thibault Saunier [Tue, 20 Nov 2012 02:42:47 +0000 (23:42 -0300)]
trackobject:  Implement the GESExtractable interface

11 years agodocs: Update GESTimelineTestSource documentation
Thibault Saunier [Wed, 19 Sep 2012 20:36:38 +0000 (22:36 +0200)]
docs: Update GESTimelineTestSource documentation

11 years agocustomtimelinesource: Override Extractable
Thibault Saunier [Tue, 18 Sep 2012 12:42:58 +0000 (14:42 +0200)]
customtimelinesource: Override Extractable

API: ges_material_custom_timeline_source_new (helper method)

11 years agobindings: Add simple python examples
Thibault Saunier [Tue, 18 Sep 2012 12:40:51 +0000 (14:40 +0200)]
bindings: Add simple python examples

11 years agobindings: Start implementing overrides for python
Thibault Saunier [Thu, 13 Sep 2012 23:05:45 +0000 (01:05 +0200)]
bindings: Start implementing overrides for python

11 years agoexample: Port the concatenate example to assets
Thibault Saunier [Mon, 10 Sep 2012 00:26:49 +0000 (21:26 -0300)]
example: Port the concatenate example to assets

11 years agoexamples: Add basic examples of asset
Volodymyr Rudyi [Mon, 10 Sep 2012 00:26:15 +0000 (21:26 -0300)]
examples: Add basic examples of asset

11 years agoges: Implement the ges_timeline_layer_add_asset method
Thibault Saunier [Mon, 17 Dec 2012 20:05:56 +0000 (17:05 -0300)]
ges: Implement the ges_timeline_layer_add_asset method

  + Remove GstDiscoverer related code in GESTimeline as we do not need it anymore
  + Refactor the ges_timeline_layer_add_object method to make sure it is still working as intended

API:
  ges_timeline_layer_add_asset

11 years agotimelinefilesource: Override default GESExtractable interface implementation
Volodymyr Rudyi [Mon, 10 Sep 2012 00:21:21 +0000 (21:21 -0300)]
timelinefilesource: Override default GESExtractable interface implementation

11 years agotimelineobject: Implement the GESExtractable interface
Thibault Saunier [Mon, 10 Sep 2012 00:20:46 +0000 (21:20 -0300)]
timelineobject: Implement the GESExtractable interface

11 years agoges: Implement GESAssetFileSource
Volodymyr Rudyi [Mon, 10 Sep 2012 00:15:17 +0000 (21:15 -0300)]
ges: Implement GESAssetFileSource

+ Generate the documentation
+ Make the new Asset infrastructure compile

Co-Authored-By: Thibault Saunier <thibault.saunier@collabora.com>
11 years agoges: Implement the GESExtractable interface
Thibault Saunier [Mon, 10 Sep 2012 00:12:06 +0000 (21:12 -0300)]
ges: Implement the GESExtractable interface

+ Generate the documentation

Note: Do not compile (add to Makefile.am) for now as we are missing pieces at that point

Co-Authored-By: Volodymyr Rudyi <vladimir.rudoy@gmail.com>
11 years agoges: Implement GESAsset
Volodymyr Rudyi [Sat, 1 Sep 2012 02:36:37 +0000 (19:36 -0700)]
ges: Implement GESAsset

+ Generate the documentation

Note: Do not compile (add to Makefile.am) for now as we are missing pieces at that point

Co-Authored-By: Thibault Saunier <thibault.saunier@collabora.com>
11 years agodesign: Add asset design document
Thibault Saunier [Mon, 17 Dec 2012 18:27:52 +0000 (15:27 -0300)]
design: Add asset design document

Co-Authored-By: Volodymyr Rudyi <vladimir.rudoy@gmail.com>
11 years agofilesource: Make the uri property CONSTRUCT_ONLY
Thibault Saunier [Fri, 10 Aug 2012 16:58:13 +0000 (12:58 -0400)]
filesource: Make the uri property CONSTRUCT_ONLY

This is the way it should always have been.

11 years agogitignore: Ignore some more files
Thibault Saunier [Sat, 21 Jul 2012 15:12:08 +0000 (17:12 +0200)]
gitignore: Ignore some more files

11 years agotests: implement GESMetaContainer tests
Thibault Saunier [Mon, 17 Dec 2012 18:17:50 +0000 (15:17 -0300)]
tests: implement GESMetaContainer tests

Co-Authored-By: Paul Lange <palango@gmx.de>
11 years agotimeline-layer: implement the GESMetaContainer interface
Paul Lange [Mon, 17 Dec 2012 18:24:52 +0000 (15:24 -0300)]
timeline-layer: implement the GESMetaContainer interface

11 years ago metacontainer: Finnish GESMetaContainer implementation
Thibault Saunier [Mon, 17 Dec 2012 18:23:39 +0000 (15:23 -0300)]
 metacontainer: Finnish GESMetaContainer implementation

11 years agoimplement the GESMetaContainer interface
Paul Lange [Mon, 26 Nov 2012 16:31:17 +0000 (13:31 -0300)]
implement the GESMetaContainer interface

11 years agodocs: Added metadata design doc
Thibault Saunier [Mon, 14 May 2012 19:14:37 +0000 (22:14 +0300)]
docs: Added metadata design doc

11 years agotimeline-layer: Fix track-added Callback parametters
Thibault Saunier [Fri, 23 Nov 2012 14:44:08 +0000 (11:44 -0300)]
timeline-layer: Fix track-added Callback parametters