platform/upstream/gstreamer.git
14 years agotests/check/ges/{simplelayer.c,transition.c}: update unit tests
Brandon Lewis [Thu, 3 Jun 2010 17:04:11 +0000 (19:04 +0200)]
tests/check/ges/{simplelayer.c,transition.c}: update unit tests

14 years agoges/ges-track-transition.c: adjust to the change in VTYPE_CROSSFADE
Brandon Lewis [Thu, 3 Jun 2010 17:02:58 +0000 (19:02 +0200)]
ges/ges-track-transition.c: adjust to the change in VTYPE_CROSSFADE

14 years agoges/ges-timeline-transition.{c,h}: value for VTYPE_CROSSFADE changed to 512
Brandon Lewis [Thu, 3 Jun 2010 17:01:21 +0000 (19:01 +0200)]
ges/ges-timeline-transition.{c,h}: value for VTYPE_CROSSFADE changed to 512
and exported in ges-timeline-transition.h

14 years agotests/check/ges/transition.c: test that changing timeline vtype sets trackobj
Brandon Lewis [Wed, 2 Jun 2010 16:58:14 +0000 (18:58 +0200)]
tests/check/ges/transition.c: test that changing timeline vtype sets trackobj
vtype

14 years agoges/ges-timeline-transition.c: implement vtype gobject property on
Brandon Lewis [Wed, 2 Jun 2010 16:57:10 +0000 (18:57 +0200)]
ges/ges-timeline-transition.c: implement vtype gobject property on
GESTimelineTransitions

14 years agoges/ges-track-transition.{c,h}: add ability to change smptealpha type
Brandon Lewis [Wed, 2 Jun 2010 16:55:52 +0000 (18:55 +0200)]
ges/ges-track-transition.{c,h}: add ability to change smptealpha type

14 years agotests/check/ges/{simplelayer.c,tests/check/ges/transition.c}: sync with
Brandon Lewis [Wed, 2 Jun 2010 14:52:02 +0000 (16:52 +0200)]
tests/check/ges/{simplelayer.c,tests/check/ges/transition.c}: sync with
previous api change

14 years agoges/ges-timeline-transition.{c,h}: api change, pass gint instead of GEnumValue
Brandon Lewis [Wed, 2 Jun 2010 14:50:07 +0000 (16:50 +0200)]
ges/ges-timeline-transition.{c,h}: api change, pass gint instead of GEnumValue
to new()

14 years agoges/ges-timeline-transition.{c,h},tests/.../transition.c: type change of vtype
Brandon Lewis [Wed, 2 Jun 2010 14:43:10 +0000 (16:43 +0200)]
ges/ges-timeline-transition.{c,h},tests/.../transition.c: type change of vtype
to gint from GEnumValue

14 years agoges/ges-timeline-transition.c: sync with API change in previous commit
Brandon Lewis [Wed, 2 Jun 2010 14:35:57 +0000 (16:35 +0200)]
ges/ges-timeline-transition.c: sync with API change in previous commit

14 years agoges/ges-track-transition.{c,h}: api change: pass gint instead of GEnumValue
Brandon Lewis [Wed, 2 Jun 2010 14:27:58 +0000 (16:27 +0200)]
ges/ges-track-transition.{c,h}: api change: pass gint instead of GEnumValue

14 years agoges/ges-track-transition.{c,h}, tests/check/ges/transition.c: change vtype
Brandon Lewis [Wed, 2 Jun 2010 13:18:55 +0000 (15:18 +0200)]
ges/ges-track-transition.{c,h}, tests/check/ges/transition.c: change vtype
from GEnumValue to simple gint;

14 years agotests/check/ges/transition.c: make sure unit tests work properly
Brandon Lewis [Wed, 2 Jun 2010 11:50:06 +0000 (13:50 +0200)]
tests/check/ges/transition.c: make sure unit tests work properly

14 years agotests/check/ges/transition.c: oops, unit tests using wrong api
Brandon Lewis [Wed, 2 Jun 2010 11:20:09 +0000 (13:20 +0200)]
tests/check/ges/transition.c: oops, unit tests using wrong api

14 years agotests/check/Makefile.am: add transition unit tests to make check
Brandon Lewis [Wed, 2 Jun 2010 10:46:05 +0000 (12:46 +0200)]
tests/check/Makefile.am: add transition unit tests to make check

14 years agotests/check/ges/transition.c: check in transition unit tests
Brandon Lewis [Wed, 2 Jun 2010 10:34:57 +0000 (12:34 +0200)]
tests/check/ges/transition.c: check in transition unit tests

14 years agoges/ges-track-filesource.h: fix typo in documentation commments
Brandon Lewis [Tue, 1 Jun 2010 11:22:05 +0000 (13:22 +0200)]
ges/ges-track-filesource.h: fix typo in documentation commments

14 years agoges/ges-track-filesource.h: fix incorrect definition of GESTrackFileSource
Brandon Lewis [Tue, 1 Jun 2010 09:57:42 +0000 (11:57 +0200)]
ges/ges-track-filesource.h: fix incorrect definition of GESTrackFileSource
structs.

14 years agoAdd missing documentation
Brandon Lewis [Mon, 31 May 2010 16:59:12 +0000 (18:59 +0200)]
Add missing documentation

14 years agotests/check/ges/{simplelayer.c,transition.c}: create audio tracks in demos
Brandon Lewis [Mon, 31 May 2010 13:42:23 +0000 (15:42 +0200)]
tests/check/ges/{simplelayer.c,transition.c}: create audio tracks in demos

14 years agoges/ges-track-transition.c: implement audio crossfades
Brandon Lewis [Mon, 31 May 2010 13:40:52 +0000 (15:40 +0200)]
ges/ges-track-transition.c: implement audio crossfades

14 years agoges/ges-track-transition.{c,h}: add fields for audio interpolation to obj
Brandon Lewis [Mon, 31 May 2010 13:38:14 +0000 (15:38 +0200)]
ges/ges-track-transition.{c,h}: add fields for audio interpolation to obj

14 years agofix bugs
Brandon Lewis [Fri, 28 May 2010 09:42:29 +0000 (11:42 +0200)]
fix bugs

14 years agoges/ges-track-transition.{c,h}: rename some members of ges-track-transition
Brandon Lewis [Fri, 28 May 2010 01:02:49 +0000 (03:02 +0200)]
ges/ges-track-transition.{c,h}: rename some members of ges-track-transition
struct to separate between audio and video objects.

14 years agoges/ges-track-transition.c: factor out code which produces video bin into a
Brandon Lewis [Fri, 28 May 2010 00:31:42 +0000 (02:31 +0200)]
ges/ges-track-transition.c: factor out code which produces video bin into a
seprate routine

14 years agotests/examples/playlist.c: make audio stream of audiotestsrc silent (it's much
Brandon Lewis [Thu, 27 May 2010 22:19:24 +0000 (00:19 +0200)]
tests/examples/playlist.c: make audio stream of audiotestsrc silent (it's much
less annoying).

14 years agotests/examples/playlist.c: fix inappropriate down-casts in playlist.py
Brandon Lewis [Thu, 27 May 2010 22:16:28 +0000 (00:16 +0200)]
tests/examples/playlist.c: fix inappropriate down-casts in playlist.py

14 years agoges/ges-track-transition.c: give gnloperations a unique name
Brandon Lewis [Thu, 27 May 2010 22:12:45 +0000 (00:12 +0200)]
ges/ges-track-transition.c: give gnloperations a unique name

14 years agoges/ges-simple-timeline-layer.c: also error when transition duration exceeds
Brandon Lewis [Thu, 27 May 2010 22:11:51 +0000 (00:11 +0200)]
ges/ges-simple-timeline-layer.c: also error when transition duration exceeds
that of its neighbors

14 years agoges/ges-simple-timeline-layer.c: don't allow user to create timelines with
Brandon Lewis [Thu, 27 May 2010 21:37:11 +0000 (23:37 +0200)]
ges/ges-simple-timeline-layer.c: don't allow user to create timelines with
adjacent transitions

14 years agoges/ges-simple-timeline-layer.c: implement simple stair-step like priority
Brandon Lewis [Thu, 27 May 2010 21:36:10 +0000 (23:36 +0200)]
ges/ges-simple-timeline-layer.c: implement simple stair-step like priority
management scheme.

14 years agotests/check/ges/simplelayer.c: check in massive unit test case for GSTL with
Brandon Lewis [Thu, 27 May 2010 21:10:04 +0000 (23:10 +0200)]
tests/check/ges/simplelayer.c: check in massive unit test case for GSTL with
transitions

14 years agotests/examples/playlist.c: add transitions to playlist example
Brandon Lewis [Thu, 27 May 2010 10:06:00 +0000 (12:06 +0200)]
tests/examples/playlist.c: add transitions to playlist example

14 years agotests/examples/transition.c: use ges_timeline_transition_new_from_nick()
Brandon Lewis [Thu, 27 May 2010 10:04:05 +0000 (12:04 +0200)]
tests/examples/transition.c: use ges_timeline_transition_new_from_nick()

14 years agoges/ges-timeline-transition.{c,h}: add convenience routine for creating
Brandon Lewis [Thu, 27 May 2010 10:02:10 +0000 (12:02 +0200)]
ges/ges-timeline-transition.{c,h}: add convenience routine for creating
transitions
docs/libs/ges-sections.txt: add routine to documentation

14 years agotests/examples/playlist.c: re-work pattern command line syntax
Brandon Lewis [Wed, 26 May 2010 16:19:41 +0000 (18:19 +0200)]
tests/examples/playlist.c: re-work pattern command line syntax

14 years agoests/examples/transition.c: create transition with specified type
Brandon Lewis [Wed, 26 May 2010 14:57:59 +0000 (16:57 +0200)]
ests/examples/transition.c: create transition with specified type

14 years agoges/ges-track-transition.{c,h}: add support for other wipes with smptealpha
Brandon Lewis [Wed, 26 May 2010 14:36:24 +0000 (16:36 +0200)]
ges/ges-track-transition.{c,h}: add support for other wipes with smptealpha

14 years agoges/ges-timeline-transition.{c,h}: add a type field
Brandon Lewis [Wed, 26 May 2010 14:33:44 +0000 (16:33 +0200)]
ges/ges-timeline-transition.{c,h}: add a type field

14 years agotests/examples/transition.c: pass transition type to make_timeline
Brandon Lewis [Wed, 26 May 2010 11:27:46 +0000 (13:27 +0200)]
tests/examples/transition.c: pass transition type to make_timeline

14 years agotests/examples/transition.c: make -t option work with values supported by
Brandon Lewis [Wed, 26 May 2010 11:05:18 +0000 (13:05 +0200)]
tests/examples/transition.c: make -t option work with values supported by
smpte + "crossfade"

14 years agotests/examples/transition.c: add routines for identifying transitions
Brandon Lewis [Wed, 26 May 2010 11:04:06 +0000 (13:04 +0200)]
tests/examples/transition.c: add routines for identifying transitions

14 years agotests/examples/transition.c: split out "make_timeline" into separate routine
Brandon Lewis [Wed, 26 May 2010 09:38:19 +0000 (11:38 +0200)]
tests/examples/transition.c: split out "make_timeline" into separate routine

14 years agotests/examples/transition.c: remove some cruft from transition example
Brandon Lewis [Wed, 26 May 2010 08:48:13 +0000 (10:48 +0200)]
tests/examples/transition.c: remove some cruft from transition example

14 years agotests/examples/transition.c: print values in seconds not nseconds
Brandon Lewis [Tue, 25 May 2010 17:10:27 +0000 (19:10 +0200)]
tests/examples/transition.c: print values in seconds not nseconds

14 years agoges-track-transition.c: set interpolation control points properly from
Brandon Lewis [Tue, 25 May 2010 17:07:21 +0000 (19:07 +0200)]
ges-track-transition.c: set interpolation control points properly from
gnlobject properties

14 years agoges-track-transition.c: GstControlSource -> GstInterpolationControlSource
Brandon Lewis [Tue, 25 May 2010 17:06:10 +0000 (19:06 +0200)]
ges-track-transition.c: GstControlSource -> GstInterpolationControlSource

14 years agotests/examples/transition.c: cast arguments to g_object_set
Brandon Lewis [Tue, 25 May 2010 14:44:58 +0000 (16:44 +0200)]
tests/examples/transition.c: cast arguments to g_object_set

14 years agoges-track-transition.c: create gst-controller for transition
Brandon Lewis [Tue, 25 May 2010 14:42:47 +0000 (16:42 +0200)]
ges-track-transition.c: create gst-controller for transition

14 years agoges-track-transition.c: add controller and control-source members
Brandon Lewis [Tue, 25 May 2010 14:41:53 +0000 (16:41 +0200)]
ges-track-transition.c: add controller and control-source members

14 years agodepend on GST_CONTROLLER
Brandon Lewis [Tue, 25 May 2010 14:35:16 +0000 (16:35 +0200)]
depend on GST_CONTROLLER

14 years agohacking
Brandon Lewis [Tue, 25 May 2010 11:44:57 +0000 (13:44 +0200)]
hacking

14 years agotests/examples/transition.c: create transition when duration > 0
Brandon Lewis [Mon, 24 May 2010 15:51:31 +0000 (17:51 +0200)]
tests/examples/transition.c: create transition when duration > 0

14 years agodist transition.c
Brandon Lewis [Mon, 24 May 2010 15:39:45 +0000 (17:39 +0200)]
dist transition.c

14 years agocheck in single transition demo
Brandon Lewis [Mon, 24 May 2010 15:39:07 +0000 (17:39 +0200)]
check in single transition demo

14 years agoges/ges-types.h: add typedefs for GESTrackTransition[Class] structs
Brandon Lewis [Mon, 24 May 2010 12:58:55 +0000 (14:58 +0200)]
ges/ges-types.h: add typedefs for GESTrackTransition[Class] structs

14 years agoges-track-transition.h: fix typo
Brandon Lewis [Mon, 24 May 2010 12:57:12 +0000 (14:57 +0200)]
ges-track-transition.h: fix typo

14 years agoges/Makefile.am: dist ges-track-transition.c,h
Brandon Lewis [Mon, 24 May 2010 12:55:53 +0000 (14:55 +0200)]
ges/Makefile.am: dist ges-track-transition.c,h

14 years agoskeletal implementation of GESTrackTransition
Brandon Lewis [Mon, 24 May 2010 11:08:32 +0000 (13:08 +0200)]
skeletal implementation of GESTrackTransition

14 years agocheck-in ges-track-transition.h
Brandon Lewis [Mon, 24 May 2010 10:34:36 +0000 (12:34 +0200)]
check-in ges-track-transition.h

14 years agoplaylist.c: working pattern sources
Brandon Lewis [Mon, 24 May 2010 08:59:43 +0000 (10:59 +0200)]
playlist.c: working pattern sources

14 years agoexamples: Add a looping feature to playlist example
Edward Hervey [Wed, 2 Jun 2010 09:49:08 +0000 (11:49 +0200)]
examples: Add a looping feature to playlist example

Allows playing the timeline repeatedly a certain number of times

14 years agoGESTimeline: Freeze state of Tracks when doing an async state change
Edward Hervey [Tue, 25 May 2010 14:22:58 +0000 (16:22 +0200)]
GESTimeline: Freeze state of Tracks when doing an async state change

14 years agoexamples: New concatenate examples.
Edward Hervey [Thu, 20 May 2010 08:46:38 +0000 (10:46 +0200)]
examples: New concatenate examples.

Allows concatenating several files of the same type together

14 years agoGES: Add a new utility file
Edward Hervey [Thu, 20 May 2010 08:44:01 +0000 (10:44 +0200)]
GES: Add a new utility file

API : ges_timeline_new_audio_video()

14 years agoexamples: Ignore some files
Edward Hervey [Tue, 11 May 2010 13:03:33 +0000 (15:03 +0200)]
examples: Ignore some files

14 years agoGESTimelinePipeline: Only remove the playsink if it was used
Edward Hervey [Thu, 20 May 2010 10:29:30 +0000 (12:29 +0200)]
GESTimelinePipeline: Only remove the playsink if it was used

14 years agodocs: Use proper CFLAGS/LIBS when building docs
Edward Hervey [Wed, 19 May 2010 13:50:51 +0000 (15:50 +0200)]
docs: Use proper CFLAGS/LIBS when building docs

14 years agoGESTimeline: Remove unused variable
Edward Hervey [Wed, 19 May 2010 13:50:41 +0000 (15:50 +0200)]
GESTimeline: Remove unused variable

14 years agotests: ignore more files
Edward Hervey [Wed, 19 May 2010 10:39:23 +0000 (12:39 +0200)]
tests: ignore more files

14 years agoexamples: Allow setting null duration on files
Edward Hervey [Wed, 19 May 2010 10:38:21 +0000 (12:38 +0200)]
examples: Allow setting null duration on files

This will make the timeline use GstDiscoverer to analyze the file.

14 years agoGESTimeline: Use GstDiscoverer for incomplete filesources
Edward Hervey [Wed, 19 May 2010 10:36:11 +0000 (12:36 +0200)]
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

14 years agoGESTimelineFileSource: Add 'max-duration' and 'supported-formats' properties
Edward Hervey [Wed, 19 May 2010 10:24:44 +0000 (12:24 +0200)]
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

14 years agoGESTimelineObject: Properly set default duration
Edward Hervey [Wed, 19 May 2010 10:19:37 +0000 (12:19 +0200)]
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

14 years agoGESSimpleTimelineLayer: Recalculate positions when object duration change
Edward Hervey [Wed, 19 May 2010 10:14:34 +0000 (12:14 +0200)]
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.

14 years agoconfigure: Depend on gstreamer-discoverer
Edward Hervey [Tue, 18 May 2010 17:07:27 +0000 (19:07 +0200)]
configure: Depend on gstreamer-discoverer

14 years agoGESTrack: Make GESTrackType a flag, and add GES_TRACK_TYPE_UNKNOWN
Edward Hervey [Tue, 18 May 2010 15:43:28 +0000 (17:43 +0200)]
GESTrack: Make GESTrackType a flag, and add GES_TRACK_TYPE_UNKNOWN

Also add a bit more documentation about it.

14 years agodocs: And remove all the stuff that's meant to be generated at runtime
Edward Hervey [Tue, 18 May 2010 13:19:06 +0000 (15:19 +0200)]
docs: And remove all the stuff that's meant to be generated at runtime

14 years agoGESTimelineObject: Document CreateTrackObjectFunc vmethod
Edward Hervey [Tue, 18 May 2010 10:56:24 +0000 (12:56 +0200)]
GESTimelineObject: Document CreateTrackObjectFunc vmethod

14 years agodocs: Make sure hierarchy/properties/signals get built for all classes
Edward Hervey [Tue, 18 May 2010 10:32:31 +0000 (12:32 +0200)]
docs: Make sure hierarchy/properties/signals get built for all classes

14 years agoGESTimelinePipeline: Fix 32bit runtime issues
Edward Hervey [Mon, 10 May 2010 10:44:56 +0000 (12:44 +0200)]
GESTimelinePipeline: Fix 32bit runtime issues

14 years agoGESTimelinePipeline: Limit encodebin buffering to 1 buffer
Edward Hervey [Fri, 7 May 2010 11:30:07 +0000 (13:30 +0200)]
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).

14 years agoexamples: Add option to specify video restriction
Edward Hervey [Thu, 6 May 2010 17:57:25 +0000 (19:57 +0200)]
examples: Add option to specify video restriction

Some encoders don't handle _get_caps() properly :(

14 years agoGESTimelinePipeline: Remove unused variable/label.
Edward Hervey [Tue, 27 Apr 2010 09:45:15 +0000 (11:45 +0200)]
GESTimelinePipeline: Remove unused variable/label.

14 years agoGESTimelinePipeline: Cleanup properly when pads are removed
Edward Hervey [Tue, 20 Apr 2010 11:41:20 +0000 (13:41 +0200)]
GESTimelinePipeline: Cleanup properly when pads are removed

14 years agoGESTimelinePipeline: Implement smart rendering
Edward Hervey [Tue, 20 Apr 2010 11:26:00 +0000 (13:26 +0200)]
GESTimelinePipeline: Implement smart rendering

14 years agoexamples: New playlist examples
Edward Hervey [Tue, 20 Apr 2010 11:08:27 +0000 (13:08 +0200)]
examples: New playlist examples

Allows giving lists of file/start/duration triplets and testing the
various timeline-pipeline modes (preview, render, smart-render)

14 years agocheck: Use GST_CFLAGS so we get new compilation flags
Edward Hervey [Tue, 20 Apr 2010 11:04:31 +0000 (13:04 +0200)]
check: Use GST_CFLAGS so we get new compilation flags

14 years agoGESTimelinePipeline: Store encoding profile
Edward Hervey [Tue, 20 Apr 2010 11:00:38 +0000 (13:00 +0200)]
GESTimelinePipeline: Store encoding profile

14 years agoGESTimelinePipeline: New Smart Render mode
Edward Hervey [Tue, 20 Apr 2010 10:59:26 +0000 (12:59 +0200)]
GESTimelinePipeline: New Smart Render mode

14 years agoGESTimelinePipeline: new functions to search/create OutputChain
Edward Hervey [Tue, 20 Apr 2010 10:57:53 +0000 (12:57 +0200)]
GESTimelinePipeline: new functions to search/create OutputChain

14 years agoGESTimelinePipeline: Remove unused code
Edward Hervey [Tue, 20 Apr 2010 10:53:51 +0000 (12:53 +0200)]
GESTimelinePipeline: Remove unused code

14 years agoGESTrack: set caps on the composition
Edward Hervey [Tue, 20 Apr 2010 10:50:34 +0000 (12:50 +0200)]
GESTrack: set caps on the composition

This will allow them to be propagated to all objects contained within

14 years agoGESTimeLine(PipeLine): remove additional unref
Mark Nauwelaerts [Tue, 20 Apr 2010 10:50:09 +0000 (12:50 +0200)]
GESTimeLine(PipeLine): remove additional unref

14 years agoconfigure.ac : round of cleanup
Edward Hervey [Tue, 20 Apr 2010 10:47:22 +0000 (12:47 +0200)]
configure.ac : round of cleanup

Add extra CFLAGS
Change GST_CVS to GST_GIT
Add -DGST_USE_UNSTABLE_API for gstprofile, since we know it's unstable.

14 years agoges: Link gstprofile
Edward Hervey [Tue, 20 Apr 2010 10:28:59 +0000 (12:28 +0200)]
ges: Link gstprofile

14 years agoGESTimeline: New method ges_timeline_get_tracks
Edward Hervey [Tue, 20 Apr 2010 09:48:21 +0000 (11:48 +0200)]
GESTimeline: New method ges_timeline_get_tracks

14 years agoexamples: Simple Audio/Video example
Edward Hervey [Sat, 13 Mar 2010 15:43:59 +0000 (16:43 +0100)]
examples: Simple Audio/Video example

Currently one can:
* Give a multimedia file
* modify the inpoint
* modify the duration
* mute the audio

14 years agoGESTimelinePipeline: Fix minor bug in get_compatible_unlinked_pad
Edward Hervey [Sat, 13 Mar 2010 15:05:37 +0000 (16:05 +0100)]
GESTimelinePipeline: Fix minor bug in get_compatible_unlinked_pad

We weren't breaking and ended up doing a fallthrough to the loop
completion.

14 years agoGESTimelineObject: Fix doc of priority property
Edward Hervey [Sat, 13 Mar 2010 14:53:16 +0000 (15:53 +0100)]
GESTimelineObject: Fix doc of priority property