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
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
79ab1b5166
ges: Update for registry API change
2012-01-02 15:58:17 +01:00
Edward Hervey
a32f1bd4dc
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
bindings/python/Makefile.am
bindings/python/ges.override
bindings/python/gesmodule.c
configure.ac
2011-12-30 17:24:37 +01:00
Edward Hervey
febf62f2b9
ges: Update for 0.11 changes
...
* Changes with controller API
* Use new GstSample for screenshot API
2011-12-30 17:15:07 +01:00
Robert Swain
edf47f880d
GESTimelinePipeline: Add API to get/set audio sink
2011-11-07 15:08:34 +01:00
Edward Hervey
c6d71ed335
TrackVideoTransition: Fix after merge
2011-10-11 10:02:11 +02:00
Edward Hervey
622cb2ac76
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-11 09:58:46 +02:00
Edward Hervey
ebcd5ae3fa
ges: ffmpegcolorspace is dead, long live videoconvert
2011-10-11 09:51:43 +02:00
Edward Hervey
7cdd9694ff
ges: Port to 0.11 API
2011-10-11 09:51:35 +02:00
Edward Hervey
efe3bd7842
screenshot: Use new 0.11 API
...
FIXME : Need to figure out how to get the buffer caps.
2011-10-11 09:50:30 +02:00
Robert Swain
03ecfb80c0
GESTimelinePipeline: API documentation improvements
...
Added notes for refcounts and transference to API documentation for the
video sink getter/setter.
2011-10-05 12:24:36 +02:00
Robert Swain
8ff7b7def5
GESTimelinePipeline: Add video sink get/set API
...
This new API allows getting/setting of the preview mode's video sink
element through playsink's video-sink property.
2011-10-04 16:25:22 +02:00
Edward Hervey
1f6824cf87
GESTimelinePipeline: Return before the error labels
...
Avoids a warning for no reason
2011-08-30 16:40:03 +02:00
Edward Hervey
e02cf20326
GESTimelinePipeline: Handle some trivial error cases
...
Avoids ending up calling potentially NULL variables
2011-08-29 17:43:05 +02:00
Luis de Bethencourt
32f0a49c6a
ges/ges-track-video-transition.c: fix transition of different video sizes
2011-08-15 11:58:15 +02:00
Luis de Bethencourt
f4fe8af5c4
GESTrackObject: missing Since tag and typo fixes
2011-08-14 00:52:23 +02:00
Luis de Bethencourt
92ee492588
docs: add Since tag to new TextOverlay functions
...
And add them to the GES API doc
2011-08-13 18:42:50 +02:00
Luis de Bethencourt
6dfce431a8
docs: add Since tag to new TitleSource functions
...
And add them to the GES API doc
2011-08-13 18:42:20 +02:00
Mathieu Duponchelle
973c3d2b2e
Add ges-screenshot.h to ges.h
...
This is to make ges_play_sink_convert_frame available to the bindings.
2011-08-11 14:40:09 +02:00
Thibault Saunier
1efbf1ceec
GESTimeleinePipeline: Create a flag type instead of a simple enum
...
Make it binding friendly
2011-08-10 17:12:45 +02:00
Luis de Bethencourt
237f19d63a
GESTimelineTitleSource/TrackTitleSource: add xpos/ypos setting
...
Vertical and horizontal position properties of the title source
can be set and get.
2011-08-09 19:15:18 +02:00
Luis de Bethencourt
8704011597
GESTimelineTitleSource/TrackTitleSource: add color setting
...
Color property of the text overlay can be set and get.
2011-08-09 19:13:37 +02:00
Luis de Bethencourt
63a82c5274
GESTimelineTextOverlay/TrackTextOverlay: add xpos/ypos setting
...
Vertical and horizontal position properties of the text overlay
can be set and get.
2011-08-08 18:44:57 +02:00
Luis de Bethencourt
09ef6dbeac
ges-enums: completed support for all options in TextAlign
...
Added the center and position options to the vertical, and horizontal
properties of text alignment.
2011-08-08 18:30:42 +02:00
Edward Hervey
20f568ae94
Opening the 0.11 branch
2011-08-05 13:24:44 +02:00
Luis de Bethencourt
c62e18e219
ges: include indentation fixes
...
run gst-indent through ges-timeline-text-overlay.h and
ges-track-text-overlay.h
2011-08-03 12:27:04 +02:00
Luis de Bethencourt
ba5babd474
GESTimelineTextOverlay/TrackTextOverlay: add color setting
...
Color property of the text overlay can be set and get.
2011-08-03 12:20:27 +02:00
Mathieu Duponchelle
369efb0822
effects: implement the TrackParseLaunch get_property method properly
2011-07-07 21:27:37 -04:00
Mathieu Duponchelle
b0810ff5de
GES : make sure to set n_properties to 0 when needed
2011-07-07 21:18:04 -04:00
Luis de Bethencourt
9a19d2ef64
GESTimelineFileSource: Check uri at _new()
...
Check if uri is valid before creating a new object in
ges_timeline_filesource_new()
2011-06-25 20:12:46 +02:00
Luis de Bethencourt
9af6843f16
GESTimelineFileSource: Fix documentation
2011-06-25 19:42:29 +02:00
Edward Hervey
6476d50b2c
GESFormatter: Plug a leak
...
And make the two save methods have the same code/look
2011-05-26 09:28:02 -07:00
Edward Hervey
f07daf3beb
GESFormatter: Move comments out of the way
...
Avoids having them appear in gtk-doc
2011-05-20 16:52:57 +02:00
Edward Hervey
7cbb93e487
GESTimelineObject/TrackObject: Don't break ABI for the Class
...
New addition go at the end, and the _reserved pointer gets reduced
accordingly
2011-05-20 16:52:43 +02:00
Edward Hervey
3bc2d8854c
ges: More "Since: 0.10.2" doc markers
2011-05-20 16:52:36 +02:00
Thibault Saunier
f8a05b6d51
doc: Update the ges_init documentation
2011-05-19 21:58:51 +02:00
Thibault Saunier
8cb608eac0
ges: Fix introspection annotations
2011-05-19 21:58:51 +02:00
Thibault Saunier
deb88a1551
GESTimelineStandardTransition: keep track of TrackVideoTransition
...
Use the new track_object_added/release vfunc to get cleaner code
2011-05-19 21:58:51 +02:00
Thibault Saunier
a00f2f82df
GESTimelineTitleSource: Keep track of contained TrackTitleSource objects
...
We use the new track_object_added and track_object_released vfunc to keep track
of the TrackObject we might be interested in. Makes cleaner code
2011-05-19 21:58:50 +02: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
Thibault Saunier
6e0d6ba9c5
GESTrack: add a duration property
...
User can connect to the notify::duration signal if needed
2011-05-19 21:58:50 +02:00
Thibault Saunier
776060452d
GESTrack: keep track of the properties GParamSpecs
2011-05-19 21:58:50 +02:00
Edward Hervey
d935459f33
ges: Initialize GES when building the gir/typelib
2011-05-09 14:26:53 +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
Edward Hervey
50911c87a6
ges: Fix docs for alignment and introspection annotations
...
gtk-doc comments need to have a space before the '*' of each line else
they won't be picked up by gtk-doc.
2011-05-07 16:59:06 +02:00
Edward Hervey
75fbaa8e29
GESTrack: Make debug statement more useful
2011-05-07 13:43:10 +02:00
Edward Hervey
17b99d36b2
GESTrackParseLaunchEffect: Name the convert elements better
...
And bump a DEBUG to an ERROR
2011-05-07 13:43:10 +02:00
Edward Hervey
168c2d0327
GESTrackEffect: Cleanup of the property lookup code
2011-05-07 13:43:10 +02:00
Edward Hervey
44795fe51c
GESTrackObject: Fix leak when iterating elements
...
We *always* need to unref elements and not just when they're effects
2011-05-07 13:43:10 +02:00
Edward Hervey
92ce17285b
GESTrackObject: use gst_object_ref
2011-05-07 13:43:07 +02:00
Edward Hervey
7b303a38c5
GESTrackEffect: Use gst_object_unref for the hash value destroyfunc
...
The values are GstObjects and it makes it easier to track in debug logs
when they are being unreffed.
2011-05-07 13:22:50 +02:00
Thibault Saunier
3195bd1303
GESTrackkEffect: Fix Leaks
2011-05-07 12:33:33 +02:00
Thibault Saunier
65649722dd
GESTimelineParseLaunchEffect: finalize to avoid leaks
2011-05-06 17:18:58 -03:00
Thibault Saunier
898ddfde87
ges: Add 'Since 0.10.2' to the new effects related API
2011-05-06 14:55:31 -03:00
Edward Hervey
ed8c00aa73
GESTrackObject: Check for valid argument
2011-05-06 19:41:38 +02:00
Edward Hervey
5fb9ec4148
GESTrackObject: Make a local function static
2011-05-06 19:41:16 +02:00
Edward Hervey
dab7501cdc
GESTimelineObject: Check for valid arguments
...
and minor indentation fix
2011-05-06 19:40:22 +02:00
Edward Hervey
eccad44289
ges: Debug statement fixups
2011-05-06 19:39:26 +02:00
Edward Hervey
a6f3ae6dac
ges: Doc fixes
2011-05-06 19:38:26 +02:00
Edward Hervey
88ab612df2
ges: Include indentation fixes
2011-05-06 19:36:35 +02:00
Edward Hervey
bca106e4b3
ges: Fix include orders
2011-05-06 19:35:13 +02:00
Edward Hervey
5b57ce7f4f
ges: Don't break debug lines
2011-05-06 11:56:30 +02:00
Edward Hervey
5ac02d60be
TrackLaunchEffect: Fix macros
2011-05-06 11:54:19 +02:00
Thibault Saunier
a1f11bed79
GESTrackParseLaunchEffect: better create_element implementation
2011-05-06 10:39:05 +02:00
Thibault Saunier
d6945879a0
TrackObject: fixe a crash in connect_signal
2011-05-06 10:39:05 +02:00
Thibault Saunier
54ed9b1709
GESTrackObject: add a ges_track_object_list_children_properties method
...
test: Test the new method, and also set/get_child_property_by_spec
2011-05-06 10:39:05 +02:00
Thibault Saunier
0e9658812e
GESTrackObject: Implement a get/set_child_property_by_spec and get/set_child_property_valist methods
...
Reimplement the get/set_property accordingly
2011-05-06 10:39:05 +02:00
Thibault Saunier
1add2482b8
GESTrackObject: add a ges_track_object_lookup_child method
2011-05-06 10:39:05 +02:00
Thibault Saunier
b0f877a47c
GESTrackObject: fixe the connect_properties_signals
2011-05-06 10:39:05 +02:00
Thibault Saunier
3179cb7c53
GESTrackObject: Change properties_hashtable format to GParamSpec->GstElement
...
It used to be 'ClassName-property-name' -> GstElement
2011-05-06 10:39:04 +02:00
Thibault Saunier
34f6d41d15
GESTrackEffect: move get_props_hastable implementation from GESTackParseLaunchEffect
2011-05-06 10:39:04 +02:00
Thibault Saunier
a69106ce53
GESTimelineObject: set_top_effect_priority refactoring
2011-05-06 10:39:04 +02:00
Thibault Saunier
7f3e64bd82
GESTimelineObject: Change the get_effects method to get_top_effects.
2011-05-06 10:39:04 +02:00
Thibault Saunier
0d02e26195
GESTrackObject: fixe a few issues with the get_props_hastable vmethod
2011-05-06 10:39:04 +02:00
Thibault Saunier
218cad6f16
GESTimelineEffect: keep the list of TrackObjects always sorted
...
Make sort_track_effects function static
2011-05-06 10:39:04 +02:00
Thibault Saunier
9dccf8d475
GESTimelineObject: use GESTrackEffect as base classe for effects and not GESTrackOperation.
2011-05-06 10:39:04 +02:00
Thibault Saunier
20c2d1df71
GESTimelineParseLaunchEffect: documentation fixing
2011-05-06 10:39:04 +02:00
Thibault Saunier
ecb280c85e
TrackParseLaunchEffect: rename ges_track_parse_launch_effect_new_from_bin_desc method to ges_track_parse_launch_effect_new
2011-05-06 10:39:03 +02:00
Thibault Saunier
4b4439ad8a
Make GESTimelineEffect abstract and move its implementation to GESTimelineParseLaunchEffect
...
test: Adapte the test suite to suite the new API
2011-05-06 10:39:03 +02:00
Thibault Saunier
ea3625f4b9
Make GESTrackEffect abstract and move its implementation to GESTrackParseLaunchEffect
...
test: update the effect test suite
2011-05-06 10:39:03 +02:00
Thibault Saunier
da717d6b25
GESTrackObject: add the deep-notify signal
...
tests: test the new signal
2011-05-06 10:39:03 +02:00
Thibault Saunier
68c1ade22d
GESTimelineObject: Emit signal when adding and removing effects
...
tests: test that those signals are actually well sent
2011-05-06 10:39:03 +02:00
Thibault Saunier
34c55abd5d
docs: fixe the GESTimelineObject documentation
2011-05-06 10:39:02 +02:00
Thibault Saunier
3f4a4a7134
GesTrackObject: add the ges_track_object_get_child_property method
...
test: Test this new method
design: change the design file to fit the implementation
2011-05-06 10:39:02 +02:00
Thibault Saunier
d9c07a4ed4
GESTrackObject: add a ges_track_object_set_child_property_method
...
test: Test the new method
2011-05-06 10:39:02 +02:00
Thibault Saunier
5376ff21ce
GESTrackEffect: add the get_props_hastable virtual method
...
Implements this virtual method for bin described effects.
2011-05-06 10:39:02 +02:00
Thibault Saunier
c67bcb1684
GESTrackObject: add an hashtable linking childs properityName -> GstElement
...
We also add a Virtual method that should be implementented in subclasses to generate the new GHasTable
2011-05-06 10:39:02 +02:00
Thibault Saunier
d18c9fe8fb
GESTimelineObject: add a ges_timeline_object_set_top_effect_priority method
...
Lets the user have a minimum of control over effects priorities
2011-05-06 10:39:02 +02:00
Thibault Saunier
bad1b419c2
GESTimelineObject: Do not rely on the fact that the trackobject list is sorted
2011-05-06 10:39:02 +02:00
Thibault Saunier
8717290bb0
GESTimelineObject: Update TrackObject priorities handling
...
make use of the new TrackObject getters
2011-05-06 10:39:01 +02:00
Thibault Saunier
bbf8aba733
GESTimelineObject: make debugging symbols more usefull
2011-05-06 10:39:01 +02:00
Thibault Saunier
c84d87961d
GESTrackEffect: add getters for the: start, inpoint, duration, priority, active properties
...
docs: add new symbols
2011-05-06 10:39:01 +02:00
Thibault Saunier
861b724cd6
TimelineEffect: implement the create_track_object vmethod
...
tests: test the new vmethod
2011-05-06 10:39:01 +02:00
Thibault Saunier
b2d9ba6f1e
TimelineObject: take a private update_height method out of priority_update_cb
2011-05-06 10:39:01 +02:00
Thibault Saunier
5ebeec2df1
TimelineEffect: create 2 properties for bin_descrption, one for the audio track, another for the video one
...
This is more for testing purposes since in the long run we should use Materials
2011-05-06 10:39:01 +02:00
Thibault Saunier
b566453e4a
TimelineEffect: Add the basis for GESTimelineEffect implementation
2011-05-06 10:39:01 +02:00
Thibault Saunier
67cefa009d
TrackEffect: Fixe the documentation
2011-05-06 10:39:00 +02:00
Thibault Saunier
25daa3c6a0
TimelineObject: fixe new API documentation
2011-05-06 10:39:00 +02:00
Thibault Saunier
ca2d5bca2b
TimelineObject: add the ges_timeline_object_get_top_effect_position method
...
tests: adapt the effect testsuite to use this function
docs: add the method to the documentation
2011-05-06 10:39:00 +02:00
Thibault Saunier
dd298b99c7
TimelineObject: remove trailling spaces
2011-05-06 10:39:00 +02:00
Thibault Saunier
5e84bf8fe3
TimelineObject: add ges_timeline_object_get_effects API
...
tests: Test the new TimelineObject API
docs: add the corresponding fonction
2011-05-06 10:39:00 +02:00
Thibault Saunier
78a4afe2dc
TimelineObject: adapt the add_track_object so we can add effects to it.
...
We keep the list of contained TrackObject-s order by priority
2011-05-06 10:39:00 +02:00
Thibault Saunier
070be5aff3
TimelineObject: add a function to sort list of applied effects
2011-05-06 10:39:00 +02:00
Thibault Saunier
0e4528112d
TimelineObject: add a property to count the number of effects applied on it
2011-05-06 10:39:00 +02:00
Thibault Saunier
f8154914a0
TrackEffect: add padding to give a margin for API expension without breaking ABI
2011-05-06 10:38:59 +02:00
Thibault Saunier
e499a1142a
TrackEffect: change the create_element function arguments to fit what is expected
2011-05-06 10:38:59 +02:00
Thibault Saunier
3aa68dac63
TrackEffect: Change copyright
2011-05-06 10:38:59 +02:00
Thibault Saunier
647f7c34d9
effects: Make TrackEffect implementation corresponding to the new effect API description
...
Make the effects testsuite correspond to the new API
Fixe a few compilation issues due to TrackEffect
2011-05-06 10:38:59 +02:00
Thibault Saunier
6e5d16ac6d
GESTrackEffect: add private struct
2011-05-06 10:38:58 +02:00
Thibault Saunier
63e901ed12
GESTrackEffect: implementation of this new class
2011-05-06 10:38:58 +02:00
Alessandro Decina
62a3a7ed8c
android: make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 17:15:55 +02:00
Thibault Saunier
49ac8a4e3e
GESTimelinePipeline: the _init_ method shouldn't return before the end
...
Fixes #644939
2011-03-23 15:45:48 +01:00
Edward Hervey
8927e8d72e
KeyFileFormatter: Handle return value of gst_value_deserialize()
2011-03-15 14:01:41 +01:00
Alessandro Decina
d5622071f5
ges: fix compiler warnings
2011-03-01 17:38:52 +01:00
Vincent Penquerc'h
a35a29a810
ges: make uri strings const
2011-03-01 17:29:09 +01:00
Edward Hervey
762c447936
TimelineObject: Store GParamSpec for height and layer
2011-02-09 11:21:02 +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
2a98347461
ges: fix a couple of printf format warnings
2011-01-31 19:00:49 +00:00
Alessandro Decina
77d789b077
ges: fix compiler warnings
2011-01-27 17:44:43 +01:00
Edward Hervey
753c16055e
ges: Fix more ges_timeline_get_layers() usage memory leaks
2011-01-11 18:14:41 +01:00
Sebastian Dröge
8dff71aa08
ges: Don't install ges-internal.h and hide the GES debug category symbols
...
Fixes bug #639219 .
2011-01-11 18:02:33 +01:00
Edward Hervey
fb93259f12
ges-utils: minor doc update
2011-01-11 17:55:34 +01:00
Sebastian Dröge
93eb5cc74a
ges: Only export symbols starting with ges_ or GES_
...
https://bugzilla.gnome.org/show_bug.cgi?id=639218
2011-01-11 17:55:33 +01:00
Sebastian Dröge
818368ffcf
ges: Mark some private symbols static
...
https://bugzilla.gnome.org/show_bug.cgi?id=639218
2011-01-11 17:55:33 +01:00
Edward Hervey
5387d36a15
TimelinePipeline: minor doc fix
2011-01-10 16:50:51 +01:00
Thibault Saunier
dc6290a5e2
docs: Document all the undocumented public functions
2011-01-10 15:14:45 +01:00
Edward Hervey
38d306db2e
TrackObject: Small cleanup
2011-01-10 15:10:01 +01:00
Edward Hervey
4b5d350121
TrackObject: Remove deprecated FIXME
...
You just need to connect to the notify signal to get updates
2011-01-10 15:09:40 +01:00
Edward Hervey
3359fe22b3
Track: Mark as private the instance private structure
2011-01-10 11:12:55 +01:00
Edward Hervey
9f26d1a14e
Timeline: Fix documentation of return value
2011-01-10 11:12:38 +01:00
Thibault Saunier
ba5770993f
GESFormatter: Add private instance and move private variables to it
2011-01-08 22:45:44 +01:00
Thibault Saunier
98b51d8cd1
TimelineFileSource: Create instance private and move private variables to it
...
Fixe/Add getter and setters methods for those variables
Fixup documentation
2011-01-08 22:45:44 +01:00
Thibault Saunier
3d6764d6e9
Timeline: Add instance private and Move private variables to it
...
Fixe/Add getter methods to get those variables
Fixup documentation
2011-01-08 22:45:44 +01:00
Thibault Saunier
e793cb6f9c
TimelineTestSource: Move private variables to instance private
...
Fixe/Add getter and setter methods for those variables
Fixup documentation
2011-01-08 22:45:44 +01:00
Thibault Saunier
59c5cdfb33
TimelineTextOverlay: Move private variables to instance private
...
Fixe/Add getter and setter methods for those variables
Fixup documentation
2011-01-08 22:45:36 +01:00
Thibault Saunier
595e6434cb
TimelineTitleSource: Move private variables to instance private
...
Fixe/Add getter and setters methods for those variables
Fixup documentation
2011-01-08 22:37:52 +01:00
Thibault Saunier
b8493f8896
TrackAudioTestSource: Move private variables to instance private
...
Add getter methods to get those variables
Fixup documentation
2011-01-08 22:32:53 +01:00
Thibault Saunier
5c757c1093
TrackAudioTransition: : Move private variables to instance private
2011-01-08 22:32:53 +01:00
Thibault Saunier
e042aa30e4
TrackTextOverlay: Move private variables to instance private
...
Add getter methods to get those variables
Add/Fixup documentation
2011-01-08 22:32:53 +01:00
Tim-Philipp Müller
9637de0afd
gobject-introspection: fix g-i build for uninstalled setup
...
Requires gst-plugins-base git (> 0.10.31.2) to actually work.
2011-01-08 01:36:13 +00:00
Edward Hervey
e6f5bc0f13
enums: Fix transition enum
...
Leftovers from when we were using the old name
2011-01-06 12:06:24 +01:00
Edward Hervey
7c255ff247
TrackTitleSource: Move private variables to instance private
...
Add getter methods to get those variables
Add/Fixup documentation
2011-01-06 12:04:53 +01:00
Edward Hervey
fec797f298
TimelinePipeline: Fix thumbnail method docs and arguments
...
The provided gchar* aren't modified
2011-01-06 11:30:26 +01:00
Edward Hervey
2d9f03fde0
TrackVideoTestSource: Move private data to instance private
...
Add a getter for the pattern
Document methods
2011-01-06 11:29:44 +01:00
Edward Hervey
58afc44fd7
TrackVideoTransition: Move private variable to instance private
...
Also add/fixup methods to get/set the transition type and document them.
2011-01-06 11:21:51 +01:00
Edward Hervey
c8dc8973b0
TimelinePipeline: Updates for pbutils API change
2011-01-06 10:55:06 +01:00
Edward Hervey
1dcc4b56bc
GESTrackAudioTransition: Fix empty if() body
2010-12-21 15:24:26 +01:00
Edward Hervey
74d41ef414
GESTimelinePipeline: Fix usage of encodebin
...
The property name is now avoid-reencoding
2010-12-20 19:09:48 +01:00
Edward Hervey
785c9d9253
GESTimeline: minor cleanup
2010-12-20 12:03:48 +01:00
Edward Hervey
1450d539d4
GESTimelineObject: Subclass from GInitiallyUnowned
...
The floating reference will be owned by the Layer
2010-12-20 12:03:48 +01:00
Edward Hervey
11887e0058
GESTimelineLayer: Subclass from GInitiallyUnowned
...
The floating reference will be owned by the Timeline
2010-12-20 12:03:48 +01:00
Edward Hervey
752e6cfb75
GESTrackObject: Subclass from GInitiallyUnowned
...
The floating reference will be owned by the Track
2010-12-20 12:03:48 +01:00
Edward Hervey
c90f399bfb
TimelineObject: Hold a reference to the controlled TrackObject
2010-12-20 12:03:48 +01:00
Edward Hervey
05df4ec7b6
GES*Object: only use g_object_notify_by_pspec if available
2010-12-17 11:27:37 +01:00
Edward Hervey
a96a483fae
GESTrackObject: Remove unused quarks
2010-12-17 11:27:23 +01:00
Edward Hervey
c568efb663
GESSimpleTimelineLayer: reverting const-ification
2010-12-16 19:37:06 +01:00
Brandon Lewis
82e4d95a28
GESSimpleTimelineLayer: add _index() method
2010-12-16 19:37:06 +01:00
Edward Hervey
e970c86753
GESTimelineObject: Add mapping/offset support [start/priority properties]
...
Allows moving independently (or not) timelineobjects and trackobjects and
have them synchronized with the offsets taken into account.
Right now only the start and priority properties are synchronized. The duration
and in-point properties will require more thoughts.
2010-12-16 19:29:14 +01:00
Edward Hervey
73209e1f21
GESTrackObject: priority offset is handled by the TimelineObject
2010-12-16 19:24:25 +01:00
Edward Hervey
411ac1cb99
GESTrackObject: re-factor property setting code
...
And make sure notifications are emitted at the right time
2010-12-16 19:23:20 +01:00
Edward Hervey
e6aeb97040
GESTrackObject: Add a 'locked' property for position synchronization
...
And update all code using it
2010-12-16 16:27:26 +01:00
Edward Hervey
8ca6f66f4c
GESTrackObject: Hide more variables and provide accessors for them
2010-12-16 15:00:46 +01:00
Edward Hervey
4028baaa5b
GESTimeline: Remove useless variable
2010-12-16 12:46:48 +01:00
Edward Hervey
5a170091e6
GESTimelineLayer: Hide the object list and priority
...
Add needed setters/getters
2010-12-16 12:41:26 +01:00
Edward Hervey
3eadc4aa31
ges: Add more documentation and annotations
...
This should make GES gobject-introspection compliant now.
2010-12-15 19:40:11 +01:00
Edward Hervey
7146c33617
TimelineObject: Put more function name in sync with others
2010-12-15 19:18:42 +01:00
Edward Hervey
7ef6f365d9
GESSimpleTimelineLayer: _nth() returns a const
...
The refcount isn't incremented.
2010-12-15 19:18:16 +01:00
Edward Hervey
ed6b2ce4c4
GESTrack: Make more properties private
...
And ensure exported symbols are properly documented and have
argument checking.
2010-12-15 19:05:48 +01:00
Brandon Lewis
c60a4b5734
GESSimpleTimelineLayer: ensure the object can be located before "object-added"
...
fires
2010-12-15 18:01:33 +01:00
Brandon Lewis
7bb28f0a6a
GESSimpleTimelineLayer: add _nth() method
2010-12-15 18:01:33 +01:00
Edward Hervey
132cb68ab2
all: add/extend more .gitignore
2010-12-15 15:52:03 +01:00
Edward Hervey
ecc168c13c
ges: Don't shorten symbol names
...
It wasn't making us gain anything, and confuses the hell out of g-ir-scanner.
2010-12-15 13:27:39 +01:00
Edward Hervey
122d3cda02
ges: Add gobject-introspection support
2010-12-15 12:58:26 +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
5f6dadab77
GESTrackObject: Make base_priority/priority-offset a private field
2010-12-14 17:38:55 +01:00
Edward Hervey
3912245f87
GESTrackObject: Add create_element vmethod
...
API: GESTrackObjectClass::gnlobject_factorytype
API: GESTrackObjectClass::create_element
Most track objects are only specific by the contents of the gnlobject,
therefore move the 'create_element' vmethod which was already present
in some subclasses to the top-level class.
Also make the code more robust
2010-12-10 12:26:44 +01:00
Edward Hervey
8389feb971
GESTrackTransition: Make it a subclass of GESTrackOperation
2010-12-10 12:14:32 +01:00
Edward Hervey
7a098a423d
GESTimelineSource: Remove textoverlay properties
...
This will be made more generic by allowing any overlay/effect to
be put on any source object.
2010-12-09 19:36:44 +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
Edward Hervey
36e165e190
ges: Make some classes abstract with G_DEFINE_ABSTRACT_TYPE
2010-12-09 15:21:10 +01:00
Edward Hervey
eb4cf96b29
ges: Avoid leaking a GList of GESTrackObject
2010-12-09 15:13:27 +01:00
Edward Hervey
237ea89aa7
ges: Remove unused GObject vmethods
2010-12-09 15:12:34 +01:00
Edward Hervey
d8b2781ddc
GESTimelineOperation: New abstract class for operations
...
This is a new class for all timeline objects that both produce and
consume data.
The existing subclasses of it are now:
* GESTimelineOverlay
* GESTimelineTransition
2010-12-09 14:25:22 +01:00
Edward Hervey
f352404159
GESTimelineObject: Clarify usage of create_track_object(s) by subclasses
2010-12-09 12:53:07 +01:00
Edward Hervey
a98b77a648
GESTimelineSource: Remove empty create_track_object vmethod
...
The parent class will check if it is present or not, and call
track_objects if needed.
2010-12-09 12:52:15 +01:00
Edward Hervey
fd44f95618
GESFormatter: Hide the save/load vmethod from the docs
...
We need to deprecated them before API/ABI freeze
2010-12-09 12:46:27 +01:00
Edward Hervey
218bd56866
ges: Remove creators for base classes
2010-12-08 16:11:55 +01:00
Edward Hervey
8cef09279a
GESTimelineSource: Remove _new() since it's a base class
2010-12-08 15:48:55 +01:00
Edward Hervey
faec1e803d
docs: A round of updates
2010-12-08 15:36:55 +01:00
Thibault Saunier
dfeb7afe85
GESTimelineObject: add private structure
2010-12-08 13:00:21 +01:00
Thibault Saunier
7fc3be7d44
GESSimpleTimelineLayer: add private structure
2010-12-08 13:00:15 +01:00
Thibault Saunier
4c91a36f9a
ges: Add instance private structures
2010-12-08 12:54:02 +01:00
Thibault Saunier
8d19b737d8
GESTimelinePipeline: add a private structure
2010-12-08 12:53:59 +01:00
Thibault Saunier
a66d8eaf16
GESCustomTimelineSource: add private structure
2010-12-08 12:53:59 +01:00
Thibault Saunier
4add2937de
SimpleTimelineLayer: Remove bogus check and extend unit test to validate it
2010-12-02 11:55:44 +01:00
Edward Hervey
849d6ab872
ges: Add padding to all public structures
...
This will give us margin for API expansion without breaking ABI.
The ABI restriction will only come in place once we do the first
official release (i.e. 0.x.0).
2010-11-29 13:24:13 +01:00
Edward Hervey
3a9e4cdd74
Formatter: Extend and fixup documentation
2010-11-27 18:12:49 +01:00
Edward Hervey
2ff3d8ce12
Timeline: Add doc and more comments/fixmes
2010-11-27 18:12:49 +01:00
Edward Hervey
1da6d7a5dd
GESTimeline: Prevent saving timelines without any layers
2010-11-27 18:12:49 +01:00
Edward Hervey
7176c26810
TimelineLayer: Add debug statement regarding priorities
2010-11-27 18:12:49 +01:00
Brandon Lewis
cc3634e18c
GESFormatter: fix a few typos in documention
2010-11-27 18:08:20 +01:00
Brandon Lewis
33bc336a11
GESTimeline: add more fixmes
2010-11-27 18:08:20 +01:00
Brandon Lewis
39088c8f58
GESKeyFileFormatter: use ges_formatter_get/set data
2010-11-27 18:08:20 +01:00
Brandon Lewis
0ce5053ac4
GESFormatter: Add data-related methods
2010-11-27 18:08:20 +01:00
Brandon Lewis
9f1dc7709a
GESKeyFileFormatter: New GKeyFile GESFormatter
2010-11-27 18:08:20 +01:00
Brandon Lewis
27481c3c26
GESTimeline: implementation of save_to/load_from uri
2010-11-27 18:08:19 +01:00
Brandon Lewis
124100b957
GESFormatter: Project file format support
2010-11-27 18:07:46 +01:00
Brandon Lewis
abce2912b8
GESTimeline: set track state to NULL before removing from timeline
2010-11-27 17:55:50 +01:00
Brandon Lewis
f521d31b40
GESTimeline: release timeline objects when a layer is removed
2010-11-27 17:55:49 +01:00
Brandon Lewis
293cc5c6ca
GESTrack: keep track of trackobjects and remove/release them in dispose
2010-11-27 17:23:30 +01:00
Brandon Lewis
0ced93c4ed
GESSimpleTimelineLayer: override get_objects () virtual method
2010-11-27 17:23:29 +01:00
Brandon Lewis
06695545e0
GESTimelineLayer: add get_objects virtual method
2010-11-27 17:23:29 +01:00
Brandon Lewis
9848c33e40
GESTimeline: allow adding tracks after layers
2010-11-27 17:23:23 +01:00
Brandon Lewis
170ec1e7ab
GESTimeline: add existing timeline objects when adding layers
2010-11-27 17:16:36 +01:00
Brandon Lewis
d9f8563319
ges: ensure built-in timeline object classes are registered
2010-11-27 17:13:39 +01:00
Brandon Lewis
d2b2ac0d51
GESTimeline: remove layers before removing tracks in dispose ()
2010-11-27 17:13:39 +01:00
Edward Hervey
da806759d1
Timeline: Remove unneeded variable
2010-11-25 14:02:26 +01:00
Edward Hervey
da977c5565
TimelineObject: Forgot a break in a switch/case
2010-11-25 14:01:15 +01:00
Edward Hervey
ab0493418a
GESTimelinePipeline: Make sure playsink events are sent to all incoming streams
...
PlaySink will not send seek events to all incoming streams since it assumes that
they all come from the same source (like a file).
When used with multiple gnonlin compositions we need to make sure those seek events
are sent to all of them.
2010-11-23 18:24:38 +01:00
Edward Hervey
f8e6955459
GesTrackVideoTransition: Prefer videomixer2 to videomixer
...
If present
2010-11-14 11:58:10 +01:00
Edward Hervey
9718bf1f1f
GESTimeline: Change for updated GstDiscoverer API
2010-11-04 12:28:46 +01:00
Edward Hervey
a5382931d2
Add gstvideo in build dependencies
2010-09-28 16:34:53 +02:00
Edward Hervey
6364e8ec2c
all: Changes for discoverer being merged upstream
...
Along with a whole bunch of Makefile fixups
2010-09-23 18:42:48 +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
Brandon Lewis
6e844f877f
layer is also invalid when there are transitoins at the beginning/end
2010-09-02 18:08:43 +02:00
Brandon Lewis
03e488ac74
add vaid property and unit tests
2010-09-02 18:08:43 +02:00
Brandon Lewis
719c2ad0a5
add doc comment for object-moved signal
2010-09-02 18:08:43 +02:00
Brandon Lewis
cd9ad5302e
add object-moved signal to simple timeline layer
2010-09-02 18:08:43 +02:00
Edward Hervey
c3d98ca5ea
GESTrackObject: Fix debug statement
2010-09-02 17:55:20 +02:00
Edward Hervey
f6d0de047a
GESTimelineFileSource: Don't leak strings
2010-09-01 17:04:26 +02:00
Brandon Lewis
2f07308cd9
deactivate overlay when no text is present
2010-09-01 16:56:04 +02:00
Brandon Lewis
1052532f5a
expose text, font-desc, and alignment properties in GESTimelineSource
2010-09-01 16:56:04 +02:00
Brandon Lewis
ba00ee2bfd
fix typo in docstring
2010-09-01 16:56:04 +02:00
Brandon Lewis
dd6f39594a
add conversion elements to TrackTextOverlay
2010-09-01 16:56:04 +02:00
Brandon Lewis
eb3be94578
tweak gstl recalculate: cur track object sets priority for next transition
2010-09-01 16:56:03 +02:00
Brandon Lewis
3b1a0d756d
add type argument to ges_timeline_object_find_track_objects()
2010-09-01 16:56:03 +02:00
Brandon Lewis
420badca90
don't add the same track object twice
2010-09-01 16:56:03 +02:00
Brandon Lewis
e6b24d8749
check for proper instance type in _set_* functions
2010-09-01 16:56:03 +02:00
Brandon Lewis
c4ac72dedb
fix documentation comment
2010-09-01 16:56:03 +02:00
Brandon Lewis
1966efd927
create a text overlay with default text for every TimelineSource
2010-09-01 16:56:03 +02:00
Brandon Lewis
efbc4a22cd
increase default priority offset for sources; update unit tests
2010-09-01 16:56:03 +02:00
Brandon Lewis
0e07ea40f7
move this commit down where it belongs
2010-09-01 16:56:03 +02:00
Brandon Lewis
4683b042f6
override create_track_objects (plural) in TimelineSource
2010-09-01 16:56:03 +02:00
Brandon Lewis
a9c3628b5a
update height when track object priority offset changes
2010-09-01 16:56:02 +02:00
Brandon Lewis
6667956ceb
reword priority documentation comments
2010-09-01 16:56:02 +02:00
Brandon Lewis
6c6d4911cd
use object height in gstl recalcuate
2010-09-01 16:56:02 +02:00
Brandon Lewis
93936321da
initialize height to 1
2010-09-01 16:56:02 +02:00
Brandon Lewis
d92d922c52
add accessor macro
2010-09-01 16:56:02 +02:00
Brandon Lewis
b02cf5b34e
add height property
2010-09-01 16:56:02 +02:00
Brandon Lewis
ebdebc01ce
document timelineobject::priority
2010-09-01 16:56:02 +02:00
Brandon Lewis
572f7ab4da
expose priority-offset as a property
2010-09-01 16:56:02 +02:00
Brandon Lewis
03cf6c99b6
distinguish between base_priority, priority_offset, and gnl_priority
2010-09-01 16:56:02 +02:00
Brandon Lewis
03c1c76652
split timeline_object_add_track_object out of create_track_object
2010-09-01 16:56:02 +02:00
Brandon Lewis
cd7cefffa6
add create_track_objects
2010-09-01 16:56:01 +02:00
Brandon Lewis
dca01a3c0e
add create_track_objects declarations
2010-09-01 16:56:01 +02:00
Brandon Lewis
d6d7eb8398
call create_track_objects in timeline.c
2010-09-01 16:56:01 +02:00
Edward Hervey
e28da66ceb
GESTimelineTransition: Remove unneeded variable
2010-08-31 13:49:21 +02:00
Brandon Lewis
9c82a2841c
allow borders on still image videoscale
2010-08-13 11:50:31 +02:00
Brandon Lewis
c9eba54506
always support audio on still images
2010-08-13 11:50:31 +02:00
Brandon Lewis
4408354819
remove ffmpegcolorspace after freeze (see 626518)
2010-08-13 11:50:31 +02:00
Brandon Lewis
598d883d53
don't set max duration on still images
2010-08-13 11:50:31 +02:00
Brandon Lewis
e095df1bc7
implement still image sources
2010-08-13 11:50:30 +02:00
Brandon Lewis
49fbc0b6d6
naive implementation of still images (seems broken)
2010-08-13 11:50:30 +02:00
Brandon Lewis
fe54413811
create GESTrackAudioTestSource for audio tracks when is-image is true
2010-08-13 11:50:30 +02:00
Brandon Lewis
56c26dd853
set 'is-image' property true when source has an image stream type
2010-08-13 11:50:30 +02:00
Brandon Lewis
f9bb4b274c
create image sources when is_image is set to true
2010-08-13 11:50:30 +02:00
Brandon Lewis
e38cf5a3ad
Add "is-image" property to GESTimelineFileSource
2010-08-13 11:50:30 +02:00
Brandon Lewis
9ba833c127
check in GESTrackImageSource
2010-08-13 11:50:30 +02:00
Edward Hervey
997e0287f9
ges: Also dist the generated files
2010-08-05 12:19:32 +02:00
Edward Hervey
f4245ed133
marshal: Fix typo in the Makefile that prevented marshal .c being built
2010-08-05 11:40:49 +02:00
Brandon Lewis
98298c00e5
link to the right sink pad on textoverlay object
2010-07-23 18:22:31 +02:00
Brandon Lewis
295d177d12
fwrite doesn't return the number of bytes written. check that fwrite is
...
non-zero and that ferror() isn't set instead.
2010-07-16 18:54:49 +02:00
Brandon Lewis
de54e7a312
don't plug encoders when raw caps are given
2010-07-16 18:54:48 +02:00
Brandon Lewis
085a4c4804
ges_caps_set_simple was being called incorrectly
2010-07-16 18:18:03 +02:00
Edward Hervey
6cc48991d6
ges: Don't forget to dist ges-timeline-overlay.h
2010-07-16 18:02:25 +02:00
Edward Hervey
fc62bc7518
TimelinePipeline: Make sure fwrite completes successfully
2010-07-16 17:29:05 +02:00
Brandon Lewis
bde192be3d
add routine to save a thumbnail in the specified encoding
2010-07-16 17:22:19 +02:00
Brandon Lewis
74c58d9cdf
add todo item
2010-07-16 17:22:19 +02:00
Brandon Lewis
0a548ffad9
factor encoder-finding code into separate function
2010-07-16 17:22:19 +02:00
Brandon Lewis
f487fe3fb8
use gstprofile to plug an encoder and encode the current frame
2010-07-16 17:22:18 +02:00
Brandon Lewis
70a040f760
add methods to retreive the current frame as a thumbnail
2010-07-16 17:22:18 +02:00
Brandon Lewis
f8c7b00a0f
duplicate code from gstscreenshot.{c,h} and gstplaysink.{c,h}
2010-07-16 17:22:18 +02:00
Edward Hervey
df36ccabb9
GESTimelinePipeline: Use smartencoder feature from encodebin
2010-07-15 12:09:26 +02:00
Edward Hervey
b158c59202
GES: Switch to new fast pad linking
2010-07-14 13:29:23 +02:00
Brandon Lewis
66745d0695
Don't expose test source enum value table
2010-07-09 13:27:01 +02:00
Brandon Lewis
318abee5fb
don't expose transition enum value table
2010-07-09 13:21:18 +02:00
Brandon Lewis
f64bc157bc
use gtype to get the enum value for the nick
2010-07-09 13:21:18 +02:00
Brandon Lewis
770a16f5ce
check whether setting vtype property actually succeeds
2010-07-09 13:21:18 +02:00
Brandon Lewis
33449efcd7
initialize transitions to type _TRANSITION_TYPE_NONE
2010-07-09 13:21:18 +02:00
Brandon Lewis
de8238031b
add new invalid enum type
2010-07-09 13:21:18 +02:00
Brandon Lewis
4cd9fd5006
refactor duration_changed method as this is now a TrackObjectClass method
2010-07-09 13:21:18 +02:00
Brandon Lewis
847052077e
remove notify::duration signal handler
2010-07-09 13:21:18 +02:00
Brandon Lewis
fee9f7fb67
add track object virtual methods for property change notifications
2010-07-09 13:21:18 +02:00
Brandon Lewis
b13bf26795
remove unneeded assertions
2010-07-09 13:21:18 +02:00
Brandon Lewis
31ffb87dde
remove unneeded _new methods on certain base classes
2010-07-09 13:21:18 +02:00
Edward Hervey
919076f892
TrackTransition: Don't return anything for unhandled tracks
2010-07-09 13:21:18 +02:00
Edward Hervey
b30a85117c
TrackTransition: Remove second argument from duration_changed vmethod
...
And get properties directly from parent classes instead
2010-07-09 13:21:17 +02:00
Edward Hervey
f107a01ede
GES: whitespace fixes
2010-07-09 13:21:17 +02:00
Edward Hervey
8c8aa7393c
GES: Simplify loops
2010-07-09 13:21:17 +02:00
Edward Hervey
11bd040ff1
GES: Remove un-needed branches
...
res it initialized to NULL
2010-07-09 13:21:17 +02:00
Edward Hervey
066ff4a9de
GES: Fix initialization values
2010-07-09 13:21:17 +02:00
Edward Hervey
4708fbb4ca
GES: Remove useless variables
2010-07-09 13:21:17 +02:00
Edward Hervey
8da8dda41f
GES: Fix function prototypes
2010-07-09 13:21:17 +02:00
Edward Hervey
714a1025d6
TimelineTestSource: Set freq/volume whether mute or not
2010-07-09 13:21:17 +02:00
Edward Hervey
5a58ef53b4
TimelineOverlay: Fix doc
2010-07-09 13:21:17 +02:00
Edward Hervey
9fa220c0c0
TrackVideoTransition: Avoid switching from crossfade to other types
...
This now exposes a bug in the TimelineTransition, since it will have
a transition type different from its track objects.
2010-07-09 13:21:17 +02:00
Edward Hervey
f3c0d88e79
SimpleTimelineLayer: Fix top-level doc
2010-07-09 13:21:17 +02:00
Edward Hervey
d8d1e95952
TimelineLayer: Document _set_priority
2010-07-09 13:21:17 +02:00
Edward Hervey
c0e21a4a69
TrackVideoTransition: Use proper transition type
2010-07-09 13:21:17 +02:00
Edward Hervey
6dfc14b3e6
utils: Document timeline_new_audio_video
2010-07-09 13:21:16 +02:00
Brandon Lewis
7190943ddb
make type field of video transition private
2010-07-09 13:21:16 +02:00
Brandon Lewis
5f3ef42e96
another massive documentation update
2010-07-09 13:21:16 +02:00
Brandon Lewis
12a2d3b3fe
expose freq and volume props in GESTimelineTestSource
2010-07-09 13:21:16 +02:00
Brandon Lewis
fd7f9ac12f
add routines to AudioTestSource to set freq and volume
2010-07-09 13:21:16 +02:00
Brandon Lewis
dcc0413945
remove 'mute' property from GESTimelineTextOverlay
2010-07-09 13:21:16 +02:00
Brandon Lewis
e4e800da50
fix incorrect type name strings
2010-07-09 13:21:16 +02:00
Brandon Lewis
9f71c1ff8c
convert rest of code to use GESVideoTestPattern
2010-07-09 13:21:16 +02:00
Brandon Lewis
e73c98630e
add GESVideoTestPattern enum
2010-07-09 13:21:16 +02:00
Brandon Lewis
ec803b0815
make sure to set properties on new track objects
2010-07-09 13:21:16 +02:00
Brandon Lewis
e588daf078
replace existing text position enums
2010-07-09 13:21:16 +02:00
Brandon Lewis
2bb344635b
replace existing text position enums
2010-07-09 13:21:15 +02:00
Brandon Lewis
52bec51bff
add text positioning enums
2010-07-09 13:21:15 +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
babd78dbcd
move track type enum to ges-enums.{h,c}
2010-07-09 13:21:15 +02:00
Brandon Lewis
b25befe29a
check in skeletal ges-enums.{c,h}
2010-07-09 13:21:15 +02:00
Brandon Lewis
aec1fbd88c
massive documentation updates
2010-07-09 13:21:15 +02:00
Brandon Lewis
aafd4d095a
GESTimelineTextOverlay inherits from GESTimelineOverlay
2010-07-09 13:21:15 +02:00
Brandon Lewis
948dd9417a
check in emtpy GESTimelineOverlay class
2010-07-09 13:21:15 +02:00
Brandon Lewis
521df03ddd
GESTimelineOverlay -> GESTimelineTextOverlay
2010-07-09 13:21:15 +02:00
Brandon Lewis
e3718b4213
GESTimelineBackgroundSource -> GESTimelineTestSource
2010-07-09 13:21:15 +02:00
Brandon Lewis
1e7c1fa450
GESTrackAudioBackgroundSource -> GESTrackAudioTestSource
2010-07-09 13:21:14 +02:00
Brandon Lewis
ae8d9b1544
GESTrackVideoBackgroundSource -> GESTrackVideoTestSource
2010-07-09 13:21:14 +02:00
Brandon Lewis
890bbb084e
GESTrackVideoOverlay -> GESTrackTextOverlay
2010-07-09 13:21:14 +02:00
Brandon Lewis
e134f1a5c9
remove GESTrackOverlay
2010-07-09 13:21:14 +02:00
Brandon Lewis
fc23c1f040
GESTrackVideoOverlay inherits directly from GESTrackOperation
2010-07-09 13:21:14 +02:00
Brandon Lewis
a4210a1ea4
check in GESTrackOperation
2010-07-09 13:21:14 +02:00
Brandon Lewis
6d2282ae58
documentation fixes
2010-07-09 13:21:14 +02:00
Brandon Lewis
526e37589b
GESTrackVideoTitleSource -> GESTrackTitleSource
2010-07-09 13:21:14 +02:00
Brandon Lewis
44781f9e39
remove GESTrackTitleSource
2010-07-09 13:21:14 +02:00
Brandon Lewis
4aff8e0c9d
fix doc comments
2010-07-09 13:21:14 +02:00
Brandon Lewis
9d310cf3ee
GESTrackVideoTitleSource inherits directly from GESTrackObject
2010-07-09 13:21:14 +02:00
Brandon Lewis
1ada78f700
remove GESTrackBackgroundSource class
2010-07-09 13:21:14 +02:00
Brandon Lewis
44379e805c
GESTrackAudioBackgroundSource inherits from GESTrackSource
2010-07-09 13:21:13 +02:00
Brandon Lewis
891826fdec
GESTrackVideoBackgroundSource inherits directly from track object
2010-07-09 13:21:13 +02:00
Brandon Lewis
71df7618e0
move create_element virtual method up to TimelineSource class
2010-07-09 13:21:13 +02:00
Brandon Lewis
cc53dfb062
remove GESTrackAudioTitleSource
2010-07-09 13:21:13 +02:00
Brandon Lewis
23a3bbb80f
create test track object instead of audio-title-source
2010-07-09 13:21:13 +02:00
Brandon Lewis
560956ed24
keep track of and release request pads for smpte also
2010-07-09 13:21:13 +02:00
Brandon Lewis
0d4ff040d2
free mixer in dispose separately from sink pads
2010-07-09 13:21:13 +02:00
Brandon Lewis
7b72e81d5a
don't forget to unref pad targets
2010-07-09 13:21:12 +02:00
Brandon Lewis
ac500472f0
rough overlay implementation
2010-07-09 13:21:12 +02:00
Brandon Lewis
bcc63cd637
activate property setting functions
2010-07-09 13:21:12 +02:00
Brandon Lewis
577ad52020
add video overlays to main header
2010-07-09 13:21:12 +02:00
Brandon Lewis
734d95bfb8
create timeline-overly creates appropriate track object
2010-07-09 13:21:12 +02:00
Brandon Lewis
076c610f80
check in GESTrackVideoOverlay
2010-07-09 13:21:12 +02:00
Brandon Lewis
dd631dbf28
check in ges-track-overlay.{c,h}
2010-07-09 13:21:12 +02:00
Brandon Lewis
586530eba0
check in timelineoverlay, structural copy of GESTimelineTitleSource
2010-07-09 13:21:12 +02:00
Brandon Lewis
b629c98f0b
update doc comment
2010-07-09 13:21:12 +02:00
Brandon Lewis
1723659704
remove unneeded paramenter to create_element
2010-07-09 13:21:12 +02:00
Brandon Lewis
e4c7d0bbcd
push struct fields down to VideoTransition
2010-07-09 13:21:11 +02:00
Brandon Lewis
fa98f4cc09
push make_video_bin() down into subclass
2010-07-09 13:21:11 +02:00
Brandon Lewis
6574f0146f
push relevant struct fields into AudioTransition
2010-07-09 13:21:11 +02:00
Brandon Lewis
b3d0c3e6b1
push make_audio_bin down into subclass
2010-07-09 13:21:11 +02:00
Brandon Lewis
a1734962e2
add duration_changed virtual method to GESTrackTransition
2010-07-09 13:21:11 +02:00
Brandon Lewis
2146e4a9af
add create_element vmethod to GESTrackTransition
2010-07-09 13:21:11 +02:00
Brandon Lewis
622f0d7718
create transition subtype according to track type
2010-07-09 13:21:11 +02:00
Brandon Lewis
071ea8fb26
check in GESTrackVideoTransition, empty subclass of TrackTransition
2010-07-09 13:21:11 +02:00
Brandon Lewis
b2d36e8d9f
check in GESTrackAudioTransition, empyt subclass of TrackTransition
2010-07-09 13:21:11 +02:00
Brandon Lewis
eb96fafc65
fix header file param names
2010-07-09 13:21:11 +02:00
Brandon Lewis
da566f9521
fix stupid copy/paste typo
2010-07-09 13:21:10 +02:00
Brandon Lewis
e417c4c656
free existing strings before assigning new ones
2010-07-09 13:21:10 +02:00
Brandon Lewis
aa19ff62ec
implement {h,v}alignment property for timeline titles
2010-07-09 13:21:10 +02:00
Brandon Lewis
08d94f7e38
add ..._set_{h,v}alignment() methods to video titles
2010-07-09 13:21:10 +02:00
Brandon Lewis
c0f0d6f5f4
add font-desc property to TimelineTitleSource
2010-07-09 13:21:10 +02:00
Brandon Lewis
bae04feef4
add ...set_font_desc() method to VideoTitleSource
2010-07-09 13:21:10 +02:00
Brandon Lewis
ac31f1ab4d
set black background on titles by default
2010-07-09 13:21:10 +02:00
Brandon Lewis
1c27454a80
have timeline title source create audio title sources
2010-07-09 13:21:10 +02:00
Brandon Lewis
7da9439668
check in ges-track-audio-title-source.{c,h}
2010-07-09 13:21:10 +02:00
Brandon Lewis
43583aaa16
don't forget to check for null
2010-07-09 13:21:09 +02:00
Brandon Lewis
6f49bdd90c
set text on video track objects when text property changes
2010-07-09 13:21:09 +02:00
Brandon Lewis
ce3300dfa8
implement ges_timeline_title_source_create_track_object
2010-07-09 13:21:09 +02:00
Brandon Lewis
6f906db0b9
remove trailing '$' accidentally pasted
2010-07-09 13:21:09 +02:00
Brandon Lewis
0dac374785
these should have been checked in before
2010-07-09 13:21:09 +02:00
Brandon Lewis
643bcb7bcc
add text property to GESTimelineTitleSource
2010-07-09 13:21:09 +02:00
Brandon Lewis
b0358d5da1
massive update to doc comments
2010-07-09 13:21:09 +02:00
Brandon Lewis
709332ef09
remove the zone plate and gamut enum values
2010-07-09 13:21:09 +02:00
Brandon Lewis
f804f09845
check in skeletal GESTrackVideoTitleSource
2010-07-09 13:21:09 +02:00
Brandon Lewis
a9be66a91a
check in skeletal GESTrackTitleSource
2010-07-09 13:21:09 +02:00
Brandon Lewis
3ed3fc87b7
check in sekeletal GESTimelineTitleSource
2010-07-09 13:21:08 +02:00
Brandon Lewis
efb7524a0a
test vpatern property in unit tests
2010-07-09 13:21:08 +02:00
Brandon Lewis
d48c10c026
make audio background-sources output silence
2010-07-09 13:21:08 +02:00
Brandon Lewis
7370d3ab7c
don't initialize vpattern field
2010-07-09 13:21:08 +02:00
Brandon Lewis
2d022c8886
implement ges_timeline_background_source_new_for_nick()
2010-07-09 13:21:08 +02:00
Brandon Lewis
fcab9fa0b3
move enum table into file scope
2010-07-09 13:21:08 +02:00
Brandon Lewis
cf99d81a51
set pattern on newly-created video track objects
2010-07-09 13:21:08 +02:00
Brandon Lewis
532e2884a3
implement vpattern gobject property of tl background source
2010-07-09 13:21:08 +02:00
Brandon Lewis
20bb7c73b8
add big blob of pattern enum values copied from videotestsrc
2010-07-09 13:21:08 +02:00
Brandon Lewis
8019f805db
add vpattern field to GESTimelineBackground source
2010-07-09 13:21:07 +02:00
Brandon Lewis
12437967ba
implement setting pattern on video background sources
2010-07-09 13:21:07 +02:00
Brandon Lewis
2a351841cc
add routines to set track object pattern
2010-07-09 13:21:07 +02:00
Brandon Lewis
5e39898c1a
add enum for video patterns
2010-07-09 13:21:07 +02:00
Brandon Lewis
f371d2c83e
implment GESTimelineBackground source create_track_object
2010-07-09 13:21:07 +02:00
Brandon Lewis
8a6bef074b
add audio background source to build system
2010-07-09 13:21:07 +02:00
Brandon Lewis
88175b790a
add audio background source to types.h
2010-07-09 13:21:07 +02:00
Brandon Lewis
3c47729062
check in audio background source
2010-07-09 13:21:07 +02:00
Brandon Lewis
8b10e0c065
add ges video-track background to build system
2010-07-09 13:21:07 +02:00
Brandon Lewis
ae5d0de868
check in ges-track-video-background-source.{c,h}
2010-07-09 13:21:07 +02:00
Brandon Lewis
bdee21579b
add GESTrackBackgroundSource to build system
2010-07-09 13:21:07 +02:00
Brandon Lewis
77a16602c6
add track background source to header
2010-07-09 13:21:07 +02:00
Brandon Lewis
22707643b0
add track background source to ges-types.h
2010-07-09 13:21:06 +02:00
Brandon Lewis
73ca491f0e
check in GESTrackBackgroundSource
2010-07-09 13:21:06 +02:00
Brandon Lewis
323cc10942
add GESTimelineBackgroundSource to build system
2010-07-09 13:21:06 +02:00
Brandon Lewis
4ab734edf0
add timeline background source to header
2010-07-09 13:21:06 +02:00
Brandon Lewis
33a9610cd0
check in ges-timeline-background-source.{c,h}
2010-07-09 13:21:06 +02:00
Edward Hervey
097647e97a
GESTimelinePipeline: Fix leaked caps
2010-06-28 17:08:08 +02:00
Edward Hervey
be8cbdb4a1
GESTimelinePipeline: unref all pads
2010-06-21 11:54:01 +02:00
Edward Hervey
575c4865a0
GESTimelinePipeline: Make a copy of the provided GstEncodingProfile
2010-06-21 11:53:30 +02:00
Edward Hervey
6fe60cb694
GESTimelinePipeline: Properly release playsink and encodebin
2010-06-21 11:52:49 +02:00
Edward Hervey
87087b013a
GESTimelinePipeline: finalize => dispose
...
We want to release our objects before the parent GstBin class does so.
2010-06-21 11:52:01 +02:00
Edward Hervey
45febdebe1
GESTrackTransition: Release all pads.
...
Whether calling get_request_pad or get_static_pad we always end up
with an extra reference.
Also keep a reference on videomixer so it doesn't go away before we
call _release_request_pad() on it with the proper pads to release.
2010-06-14 19:40:50 +02:00
Brandon Lewis
03b299ecdb
release the request pads in dispose
2010-06-10 16:25:34 +02:00
Brandon Lewis
19c8bbfd3f
don't keep an extra reference to vsmpte
2010-06-10 16:14:20 +02:00
Brandon Lewis
462cd2b41f
gstl_recalculate() won't set priorities to -1
2010-06-09 18:56:55 +02:00
Brandon Lewis
73814e225d
ges/ges-track-transition.h: add missing function prototype
2010-06-09 17:13:13 +02:00
Brandon Lewis
edecee8def
ges/ges-utils.h: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
3e34e423a6
ges/ges-track.h: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
9b7c70c6c1
ges/ges-track.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
71df04a2f9
ges/ges-track-transition.c: C90 fixes
2010-06-09 16:34:14 +02:00
Brandon Lewis
8db7c7a48b
ges/ges-track-object.c: C90 fixes
2010-06-09 16:31:11 +02:00
Brandon Lewis
7a64a8c690
ges/ges-timeline-transition.c: C90 fixes
2010-06-09 16:30:48 +02:00
Brandon Lewis
250d0be3c4
ges/ges-timeline-object.c: C90 fixes
2010-06-09 16:30:16 +02:00
Brandon Lewis
1ec9238358
ges/ges-timeline-layer.c: C90 fixes
2010-06-09 16:29:26 +02:00
Brandon Lewis
06a8cc32a0
ges/ges-simple-timeline-layer.c: C90 fixes
2010-06-09 16:27:43 +02:00
Edward Hervey
ea55ceb747
GESTrackTransition: Fix debug statement
2010-06-09 13:53:07 +02:00
Edward Hervey
9eedf06b7b
GESTimeline: Remove all tracks/layers when being disposed
2010-06-09 13:52:35 +02:00
Edward Hervey
b6277bd8bb
GESTimelineLayer: Release all layer/tracks when being disposed
2010-06-09 13:52:08 +02:00
Brandon Lewis
f0fc253aa8
ges/ges-track-transition.c: set referece to vsmpte to NULL after freeing
2010-06-09 11:28:46 +02:00
Brandon Lewis
c7273608c7
ges/ges-track-transition.c: was freeing same GstController twice in _dispose()
2010-06-09 11:28:46 +02:00
Edward Hervey
5e2660b2c2
GESTrackTransition: Unref the ControlSource in dispose
2010-06-09 11:28:46 +02:00
Edward Hervey
4188c6fa97
ges: Initialize GstController in ges_init
2010-06-09 11:28:46 +02:00
Brandon Lewis
9d8ce82b61
ges/ges-simple-timeline-layer.c: print a warning when transitions overlap
2010-06-09 11:28:46 +02:00
Brandon Lewis
0608930b19
ges/ges-timeline-transition.c: can't set enums by nick
2010-06-09 11:28:46 +02:00
Brandon Lewis
221df1b880
ges/ges-timeline-transition.c: initialize vtype enum type from static list of
...
GEnumValues
2010-06-09 11:28:46 +02:00
Brandon Lewis
67c33dc65b
ges/ges-track-transition.c: adjust to the change in VTYPE_CROSSFADE
2010-06-09 11:28:10 +02:00
Brandon Lewis
adeef34c77
ges/ges-timeline-transition.{c,h}: value for VTYPE_CROSSFADE changed to 512
...
and exported in ges-timeline-transition.h
2010-06-09 11:28:10 +02:00
Brandon Lewis
2adbd8e36c
ges/ges-timeline-transition.c: implement vtype gobject property on
...
GESTimelineTransitions
2010-06-09 11:28:10 +02:00
Brandon Lewis
2f18595e6e
ges/ges-track-transition.{c,h}: add ability to change smptealpha type
2010-06-09 11:28:10 +02:00
Brandon Lewis
7beb6a5e5e
ges/ges-timeline-transition.{c,h}: api change, pass gint instead of GEnumValue
...
to new()
2010-06-09 11:28:10 +02:00
Brandon Lewis
22534176d8
ges/ges-timeline-transition.{c,h},tests/.../transition.c: type change of vtype
...
to gint from GEnumValue
2010-06-09 11:28:10 +02:00
Brandon Lewis
e69dcea71a
ges/ges-timeline-transition.c: sync with API change in previous commit
2010-06-09 11:28:10 +02:00
Brandon Lewis
3caed9bff4
ges/ges-track-transition.{c,h}: api change: pass gint instead of GEnumValue
2010-06-09 11:28:10 +02:00
Brandon Lewis
b3ec2bad19
ges/ges-track-transition.{c,h}, tests/check/ges/transition.c: change vtype
...
from GEnumValue to simple gint;
2010-06-09 11:28:10 +02:00
Brandon Lewis
d4c60b059d
ges/ges-track-filesource.h: fix typo in documentation commments
2010-06-09 11:28:09 +02:00
Brandon Lewis
bc291a986d
ges/ges-track-filesource.h: fix incorrect definition of GESTrackFileSource
...
structs.
2010-06-09 11:28:09 +02:00
Brandon Lewis
93534c0500
Add missing documentation
2010-06-09 11:28:09 +02:00
Brandon Lewis
812713cf2f
ges/ges-track-transition.c: implement audio crossfades
2010-06-09 11:28:09 +02:00
Brandon Lewis
79ebc389e0
ges/ges-track-transition.{c,h}: add fields for audio interpolation to obj
2010-06-09 11:28:09 +02:00
Brandon Lewis
542e8afb75
fix bugs
2010-06-09 11:28:09 +02:00
Brandon Lewis
07693f56f8
ges/ges-track-transition.{c,h}: rename some members of ges-track-transition
...
struct to separate between audio and video objects.
2010-06-09 11:28:09 +02:00
Brandon Lewis
280aef4f6e
ges/ges-track-transition.c: factor out code which produces video bin into a
...
seprate routine
2010-06-09 11:28:09 +02:00
Brandon Lewis
962a1d17d7
ges/ges-track-transition.c: give gnloperations a unique name
2010-06-09 11:28:09 +02:00
Brandon Lewis
899f4f35c5
ges/ges-simple-timeline-layer.c: also error when transition duration exceeds
...
that of its neighbors
2010-06-09 11:28:09 +02:00
Brandon Lewis
ae34d99867
ges/ges-simple-timeline-layer.c: don't allow user to create timelines with
...
adjacent transitions
2010-06-09 11:28:09 +02:00
Brandon Lewis
e5ae1405c8
ges/ges-simple-timeline-layer.c: implement simple stair-step like priority
...
management scheme.
2010-06-09 11:28:08 +02:00
Brandon Lewis
ff4443a9c6
ges/ges-timeline-transition.{c,h}: add convenience routine for creating
...
transitions
docs/libs/ges-sections.txt: add routine to documentation
2010-06-09 11:28:08 +02:00
Brandon Lewis
1d3d367e75
ges/ges-track-transition.{c,h}: add support for other wipes with smptealpha
2010-06-09 11:28:08 +02:00
Brandon Lewis
48eeb8d913
ges/ges-timeline-transition.{c,h}: add a type field
2010-06-09 11:28:08 +02:00
Brandon Lewis
998ae5af20
ges-track-transition.c: set interpolation control points properly from
...
gnlobject properties
2010-06-09 11:28:07 +02:00
Brandon Lewis
28f1acba81
ges-track-transition.c: GstControlSource -> GstInterpolationControlSource
2010-06-09 11:28:07 +02:00
Brandon Lewis
5afc67f3e5
ges-track-transition.c: create gst-controller for transition
2010-06-09 11:28:07 +02:00
Brandon Lewis
6728e4dd8d
ges-track-transition.c: add controller and control-source members
2010-06-09 11:28:07 +02:00
Brandon Lewis
e3549deec2
depend on GST_CONTROLLER
2010-06-09 11:28:07 +02:00
Brandon Lewis
c9a2f73579
hacking
2010-06-09 11:28:07 +02:00
Brandon Lewis
3cc23d98ea
ges/ges-types.h: add typedefs for GESTrackTransition[Class] structs
2010-06-09 11:28:07 +02:00
Brandon Lewis
eeae501a0a
ges-track-transition.h: fix typo
2010-06-09 11:28:07 +02:00
Brandon Lewis
b557a5e3bd
ges/Makefile.am: dist ges-track-transition.c,h
2010-06-09 11:28:07 +02:00
Brandon Lewis
7918bbec14
skeletal implementation of GESTrackTransition
2010-06-09 11:28:06 +02:00
Brandon Lewis
f42d7179d8
check-in ges-track-transition.h
2010-06-09 11:28:06 +02:00
Edward Hervey
8193fe5b4c
GESTimeline: Freeze state of Tracks when doing an async state change
2010-05-25 16:36:57 +02:00
Edward Hervey
3b8ea491d7
GES: Add a new utility file
...
API : ges_timeline_new_audio_video()
2010-05-25 16:35:27 +02:00
Edward Hervey
a17900813a
GESTimelinePipeline: Only remove the playsink if it was used
2010-05-20 12:29:30 +02:00
Edward Hervey
ed86ff2f51
GESTimeline: Remove unused variable
2010-05-19 15:50:41 +02:00
Edward Hervey
1bb45a61a6
GESTimeline: Use GstDiscoverer for incomplete filesources
...
If a GESTimelineFileSource is added to a layer and:
* It doesn't have specified supported formats
* OR it doesn't have a specified maximum duration
* OR it doesn't have a specifed duration
Then we asynchronously send it to the GstDiscoverer.
If this happens, the state change of the timeline from READY to
PAUSED will happen asynchronously and be completed when everything
has been properly discovered.
Part 2 of GstDiscoverer integration
2010-05-19 12:36:11 +02:00
Edward Hervey
eb4b02f3ed
GESTimelineFileSource: Add 'max-duration' and 'supported-formats' properties
...
* max-duration is the total length of the File.
* supported-formats is the various track types this filesource can produce
trackobjects for. This should maybe be moved to parent classes in the
future
Step 1 of GstDiscoverer integration
2010-05-19 12:24:44 +02:00
Edward Hervey
133e8ec94a
GESTimelineObject: Properly set default duration
...
Set it in the instance_init to GST_SECOND, But let the subclasses override
it.
This allows subclasses to set a different default duration
2010-05-19 12:19:37 +02:00
Edward Hervey
2df711cd60
GESSimpleTimelineLayer: Recalculate positions when object duration change
...
This ensures that if someone changes the duration, the clips still remain
contiguous and in the proper order.
2010-05-19 12:14:34 +02:00
Edward Hervey
6753d176d7
configure: Depend on gstreamer-discoverer
2010-05-18 19:07:27 +02:00
Edward Hervey
14a6a5f31d
GESTrack: Make GESTrackType a flag, and add GES_TRACK_TYPE_UNKNOWN
...
Also add a bit more documentation about it.
2010-05-18 17:43:28 +02:00
Edward Hervey
505030b1a7
GESTimelineObject: Document CreateTrackObjectFunc vmethod
2010-05-18 12:56:24 +02:00
Edward Hervey
fbc80b1955
GESTimelinePipeline: Fix 32bit runtime issues
2010-05-10 12:44:56 +02:00
Edward Hervey
e747ad4867
GESTimelinePipeline: Limit encodebin buffering to 1 buffer
...
We don't need to queue more than that since we only need thread decoupling
and the various streams going into encodebin are guaranteed to come
from different streaming threads (since they're separate gnlcomposition).
2010-05-07 13:37:33 +02:00
Edward Hervey
2b589d4d29
GESTimelinePipeline: Remove unused variable/label.
2010-04-27 11:45:15 +02:00
Edward Hervey
7aedc2bcfb
GESTimelinePipeline: Cleanup properly when pads are removed
2010-04-20 13:47:08 +02:00
Edward Hervey
d3c8b52c9c
GESTimelinePipeline: Implement smart rendering
2010-04-20 13:47:08 +02:00