Commit graph

822 commits

Author SHA1 Message Date
Thibault Saunier
7c00521b4e track: Set the gap element creator function when tracks are using raw audio/video 2012-12-19 18:59:51 -03:00
Thibault Saunier
bf742ced65 pipeline: Minor documentation fixes 2012-12-19 18:59:51 -03:00
Thibault Saunier
9a2ba1f9f7 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
2012-12-19 18:59:51 -03:00
Thibault Saunier
8ff97af65d timeline: Implement the GESMetaContainerInterface 2012-12-19 18:59:51 -03:00
Thibault Saunier
dbab748bfc timeline: Implement the GESExtractable interface 2012-12-19 18:59:50 -03:00
Thibault Saunier
543ab28228 timeline: Make timeline->track and timeline->layers public fields 2012-12-19 18:59:50 -03:00
Thibault Saunier
66abaa40d4 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:
2012-12-19 18:59:50 -03:00
Thibault Saunier
a89683f06a formatter: Implement the GESExtractable interface
Make it a GInitially unowned, GESProject will become the owner
2012-12-19 18:59:50 -03:00
Thibault Saunier
49867a95fc 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>
2012-12-19 18:59:49 -03:00
Thibault Saunier
571e9c63d8 track: Implement the GESMetaContainer interface 2012-12-19 18:59:49 -03:00
Thibault Saunier
b39ed6a379 trackobject: Implement the GESMetaContainerInterface 2012-12-19 18:59:49 -03:00
Thibault Saunier
c2fe7f0c82 timeline-object: Implement the GESMetadataContainer interface 2012-12-19 18:59:49 -03:00
Thibault Saunier
ca0bcfcd50 trackobject: Implement the GESExtractable interface 2012-12-19 18:59:49 -03:00
Thibault Saunier
04c8b4a7d9 docs: Update GESTimelineTestSource documentation 2012-12-19 18:59:49 -03:00
Thibault Saunier
0232f57003 customtimelinesource: Override Extractable
API: ges_material_custom_timeline_source_new (helper method)
2012-12-19 18:59:49 -03:00
Thibault Saunier
a7280fb59d 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
2012-12-19 18:59:48 -03:00
Volodymyr Rudyi
c7cefd0f37 timelinefilesource: Override default GESExtractable interface implementation 2012-12-19 18:59:48 -03:00
Thibault Saunier
b5c21da0d8 timelineobject: Implement the GESExtractable interface 2012-12-19 18:59:48 -03:00
Volodymyr Rudyi
107b4ad0c6 ges: Implement GESAssetFileSource
+ Generate the documentation
	+ Make the new Asset infrastructure compile

Co-Authored-By: Thibault Saunier <thibault.saunier@collabora.com>
2012-12-19 18:59:47 -03:00
Thibault Saunier
f4858a97f7 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>
2012-12-19 11:45:38 -03:00
Volodymyr Rudyi
55ddfebb64 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>
2012-12-19 11:45:38 -03:00
Thibault Saunier
30e12995fd filesource: Make the uri property CONSTRUCT_ONLY
This is the way it should always have been.
2012-12-19 11:45:38 -03:00
Paul Lange
6ea0dffb47 timeline-layer: implement the GESMetaContainer interface 2012-12-19 11:45:38 -03:00
Thibault Saunier
3de2670b00 metacontainer: Finnish GESMetaContainer implementation 2012-12-19 11:45:38 -03:00
Paul Lange
97862bbe48 implement the GESMetaContainer interface 2012-12-19 11:45:38 -03:00
Thibault Saunier
1752e0db9f timeline-layer: Fix track-added Callback parametters 2012-12-19 11:45:38 -03:00
Thibault Saunier
ab9e2364c3 timeline-object: Edit can only work work with GESTrackSource 2012-12-19 11:45:38 -03:00
Thibault Saunier
ce9aa02723 formatter: Remove obselete APIs
Removed APIs:
ges_formatter_update_source_uri
GESFormatter::source-moved
ges_formatter_update_source_uri
ges_formatter_load
ges_formatter_save
ges_formatter_set_data
ges_formatter_clear_data
ges_formatter_get_data
GESFormatterLoadMethod
GESFormatterSaveMethod

This is now GESProject's role
2012-12-19 11:45:38 -03:00
Thibault Saunier
97973f1eba Remove the GESKeyFileFormatter
It was using deprecated URI, and can not be used in real life anymore.

Also remove the ges_formatter_default_new method ges_formatter_new_for_uri
that are useless now
2012-12-19 11:45:37 -03:00
Thibault Saunier
35a3f72ad5 pitiviformatter: Some minor restrtucturation 2012-12-19 11:45:37 -03:00
Thibault Saunier
b0cc5c6b87 track: Force video/x-raw in raw gaps 2012-12-19 11:45:37 -03:00
Thibault Saunier
346b04ecb4 timeline: Keep track of GSequenceIter for each GESTrackObject
This way we do not have to look for them in the sequence itself, and
make things simpler
2012-12-19 11:45:37 -03:00
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
Thibault Saunier
f8037f857d trackobject: Properly rename get/set_child_property
We used to have a ges_track_object_get/set_child_property that was in
fact letting user set/get various properties at once, rename it to
get/set_properties, and implement:

API:
    ges_track_object_get_child_property (GESTrackObject *object, const gchar
            *property_name, GValue * value);
    ges_track_object_set_child_property (GESTrackObject *object, const gchar
            *property_name, GValue * value);
2012-12-19 11:44:26 -03:00
Thibault Saunier
dcfda73777 trackobject: Some GI annotation fix 2012-12-18 22:06:09 -03:00
Tim-Philipp Müller
a61489df53 ges-track-effect: don't use deprecated API 2012-11-17 00:10:20 +00:00
Tim-Philipp Müller
426fffb6c3 Fix FSF address 2012-11-04 00:25:20 +00:00
Thibault Saunier
76400fa07c ges: fix g-i search path for GstAudio GstVideo GstTag and GstBase 2012-10-31 14:49:44 -03:00
Xabier Rodriguez Calvar
101240e67c timeline: Added timeline and mode as properties 2012-10-25 12:44:00 +02:00
Xabier Rodriguez Calvar
8a298d1fab timeline: Adding GObject property API to get/set preview audio and video sinks 2012-10-25 12:43:44 +02:00
Xabier Rodriguez Calvar
fd30629eed timeline: Initialize as NULL the preview sinks when getting them.
This way, if there is a problem getting the properties from the
playsink, we do not return garbage.
2012-10-25 12:43:28 +02:00
Thibault Saunier
4d73e4d67f ges: Update reported version to 1.0 2012-09-25 15:11:41 +02:00
Volodymyr Rudyi
f68757ce2c timeline: Added 'const' modifier 2012-09-25 15:11:41 +02:00
Thibault Saunier
04f2347f37 titlesource: Use GST_DEBUG_OBJECT when appropriate 2012-09-25 15:10:35 +02:00
Thibault Saunier
d4fdc9b5d1 Reset ABI for 1.0 and ensure that extensible baseclasses are extensible enough 2012-09-25 15:10:35 +02:00
Thibault Saunier
fbefd6dae3 pitiviformatter: Implement can_load_uri vmethod 2012-09-25 15:10:33 +02:00
Thibault Saunier
f0e9691c96 formatter: Implement a usefull version of ges_formatter_can_load_uri 2012-09-23 02:37:12 +02: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
Thibault Saunier
933d41f15d timeline: Plug a leak in the movecontext code 2012-09-23 02:37:12 +02:00
Nicolas Dufresne
76ccc417c8 timeline-pipeline: use downstream block probe to avoid deadlock on duration query 2012-09-07 19:20:08 +01:00