Commit graph

60 commits

Author SHA1 Message Date
Thiago Santos
54aac450da ges: timeline-pipeline: Remove playsink send_event hack
This is fixed now in upstream playsink, remove the hack

https://bugzilla.gnome.org/show_bug.cgi?id=673211
2012-04-04 11:44:27 -03:00
Mark Nauwelaerts
2162c635e2 ges: support and handle no-more-pads in GESTimeline(Pipeline)
... to arrange for a clean READY to PAUSED state change transition.
Not doing so might have playsink reaching PAUSED prematurely
as one track prerolls, only to lose this state again (temporarily)
when the other track needs to preroll.

This is generally not nice or convenient, and particularly nasty
when trying to perform seek in PAUSED.
2012-01-30 11:35:13 +01:00
Robert Swain
edf47f880d GESTimelinePipeline: Add API to get/set audio sink 2011-11-07 15:08:34 +01: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
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
5387d36a15 TimelinePipeline: minor doc fix 2011-01-10 16:50:51 +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
c8dc8973b0 TimelinePipeline: Updates for pbutils API change 2011-01-06 10:55:06 +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
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
5a170091e6 GESTimelineLayer: Hide the object list and priority
Add needed setters/getters
2010-12-16 12:41: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
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
faec1e803d docs: A round of updates 2010-12-08 15:36:55 +01:00
Thibault Saunier
8d19b737d8 GESTimelinePipeline: add a private structure 2010-12-08 12:53:59 +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
a02a5c2320 Update for factorylist/convertframe being merged to gst core/base 2010-09-16 08:39:46 +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
085a4c4804 ges_caps_set_simple was being called incorrectly 2010-07-16 18:18:03 +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
70a040f760 add methods to retreive the current frame as a thumbnail 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
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
a17900813a GESTimelinePipeline: Only remove the playsink if it was used 2010-05-20 12:29:30 +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
Edward Hervey
f909ff239f GESTimelinePipeline: Store encoding profile 2010-04-20 13:47:08 +02:00
Edward Hervey
75389d6493 GESTimelinePipeline: new functions to search/create OutputChain 2010-04-20 13:47:07 +02:00
Edward Hervey
2d7962bf93 GESTimelinePipeline: Remove unused code 2010-04-20 13:47:07 +02:00
Mark Nauwelaerts
10be8697df GESTimeLine(PipeLine): remove additional unref 2010-04-20 13:47:07 +02:00
Edward Hervey
b78aa12aee GESTimelinePipeline: Fix minor bug in get_compatible_unlinked_pad
We weren't breaking and ended up doing a fallthrough to the loop
completion.
2010-03-13 16:05:37 +01:00
Edward Hervey
51e59a6edc GESTimelinePipeline: Add comment for _set_render_settings 2010-01-08 18:21:08 +01:00
Edward Hervey
b4e36fe853 GESTimelinePipeline: Also get static pads for static pads from encodebin.
This is for the cases where the provided GstStreamEncodingProfile has
a non-zero presence.
2010-01-08 18:14:46 +01:00
Edward Hervey
15c0013732 ges: Small doc fixups 2009-12-11 15:24:56 +01:00
Edward Hervey
82af34bb87 GESTimelinePipeline: Sync state of newly added element to container 2009-12-11 15:20:35 +01:00
Edward Hervey
5396476e7c GESTimelinePipeline: Don't forget to remember the mode 2009-12-11 15:20:13 +01:00
Edward Hervey
aedf73803d GESTimelinePipeline: More render support 2009-12-11 15:20:13 +01:00
Edward Hervey
2d430098f8 GESTimelinePipeline: beginning of render support 2009-12-11 15:19:54 +01:00