platform/upstream/gstreamer.git
12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 26 Aug 2011 09:09:07 +0000 (11:09 +0200)]
Merge branch 'master' into 0.11

Conflicts:
libs/gst/base/gstbasetransform.c
libs/gst/base/gstbasetransform.h

12 years agouri: some doc fixes
Wim Taymans [Fri, 26 Aug 2011 08:57:37 +0000 (10:57 +0200)]
uri: some doc fixes

12 years agoBaseTransform: Add a query vfunc
Sjoerd Simons [Thu, 25 Aug 2011 10:02:16 +0000 (11:02 +0100)]
BaseTransform: Add a query vfunc

12 years agocapsfilter: don't assume _get_caps still has to be
Sjoerd Simons [Wed, 20 Jul 2011 12:05:27 +0000 (14:05 +0200)]
capsfilter: don't assume _get_caps still has to be

_set_caps only gets called when the buffer is actually pushed, so there
is a reasonably big window between when the initial caps are retrieved
and when the caps are set on our src pad. So we can't assume the not
having negotiated caps on our src pad means _get_caps still has to be
called.

Instead simply always suggest the new caps on buffer_alloc.

12 years agobuffer: add clip flag
Wim Taymans [Thu, 25 Aug 2011 16:04:28 +0000 (18:04 +0200)]
buffer: add clip flag

12 years agobuffer: rework flags a little
Wim Taymans [Thu, 25 Aug 2011 14:21:18 +0000 (16:21 +0200)]
buffer: rework flags a little

Reorder buffer flags and add some new ones.
Remove the media specific flags, we can now easily do this with the FLAG_LAST
flag because we don't extend from GstBuffer anymore.

12 years agobuffer: always copy all buffer flags when asked
Wim Taymans [Thu, 25 Aug 2011 14:20:21 +0000 (16:20 +0200)]
buffer: always copy all buffer flags when asked

Don't try to be smart and copy only a subset of buffer flag

12 years agoupdate defs
Wim Taymans [Thu, 25 Aug 2011 14:19:52 +0000 (16:19 +0200)]
update defs

12 years agobuffer: pluralize the buffer flags
Wim Taymans [Thu, 25 Aug 2011 12:09:37 +0000 (14:09 +0200)]
buffer: pluralize the buffer flags

12 years agobasesink: remove preroll-queue-len property
Wim Taymans [Thu, 25 Aug 2011 10:38:58 +0000 (12:38 +0200)]
basesink: remove preroll-queue-len property

Remove the preroll-queue-len property and move its variables to a private
section so that we can remove them later.

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 24 Aug 2011 08:43:09 +0000 (10:43 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst/gstobject.c

12 years agobasesink: ensure start_time reset upon flush
Mark Nauwelaerts [Tue, 23 Aug 2011 16:19:53 +0000 (18:19 +0200)]
basesink: ensure start_time reset upon flush

12 years agogstobject: also remove the cast as this is causing the trouble
Stefan Kost [Tue, 23 Aug 2011 09:55:17 +0000 (11:55 +0200)]
gstobject: also remove the cast as this is causing the trouble

12 years agogstobject: use the atomic macros to deal with the glib change in the impl.
Stefan Kost [Tue, 23 Aug 2011 09:41:02 +0000 (11:41 +0200)]
gstobject: use the atomic macros to deal with the glib change in the impl.

12 years agoobject: make _replace like the miniobject version
Wim Taymans [Mon, 22 Aug 2011 10:49:04 +0000 (12:49 +0200)]
object: make _replace like the miniobject version

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 22 Aug 2011 10:33:35 +0000 (12:33 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst/gstbuffer.h
gst/gstcaps.c
gst/gstcaps.h
gst/gstevent.c

12 years agovalue: remove our FOURCC GType
Wim Taymans [Mon, 22 Aug 2011 10:19:19 +0000 (12:19 +0200)]
value: remove our FOURCC GType

Remove our custom fourcc GValue.

12 years agoobject: make gst_object_replace() atomic
David Schleef [Sun, 21 Aug 2011 21:07:08 +0000 (14:07 -0700)]
object: make gst_object_replace() atomic

12 years agodocs: more clarification for element docs
Stefan Kost [Sat, 20 Aug 2011 12:07:55 +0000 (14:07 +0200)]
docs: more clarification for element docs

Don't suggest deprecated method in the desction docs and try to be more helpful
in other places by suggesting related functions.

12 years agodocs: small clarification in the gst_element_get_request_pad docs
Stefan Kost [Sat, 20 Aug 2011 07:56:01 +0000 (09:56 +0200)]
docs: small clarification in the gst_element_get_request_pad docs

Make it more obvious that one should pass the template name.

12 years agobaseparse: don't use == in debug string
Tim-Philipp Müller [Thu, 18 Aug 2011 19:46:01 +0000 (20:46 +0100)]
baseparse: don't use == in debug string

It messes up GST_DEBUG=*:5 make foo/bar.valgrind, because
our Makefile looks for '==' as marker of valgrind output.

12 years agobaseparse: fix crash on seek from streaming thread on newsegment event
Tim-Philipp Müller [Thu, 18 Aug 2011 19:44:01 +0000 (20:44 +0100)]
baseparse: fix crash on seek from streaming thread on newsegment event

Event if it's not allowed, we can easily prevent it, so let's do
that.

https://bugzilla.gnome.org/show_bug.cgi?id=656771

12 years agostructure: add method to fixate one field
Wim Taymans [Wed, 17 Aug 2011 15:56:40 +0000 (17:56 +0200)]
structure: add method to fixate one field

12 years agobasesrc: add default fixate function
Wim Taymans [Wed, 17 Aug 2011 15:16:21 +0000 (17:16 +0200)]
basesrc: add default fixate function

Add a default fixate function which does gst_caps_fixate() because
gst_pad_fixate() does not do that anymore.

12 years agodocs: improve some docs
Wim Taymans [Wed, 17 Aug 2011 07:25:04 +0000 (09:25 +0200)]
docs: improve some docs

12 years agobuffer: return processed number of bytes
Wim Taymans [Tue, 16 Aug 2011 16:29:29 +0000 (18:29 +0200)]
buffer: return processed number of bytes

Make _fill, _extract and _memset return the actual number of bytes that were
handled in case the buffer size is less than the specified size.

12 years agodocs: fix typo in element factory documentation
Tim-Philipp Müller [Tue, 16 Aug 2011 16:19:29 +0000 (17:19 +0100)]
docs: fix typo in element factory documentation

12 years agobuffer: rename PREROLL -> LIVE flag
Wim Taymans [Tue, 16 Aug 2011 15:32:20 +0000 (17:32 +0200)]
buffer: rename PREROLL -> LIVE flag

Rename the GST_BUFFER_FLAG_PREROLL to GST_BUFFER_FLAG_LIVE and give the new flag
a meaning. The old PREROLL flag never had a clear meaning.

12 years agocaps: fix compiler warning reported by ICC
Tim-Philipp Müller [Mon, 15 Aug 2011 20:05:34 +0000 (21:05 +0100)]
caps: fix compiler warning reported by ICC

The MAX macro expands to code that checks if an unsigned integer is < 0.

Fixes warning #186: pointless comparison of unsigned integer reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agobuffer: explicitly cast to the enum type
Josep Torra [Wed, 10 Aug 2011 09:39:23 +0000 (11:39 +0200)]
buffer: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agogststate: explicitly cast to the enum type
Josep Torra [Wed, 10 Aug 2011 09:07:49 +0000 (11:07 +0200)]
gststate: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agoevent: explicitly cast to the right enum types
Josep Torra [Tue, 9 Aug 2011 21:42:26 +0000 (23:42 +0200)]
event: explicitly cast to the right enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agogsterror: explicitly cast to the right GstGError code enum types
Josep Torra [Tue, 9 Aug 2011 21:33:43 +0000 (23:33 +0200)]
gsterror: explicitly cast to the right GstGError code enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agodebugutils: use GST_STATE_VOID_PENDING for GstState instead of 0
Josep Torra [Tue, 9 Aug 2011 21:26:13 +0000 (23:26 +0200)]
debugutils: use GST_STATE_VOID_PENDING for GstState instead of 0

Fixes a warning reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agocaps: define GST_CAPS_FLAGS_NONE for consistency with other enumerations
Josep Torra [Tue, 9 Aug 2011 20:48:53 +0000 (22:48 +0200)]
caps: define GST_CAPS_FLAGS_NONE for consistency with other enumerations

Use them to fix warnings when building with ICC.

API: GST_CAPS_FLAGS_NONE

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agogst: use GstDebugLevel enum type to fix a warning building with ICC
Josep Torra [Tue, 9 Aug 2011 20:29:44 +0000 (22:29 +0200)]
gst: use GstDebugLevel enum type to fix a warning building with ICC

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agopad: make fixate caps behave like other functions
Wim Taymans [Mon, 15 Aug 2011 14:45:33 +0000 (16:45 +0200)]
pad: make fixate caps behave like other functions

Install a default fixate caps function on pads like all the other pad functions.

12 years agodefs: update for new symbols
Wim Taymans [Mon, 15 Aug 2011 14:45:05 +0000 (16:45 +0200)]
defs: update for new symbols

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 15 Aug 2011 12:43:14 +0000 (14:43 +0200)]
Merge branch 'master' into 0.11

12 years agocaps: add fixate function
Wim Taymans [Mon, 15 Aug 2011 12:40:38 +0000 (14:40 +0200)]
caps: add fixate function

Add a fixate function and use it in gstpad.c

12 years agostructure: add function to fixate
Wim Taymans [Mon, 15 Aug 2011 12:32:17 +0000 (14:32 +0200)]
structure: add function to fixate

Add a function to fixate a structure and use it for the default fixate function
in gstpad.c.

12 years agogst-uninstalled: add Farsight and Nice support
Guillaume Desmottes [Mon, 15 Aug 2011 11:17:44 +0000 (13:17 +0200)]
gst-uninstalled: add Farsight and Nice support

https://bugzilla.gnome.org/show_bug.cgi?id=656557

12 years agopad: fix default acceptcaps
Wim Taymans [Mon, 15 Aug 2011 12:17:39 +0000 (14:17 +0200)]
pad: fix default acceptcaps

Make the acceptcaps function behave like all the other functions with a default
implementation. Don't try to chain up to the default implementation when it was
set to NULL explicitly but return FALSE instead.
Fix some docs

12 years agopad: fix some macros
Wim Taymans [Mon, 15 Aug 2011 11:24:11 +0000 (13:24 +0200)]
pad: fix some macros

Remove a rather usless macro to check if a pad mode is active and
add GST_PAD_IS_ACTIVE().

12 years agodocs: update porting doc
Wim Taymans [Mon, 15 Aug 2011 10:18:59 +0000 (12:18 +0200)]
docs: update porting doc

12 years agopad: remove gst_pad_get_negotiated_caps()
Wim Taymans [Mon, 15 Aug 2011 10:16:30 +0000 (12:16 +0200)]
pad: remove gst_pad_get_negotiated_caps()

Remove gst_pad_get_negotiated_caps(), it does not realy do what it says,
gst_pad_get_current_caps() returns the currently negotiated caps on the pad
correctly.

12 years agoqueue2: fix deadlock in error path
Tim-Philipp Müller [Fri, 12 Aug 2011 18:27:21 +0000 (19:27 +0100)]
queue2: fix deadlock in error path

Don't lock the same lock twice. Spotted by Josep Torre Valles.

12 years agoiterator: Fix gst_iterator_next() element annotation
Peteris Krisjanis [Fri, 12 Aug 2011 09:45:01 +0000 (12:45 +0300)]
iterator: Fix gst_iterator_next() element annotation

12 years agodocs: fix typo in PWG
Tim-Philipp Müller [Thu, 11 Aug 2011 08:31:25 +0000 (09:31 +0100)]
docs: fix typo in PWG

RBG -> RGB. Spotted by Will Thompson.

https://bugzilla.gnome.org/show_bug.cgi?id=656326

12 years agodebugutils: removed non-sense comment
Stefan Kost [Thu, 11 Aug 2011 08:09:41 +0000 (10:09 +0200)]
debugutils: removed non-sense comment

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Edward Hervey [Wed, 10 Aug 2011 15:07:54 +0000 (17:07 +0200)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst/gstdebugutils.c
gst/gstelementdetails.h
gst/gstregistrychunks.c
tools/gst-run.c

12 years agoregistry: move utf-8 validation to registry saving time
Stefan Kost [Mon, 8 Aug 2011 17:36:04 +0000 (19:36 +0200)]
registry: move utf-8 validation to registry saving time

Instead of checking for valid utf-8 element-details every time we create
elements (from plugin-init or registry), do it before we save the registry.
Fixes #656193.

12 years agoFix and clarify debug statements
Josep Torra [Wed, 10 Aug 2011 09:01:58 +0000 (11:01 +0200)]
Fix and clarify debug statements

Fixes build on MacOSX

Signed-off-by: Edward Hervey <edward.hervey@collabora.co.uk>
12 years agogstbuffer: Clarify doc
Edward Hervey [Fri, 5 Aug 2011 08:59:42 +0000 (10:59 +0200)]
gstbuffer: Clarify doc

12 years agodocs: fix helloworld compile command line for newer gcc
Tim-Philipp Müller [Sun, 7 Aug 2011 08:14:50 +0000 (09:14 +0100)]
docs: fix helloworld compile command line for newer gcc

https://bugzilla.gnome.org/show_bug.cgi?id=656092

12 years agodebugutils: improve dot file flow layout
Shaun Hoopes [Sat, 6 Aug 2011 16:20:51 +0000 (18:20 +0200)]
debugutils: improve dot file flow layout

Iterate source- and sink-pads separately to ensure that the graph reflects the
upstream/downstream order. Fixes #643269

12 years agogstreamer.spec: make buildable and parallel
Thomas Vander Stichele [Sat, 6 Aug 2011 12:17:50 +0000 (14:17 +0200)]
gstreamer.spec: make buildable and parallel

12 years agotools: make unversioned wrapper look for -0.10 tools only
Tim-Philipp Müller [Fri, 5 Aug 2011 11:12:33 +0000 (12:12 +0100)]
tools: make unversioned wrapper look for -0.10 tools only

Don't want (incompatible) 0.11 tools to be picked up by accident.

12 years agobasesrc: add alloc vmethod
Wim Taymans [Thu, 4 Aug 2011 16:00:02 +0000 (18:00 +0200)]
basesrc: add alloc vmethod

Make an alloc vmethod so that subclasses can override or call the default
implementation when they want.

12 years agodefs: update defs
Wim Taymans [Thu, 4 Aug 2011 15:26:34 +0000 (17:26 +0200)]
defs: update defs

12 years agobasesrc: cleanups and mark reconfigure
Wim Taymans [Thu, 4 Aug 2011 15:12:47 +0000 (17:12 +0200)]
basesrc: cleanups and mark reconfigure

Don't abuse the result variable.
Mark the srcpad with a reconfigure so that negotiation happens.

12 years agopad: add method to mark reconfigure
Wim Taymans [Thu, 4 Aug 2011 15:12:21 +0000 (17:12 +0200)]
pad: add method to mark reconfigure

12 years agobasesrc: remove negotiation from the state change
Wim Taymans [Thu, 4 Aug 2011 14:56:42 +0000 (16:56 +0200)]
basesrc: remove negotiation from the state change

Remove the negotiation from the state change function, it causes data transfer
and bufferpool negotiation, which is not supposed to be done. Since we have the
reconfigure state on the pad, the create function will do the negotiation as
soon as it gets in the streaming thread.

12 years agobasesrc: expose set_caps method
Wim Taymans [Thu, 4 Aug 2011 14:34:49 +0000 (16:34 +0200)]
basesrc: expose set_caps method

Expose a previously static method so that custom negotiate implementation can
call it and do the right thing.

12 years agobasesrc: PAUSED<->PLAY doesn't change pool state
Wim Taymans [Thu, 4 Aug 2011 11:48:11 +0000 (13:48 +0200)]
basesrc: PAUSED<->PLAY doesn't change pool state

Don't change the state of the bufferpool when going between PAUSED and PLAYING,
it will dealloc and realloc all buffers, which is clearly too invasive. We will
need to add some other way of unblocking the bufferpool.

12 years agofix default alignment
Wim Taymans [Thu, 4 Aug 2011 09:00:57 +0000 (11:00 +0200)]
fix default alignment

A 0 alignment is the default.

12 years agobufferpool: add gst_buffer_pool_is_active()
Wim Taymans [Thu, 4 Aug 2011 08:54:29 +0000 (10:54 +0200)]
bufferpool: add gst_buffer_pool_is_active()

12 years agoback to development
Wim Taymans [Wed, 3 Aug 2011 09:57:50 +0000 (11:57 +0200)]
back to development

12 years agoRELEASE 0.11 RELEASE-0.11.0
Wim Taymans [Tue, 2 Aug 2011 18:55:28 +0000 (20:55 +0200)]
RELEASE 0.11

12 years agoporting-to-0.11: Add section about GstIterator
Sebastian Dröge [Wed, 3 Aug 2011 09:04:12 +0000 (11:04 +0200)]
porting-to-0.11: Add section about GstIterator

12 years agobufferpool: don't add the same option twice
Wim Taymans [Mon, 1 Aug 2011 16:12:12 +0000 (18:12 +0200)]
bufferpool: don't add the same option twice

Make sure that we only add an option to the array once.

12 years agobufferpool: add method to check for an option
Wim Taymans [Sat, 30 Jul 2011 12:04:43 +0000 (14:04 +0200)]
bufferpool: add method to check for an option

Add a method to check if an option is supported on the bufferpool.

12 years agobufferpool: add options API to bufferpool
Wim Taymans [Fri, 29 Jul 2011 15:10:09 +0000 (17:10 +0200)]
bufferpool: add options API to bufferpool

Make it possible to query the supported options of a bufferpool and enable
options. This is a bit more generic than the API to enable metadata. The purpose
is to make it possible to add new custom config options to the configuration of
the bufferpool when supported.

12 years agoelement: don't use G_CONST_RETURN
Tim-Philipp Müller [Thu, 28 Jul 2011 11:11:36 +0000 (12:11 +0100)]
element: don't use G_CONST_RETURN

It's been deprecated in newer GLib versions

12 years agomanual: update for position/duration query API change
Tim-Philipp Müller [Thu, 28 Jul 2011 11:01:58 +0000 (12:01 +0100)]
manual: update for position/duration query API change

12 years agotests: update for query API changes
Tim-Philipp Müller [Tue, 26 Jul 2011 23:28:50 +0000 (00:28 +0100)]
tests: update for query API changes

12 years agoplugins: update for query API changes
Tim-Philipp Müller [Tue, 26 Jul 2011 23:28:19 +0000 (00:28 +0100)]
plugins: update for query API changes

12 years agobase: update for query API changes
Tim-Philipp Müller [Tue, 26 Jul 2011 23:26:43 +0000 (00:26 +0100)]
base: update for query API changes

12 years agogst: fix awkward dest_format inout parameter in query utility functions
Tim-Philipp Müller [Tue, 26 Jul 2011 23:17:02 +0000 (00:17 +0100)]
gst: fix awkward dest_format inout parameter in query utility functions

The idea was originally that if one passed &dest_fmt with
dest_fmt=GST_FORMAT_DEFAULT, then the code answering the query
could change dest_fmt to the actual default format used. However,
in more than half a decade of GStreamer 0.10 no piece of code in
GStreamer has ever used that feature, nor are there that many
users of this API that actually check whether the format returned
is the original format passed before using the values returned.
Also, it's just annoying-to-use API in its own right.

For all these reasons, make it so that the destination format is
passed directly and can't be changed by the element queried.

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 27 Jul 2011 10:50:39 +0000 (12:50 +0200)]
Merge branch 'master' into 0.11

12 years agobasetransform: add more comments
Wim Taymans [Wed, 27 Jul 2011 10:49:40 +0000 (12:49 +0200)]
basetransform: add more comments

12 years agobasetrans: also pass allocation query in in_place
Wim Taymans [Wed, 27 Jul 2011 11:45:17 +0000 (12:45 +0100)]
basetrans: also pass allocation query in in_place

When we are doing an in_place transform, don't do the allocation query but let
the upstream element decide.

12 years agobase: add missing (out) annotation for byte reader/writer functions
Evan Nemerson [Wed, 27 Jul 2011 05:41:59 +0000 (22:41 -0700)]
base: add missing (out) annotation for byte reader/writer functions

https://bugzilla.gnome.org/show_bug.cgi?id=655381

12 years agoelementfactory: fix g-i annotation for _create() and _make() to allow NULL object...
Tim-Philipp Müller [Wed, 27 Jul 2011 09:09:11 +0000 (10:09 +0100)]
elementfactory: fix g-i annotation for _create() and _make() to allow NULL object names

12 years agopad: improve the getcaps function
Wim Taymans [Tue, 26 Jul 2011 16:48:20 +0000 (18:48 +0200)]
pad: improve the getcaps function

Refactor calling the GETCAPS function and checks.
Move the filter code in one place.
When using fixed pad caps, get the currently configured caps and then fallback
to the GETCAPS function. We used to simply ignore the GETCAPS function, which
resulted in transform elements returning the template caps instead of doing the
caps transform.

12 years agopad: only update caps when changed
Wim Taymans [Tue, 26 Jul 2011 13:43:55 +0000 (15:43 +0200)]
pad: only update caps when changed

Only call the event function with the caps event when the caps changed.

12 years agobasesrc: add some more debug info
Wim Taymans [Tue, 26 Jul 2011 12:37:51 +0000 (14:37 +0200)]
basesrc: add some more debug info

12 years agobasesink: make it easy to override the pad query
Wim Taymans [Tue, 26 Jul 2011 10:21:38 +0000 (12:21 +0200)]
basesink: make it easy to override the pad query

Add a vmethod to handle the pad query.
Install a default handler for the pad query.
Add a vmethod to setup the allocation properties.
Use the new query function in filesink

12 years agobasesrc: improve docs
Wim Taymans [Tue, 26 Jul 2011 10:20:55 +0000 (12:20 +0200)]
basesrc: improve docs

12 years agopad: add allocation query just because
Wim Taymans [Tue, 26 Jul 2011 10:20:04 +0000 (12:20 +0200)]
pad: add allocation query just because

12 years agopoll: improve debugging
Wim Taymans [Mon, 25 Jul 2011 13:21:21 +0000 (15:21 +0200)]
poll: improve debugging

12 years agominiobject: avoid race in bufferpool release
Wim Taymans [Mon, 25 Jul 2011 10:53:10 +0000 (12:53 +0200)]
miniobject: avoid race in bufferpool release

Avoid playing with the refcount to decide when a buffer has been recycled by the
dispose function. The problem is that we then temporarily can have a buffer with
a refcount > 1 being acquired from the pool, which is not writable. Instead use
a simple boolean return value from the dispose function to inform the called
that the object was recycled or not.

12 years agobasesrc: use DEBUG instead of ERROR for logging
Wim Taymans [Mon, 25 Jul 2011 10:49:24 +0000 (12:49 +0200)]
basesrc: use DEBUG instead of ERROR for logging

Don't use the ERROR log category because the allocation failure migh only be
bacause of a state change.

12 years agobufferpool: start with raised control socket
Wim Taymans [Mon, 25 Jul 2011 11:14:16 +0000 (12:14 +0100)]
bufferpool: start with raised control socket

In the inactive state, the control socket should be in the raised state, we will
release it when we start.

12 years agopwd: discontinous event -> newsegment event
Stefan Kost [Sun, 24 Jul 2011 09:24:44 +0000 (11:24 +0200)]
pwd: discontinous event -> newsegment event

Fix a 0.8 leftover as mentioned on bug #621121.

12 years agotalk about the basetransform sink_event vmethod
Wim Taymans [Sun, 24 Jul 2011 07:05:22 +0000 (09:05 +0200)]
talk about the basetransform sink_event vmethod

13 years agocontroller: fix build failure due to compiler warning
Tim-Philipp Müller [Sat, 23 Jul 2011 07:00:09 +0000 (08:00 +0100)]
controller: fix build failure due to compiler warning

Presumably with newer GLib version.

https://bugzilla.gnome.org/show_bug.cgi?id=655155

13 years agobasetransform: fix sink event handling
Wim Taymans [Fri, 22 Jul 2011 19:17:42 +0000 (21:17 +0200)]
basetransform: fix sink event handling

Implement the sink event handling like the src event handler. Make the default
implementation parse and forward the event. This makes it possible to actually
return an error value from the event handler.

13 years agobasetransform: handle failures
Wim Taymans [Fri, 22 Jul 2011 17:19:59 +0000 (19:19 +0200)]
basetransform: handle failures

Handle failure to activate the bufferpool.

13 years agobasetrans: improve debugging.
Wim Taymans [Fri, 22 Jul 2011 17:11:56 +0000 (19:11 +0200)]
basetrans: improve debugging.