platform/upstream/gstreamer.git
12 years agolibs: sprinkle some G_GNUC_MALLOC
Tim-Philipp Müller [Sat, 26 Nov 2011 18:58:38 +0000 (18:58 +0000)]
libs: sprinkle some G_GNUC_MALLOC

Maybe gcc can do something clever with that, or at least
warn us if we don't save the return value somewhere.

12 years agogst: sprinkle some G_GNUC_MALLOC
Tim-Philipp Müller [Sat, 26 Nov 2011 18:57:44 +0000 (18:57 +0000)]
gst: sprinkle some G_GNUC_MALLOC

Maybe gcc can do something clever with that, or at least
warn us if we don't save the return value somewhere.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Fri, 25 Nov 2011 23:54:57 +0000 (23:54 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agodocs: update porting docs.
Stefan Sauer [Fri, 25 Nov 2011 22:15:23 +0000 (23:15 +0100)]
docs: update porting docs.

12 years agobuffer: add gst_buffer_{set,get}_qdata()
Tim-Philipp Müller [Wed, 16 Nov 2011 01:04:45 +0000 (01:04 +0000)]
buffer: add gst_buffer_{set,get}_qdata()

Allows people/us to attach arbitrary metadata to buffers.

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

API: gst_buffer_set_qdata()
API: get_buffer_get_qdata()

12 years agopad: fix blocking probe emission
Wim Taymans [Fri, 25 Nov 2011 06:11:24 +0000 (07:11 +0100)]
pad: fix blocking probe emission

If we are dealing with a blocking probe, only then check if one the
blocking flags of the hook matches.
Add some more debug.
Make the pad unit test less racy.

12 years agoAdd test for PAD_PROBE_TYPE_BLOCK and PAD_PROBE_TYPE_BLOCKING
Matej Knopp [Thu, 24 Nov 2011 16:47:09 +0000 (17:47 +0100)]
Add test for PAD_PROBE_TYPE_BLOCK and PAD_PROBE_TYPE_BLOCKING

12 years agoutils: fix debug of query result
Wim Taymans [Fri, 25 Nov 2011 04:54:09 +0000 (05:54 +0100)]
utils: fix debug of query result

12 years agoquery: fix typo in doc
René Stadler [Thu, 24 Nov 2011 21:52:19 +0000 (22:52 +0100)]
query: fix typo in doc

Causes a warning from the introspection scanner.

12 years agocheck: drop caps argument from gst_check_setup_{src,sink}_pad
René Stadler [Thu, 24 Nov 2011 20:36:12 +0000 (21:36 +0100)]
check: drop caps argument from gst_check_setup_{src,sink}_pad

Calling set_caps at that point is not useful in 0.10 (FIXME comment!), and in
0.11 it is totally pointless: the caps event doesn't stick to a flushing pad.

12 years agodefs: update for byte_writer_put_buffer
René Stadler [Thu, 24 Nov 2011 13:07:14 +0000 (14:07 +0100)]
defs: update for byte_writer_put_buffer

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Thu, 24 Nov 2011 10:23:07 +0000 (11:23 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst/gstpad.c
libs/gst/base/gstbaseparse.c

12 years agopad: Remove g_warning() if pad accepted caps that are not a subset of the pad caps
Sebastian Dröge [Thu, 24 Nov 2011 10:15:29 +0000 (11:15 +0100)]
pad: Remove g_warning() if pad accepted caps that are not a subset of the pad caps

This check is correct but unfortunately it's impossible to implement
in a threadsafe way because the caps could have changed in the meantime.

Fixes bug #659606.

12 years agomultiqueue: check filled state of queues even if another one is empty
Vincent Penquerc'h [Mon, 3 Oct 2011 11:34:20 +0000 (12:34 +0100)]
multiqueue: check filled state of queues even if another one is empty

This will avoid a case where overrun is never signalled if some
stream never produces any data, causing playbin2 to not end preroll.

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

12 years agotests: Check for dataflow with incompatible caps
Edward Hervey [Thu, 24 Nov 2011 08:31:14 +0000 (09:31 +0100)]
tests: Check for dataflow with incompatible caps

This test currently fails, but is there to ensure we fix this issue
and keep it fixed, since it completely breaks delayed negotiation
use-cases.

This behaviour started breaking since
dd65aae9a177f7b11dcef0f690a78d698f667cd4

12 years agotests: Add comments to gstpad tests
Edward Hervey [Thu, 24 Nov 2011 08:31:02 +0000 (09:31 +0100)]
tests: Add comments to gstpad tests

12 years agotests: Remove "#if 0" block for behaviour that now works
Edward Hervey [Thu, 24 Nov 2011 08:30:14 +0000 (09:30 +0100)]
tests: Remove "#if 0" block for behaviour that now works

12 years agotests: Remove commented block
Edward Hervey [Thu, 24 Nov 2011 08:28:32 +0000 (09:28 +0100)]
tests: Remove commented block

This behaviour is actually tested in test_push_unlinked

12 years agotools: make gst-inspect print a nasty debug message for non-grata property type
Tim-Philipp Müller [Thu, 24 Nov 2011 01:06:52 +0000 (01:06 +0000)]
tools: make gst-inspect print a nasty debug message for non-grata property type

Try to eradicate properties of long/ulong/char/uchar type.

12 years agoevent: add STICKY_MULTY events
Wim Taymans [Wed, 23 Nov 2011 16:50:17 +0000 (17:50 +0100)]
event: add STICKY_MULTY events

Add a new event flag for sticky events so that multiple events of that type can
be stored on a pad at the same time. Change the _get_sticky_event() function to
loop over the multiple events of a type.
Change the foreach function to make it possible to removed and modify the sticky
events on a pad.
Use an variable size array now to store the events. This could later be
optimized some more.

12 years agobus: handle NULL message src in debug
Wim Taymans [Wed, 23 Nov 2011 16:39:43 +0000 (17:39 +0100)]
bus: handle NULL message src in debug

12 years agobufferlist: avoid reading past the array
Wim Taymans [Wed, 23 Nov 2011 16:38:24 +0000 (17:38 +0100)]
bufferlist: avoid reading past the array

When the foreach function told us to remove the buffer from the list, decrease
the length of the array or else we might read past the last item in the array.

12 years agobaseparse: Return template caps instead of other side's peer caps if get_sink_caps...
Sebastian Dröge [Wed, 23 Nov 2011 12:42:56 +0000 (13:42 +0100)]
baseparse: Return template caps instead of other side's peer caps if get_sink_caps vfunc is not implemented

Using gst_pad_proxy_get_caps() breaks backwards compatibility with old
parsers because it will propagate the other side's fields like "parsed"
and "framed" and also breaks parser/converters.

Fixes bug #664221.

12 years agobytewriter: add method to write out a buffer
René Stadler [Wed, 23 Nov 2011 10:03:19 +0000 (11:03 +0100)]
bytewriter: add method to write out a buffer

In 0.10, this can be done with a one-liner by using GST_BUFFER_DATA/SIZE with
put_data. A 0.11 user has to resort to gst_buffer_map, which is less convenient
and might require a memcpy internally.

API: gst_byte_writer_put_buffer()

12 years agopad: take peerpad correctly
Wim Taymans [Wed, 23 Nov 2011 07:17:36 +0000 (08:17 +0100)]
pad: take peerpad correctly

Don't take the peerpad too early, it might change because of the
probes.

12 years agopad: rework sticky events
Wim Taymans [Tue, 22 Nov 2011 17:32:51 +0000 (18:32 +0100)]
pad: rework sticky events

Rewrite sticky events, trying to make it a bit more simple.
When sticky events are pushed on a srcpad, store them in the sticky event
array and mark the event with received = FALSE.
When the sticky event is successfully sent to the peer pad, make
received = TRUE.
Keep a PENDING_EVENTS pad flag that is set when one of the events is in
the received = FALSE state for some reason.
when activating a sinkpad, mark all events received = FALSE on the peer
srcpad.
When pushing a buffer, check the PENDING_EVENTS flag and if it is set, push all
events to the peer pad first.

12 years agobaseparse: also let caps events go through
Wim Taymans [Tue, 22 Nov 2011 17:32:23 +0000 (18:32 +0100)]
baseparse: also let caps events go through

12 years agogst: add new flags
Wim Taymans [Tue, 22 Nov 2011 15:43:34 +0000 (16:43 +0100)]
gst: add new flags

12 years agoadapter: fix return type of _map() to gconstpointer
Matej Knopp [Mon, 21 Nov 2011 17:56:19 +0000 (18:56 +0100)]
adapter: fix return type of _map() to gconstpointer

Fixes compiler warnings on OSX:
gstadapter.h:82: warning: type qualifiers ignored on function return type
gstadapter.c:412: warning: type qualifiers ignored on function return type

const gpointer is not the same as gconstpointer or const void *.

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

12 years agodefs: update defs files
Wim Taymans [Tue, 22 Nov 2011 11:46:39 +0000 (12:46 +0100)]
defs: update defs files

12 years agopadd return value from _mini_object_replace()
Wim Taymans [Tue, 22 Nov 2011 11:45:41 +0000 (12:45 +0100)]
padd return value from _mini_object_replace()

12 years agoFix printf format compiler warnings on OSX/64bit
Matej Knopp [Mon, 21 Nov 2011 17:56:19 +0000 (18:56 +0100)]
Fix printf format compiler warnings on OSX/64bit

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

12 years agotests: improve pad tests
Wim Taymans [Mon, 21 Nov 2011 16:46:45 +0000 (17:46 +0100)]
tests: improve pad tests

12 years agopad: fix locking order error
Wim Taymans [Mon, 21 Nov 2011 16:43:51 +0000 (17:43 +0100)]
pad: fix locking order error

12 years agoghostpad: fix print format
Wim Taymans [Mon, 21 Nov 2011 16:43:04 +0000 (17:43 +0100)]
ghostpad: fix print format

12 years agopad: Add destroy notify to pad functions
Wim Taymans [Mon, 21 Nov 2011 14:47:01 +0000 (15:47 +0100)]
pad: Add destroy notify to pad functions

Add _full variants of the pad function setters that take a destroy notify.
Make some macros that make the old method name pass NULL to this new
function.

12 years agopad: Merge pad mode activation functions
Wim Taymans [Mon, 21 Nov 2011 12:29:05 +0000 (13:29 +0100)]
pad: Merge pad mode activation functions

Add the pad mode to the activate function so that we can reuse the same function
for all activation modes. This makes the core logic smaller and allows for some
elements to make their activation code easier. It would allow us to add more
scheduling modes later without having to add more activate functions.

12 years agodocs: update design doc
Wim Taymans [Fri, 18 Nov 2011 17:08:21 +0000 (18:08 +0100)]
docs: update design doc

also fix default alignment value (0 == no-alignment)

12 years agoquery: improve scheduling query
Wim Taymans [Fri, 18 Nov 2011 16:27:16 +0000 (17:27 +0100)]
query: improve scheduling query

Turns some boolean arguments in the scheduling query to flags, which are easier
to extend and makes the code easier to read.
Make extra methods for configuring and querying the supported scheduling modes.
This should make it easier to add new modes later.

12 years agoquery: move flags closer to buffering query
Wim Taymans [Fri, 18 Nov 2011 13:08:45 +0000 (14:08 +0100)]
query: move flags closer to buffering query

12 years agopad: add parent to activate functions
Wim Taymans [Fri, 18 Nov 2011 12:46:46 +0000 (13:46 +0100)]
pad: add parent to activate functions

12 years agopad: fix scheduling mode enums
Wim Taymans [Fri, 18 Nov 2011 11:35:46 +0000 (12:35 +0100)]
pad: fix scheduling mode enums

GstPadActivateMode -> GstPadMode
GST_PAD_ACTIVATE_* -> GST_PAD_MODE_*

12 years agotypefind: fix for new getrange method signature
Wim Taymans [Thu, 17 Nov 2011 15:14:34 +0000 (16:14 +0100)]
typefind: fix for new getrange method signature

gst_type_find_helper_get_range_ext -> gst_type_find_helper_get_range

12 years agopad: add parent to other functions
Wim Taymans [Thu, 17 Nov 2011 11:40:45 +0000 (12:40 +0100)]
pad: add parent to other functions

Add parent to chain, chain_list, getrange and event functions.

12 years agocollectpads: move fields out of reserved and restore padding
Stefan Sauer [Thu, 17 Nov 2011 07:21:05 +0000 (08:21 +0100)]
collectpads: move fields out of reserved and restore padding

Do the 0.11 ABI changes. Add extra fields for destroy_notify and drop the qdata
hack. Rename _add_pad_full to _add_pad and remove the old _add_pad.

12 years agoadd parent to internal links
Wim Taymans [Wed, 16 Nov 2011 16:49:46 +0000 (17:49 +0100)]
add parent to internal links

12 years agopad: add parent to the query function
Wim Taymans [Wed, 16 Nov 2011 16:22:56 +0000 (17:22 +0100)]
pad: add parent to the query function

12 years agoGstPadFlags: rename flags GST_PAD_* -> GST_PAD_FLAG_*
Wim Taymans [Wed, 16 Nov 2011 11:36:51 +0000 (12:36 +0100)]
GstPadFlags: rename flags GST_PAD_* -> GST_PAD_FLAG_*

12 years agoplugins: remove obsolete parent checks
Wim Taymans [Wed, 16 Nov 2011 11:10:55 +0000 (12:10 +0100)]
plugins: remove obsolete parent checks

12 years agopad: keep the parent alive when requested
Wim Taymans [Wed, 16 Nov 2011 11:08:22 +0000 (12:08 +0100)]
pad: keep the parent alive when requested

Add a new pad flag NEED_PARENT that ensures that the parent of a pad is
reffed and not NULL when the event, query and internal links functions
are called.
When a pad is added to an element automatically make sure the NEED_PARENT flag
is enabled.

12 years agodon't require parent element to proxy
Wim Taymans [Wed, 16 Nov 2011 09:29:47 +0000 (10:29 +0100)]
don't require parent element to proxy

12 years agoupdate porting doc
Wim Taymans [Wed, 16 Nov 2011 09:16:55 +0000 (10:16 +0100)]
update porting doc

12 years agopad: move query convenience functions together
Wim Taymans [Tue, 15 Nov 2011 17:16:24 +0000 (18:16 +0100)]
pad: move query convenience functions together

Move the caps convenience functions to the other query functions.

12 years ago_query_peer_*() -> _peer_query_*()
Wim Taymans [Tue, 15 Nov 2011 16:50:34 +0000 (17:50 +0100)]
_query_peer_*() -> _peer_query_*()

12 years ago_accept_caps() -> _query_accept_caps()
Wim Taymans [Tue, 15 Nov 2011 16:40:19 +0000 (17:40 +0100)]
_accept_caps() -> _query_accept_caps()

12 years ago_peer_get_caps() -> peer_query_caps()
Wim Taymans [Tue, 15 Nov 2011 16:11:46 +0000 (17:11 +0100)]
_peer_get_caps() -> peer_query_caps()

12 years agopad: _get_caps() -> _query_caps()
Wim Taymans [Tue, 15 Nov 2011 15:46:37 +0000 (16:46 +0100)]
pad: _get_caps() -> _query_caps()

12 years agoutils: fix docs
Wim Taymans [Tue, 15 Nov 2011 15:16:53 +0000 (16:16 +0100)]
utils: fix docs

12 years agoutils: fix the proxy functions
Wim Taymans [Tue, 15 Nov 2011 15:13:59 +0000 (16:13 +0100)]
utils: fix the proxy functions

fix the proxy functions for query_accept_caps and query_caps to use the pad
forward helper functions which correctly forwards on the internally linked pads.

12 years agopad: improve some flag macros
Wim Taymans [Tue, 15 Nov 2011 15:13:28 +0000 (16:13 +0100)]
pad: improve some flag macros

12 years agopad: fix debug line
Wim Taymans [Tue, 15 Nov 2011 15:13:15 +0000 (16:13 +0100)]
pad: fix debug line

12 years agopad: remove getcaps and use caps query
Wim Taymans [Tue, 15 Nov 2011 10:20:48 +0000 (11:20 +0100)]
pad: remove getcaps and use caps query

Remove the getcaps function on the pad and use the CAPS query for
the same effect.
Add PROXY_CAPS to the pad flags. This instructs the default caps event and query
handlers to pass on the CAPS related queries and events. This simplifies a lot
of elements that passtrough caps negotiation.
Make two utility functions to proxy caps queries and aggregate the result. Needs
to use the pad forward function instead later.
Make the _query_peer_ utility functions use the gst_pad_peer_query() function to
make sure the probes are emited properly.

12 years agoquery: add caps query
Wim Taymans [Mon, 14 Nov 2011 10:26:17 +0000 (11:26 +0100)]
query: add caps query

12 years agoquery: remove GST_QUERY_LAST
Tim-Philipp Müller [Mon, 14 Nov 2011 09:57:32 +0000 (09:57 +0000)]
query: remove GST_QUERY_LAST

12 years agofix docs
Wim Taymans [Mon, 14 Nov 2011 09:27:01 +0000 (10:27 +0100)]
fix docs

12 years agocontroller: remove functions to add/remove controlled properties
Stefan Sauer [Sat, 12 Nov 2011 08:29:30 +0000 (10:29 +0200)]
controller: remove functions to add/remove controlled properties

Make that implizit with attaching/detaching controlsources. This is a lot easier
and has less invalid state (controlled property without control source).

12 years agoplugins, tools: update for get_protocols() return value change
Tim-Philipp Müller [Sun, 13 Nov 2011 23:25:23 +0000 (23:25 +0000)]
plugins, tools: update for get_protocols() return value change

12 years agouri: clean up header files
Tim-Philipp Müller [Sun, 13 Nov 2011 23:14:15 +0000 (23:14 +0000)]
uri: clean up header files

Tabs to spaces.

12 years agourihandler: fix return type of get_protocols()
Tim-Philipp Müller [Sun, 13 Nov 2011 23:07:58 +0000 (23:07 +0000)]
urihandler: fix return type of get_protocols()

12 years agourihandler: fix return type of _get_uri_type()
Tim-Philipp Müller [Sun, 13 Nov 2011 20:56:02 +0000 (20:56 +0000)]
urihandler: fix return type of _get_uri_type()

Return a GstURIType and not a plain guint.

12 years agotests: update unit tests for URI handler API changes
Tim-Philipp Müller [Sun, 13 Nov 2011 17:45:19 +0000 (17:45 +0000)]
tests: update unit tests for URI handler API changes

12 years agoelements: update fd + file sources and sinks for GstUriHandler changes
Tim-Philipp Müller [Sun, 13 Nov 2011 17:44:57 +0000 (17:44 +0000)]
elements: update fd + file sources and sinks for GstUriHandler changes

12 years agourihandler: pass GError argument to gst_uri_handler_set_uri()
Tim-Philipp Müller [Sun, 13 Nov 2011 17:44:06 +0000 (17:44 +0000)]
urihandler: pass GError argument to gst_uri_handler_set_uri()

Also let gst_uri_handler_set_uri check already if the protocol
is supported, so that not every uri handler has to do that
itself.

12 years agourihandler: make _get_uri() return a copy
Tim-Philipp Müller [Sun, 13 Nov 2011 15:51:44 +0000 (15:51 +0000)]
urihandler: make _get_uri() return a copy

For thread-safety.

12 years agourihandler: remove "new-uri" signal
Tim-Philipp Müller [Sun, 13 Nov 2011 15:37:40 +0000 (15:37 +0000)]
urihandler: remove "new-uri" signal

No one but filesrc used that API. Should probably be replaced by
requiring an "uri" property instead, and then objects can do a
notify on that. Also removed interface structure padding, it's
not needed.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sun, 13 Nov 2011 13:23:09 +0000 (13:23 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
tools/gst-inspect.c

12 years agogst-inspect: print current value as default value
Tim-Philipp Müller [Sat, 12 Nov 2011 16:42:14 +0000 (16:42 +0000)]
gst-inspect: print current value as default value

Instead of printing separate 'Current' and 'Default' values
(the former obtained via g_object_get() and the latter from
the property GParamSpec), simply print the Current value as
the Default value. This is the right thing to do for almost
all elements and avoids confusion if a subclass of a base
class chooses a different default than the base class.

12 years agogst, controller: replace g_list_prepend + reverse with GQueue
Tim-Philipp Müller [Sat, 12 Nov 2011 14:55:07 +0000 (14:55 +0000)]
gst, controller: replace g_list_prepend + reverse with GQueue

12 years agodocs: fix typo in buffer docs
Tim-Philipp Müller [Sat, 12 Nov 2011 14:04:10 +0000 (14:04 +0000)]
docs: fix typo in buffer docs

12 years agobasetransform: fix caps unref in transform_caps filter subset check
René Stadler [Sat, 12 Nov 2011 00:54:44 +0000 (01:54 +0100)]
basetransform: fix caps unref in transform_caps filter subset check

I did not test this, but the code looked very wrong.

12 years agoquery: do not return a ref from parse_accept_caps
René Stadler [Sat, 12 Nov 2011 00:51:11 +0000 (01:51 +0100)]
query: do not return a ref from parse_accept_caps

Makes this exactly like gst_event_parse_caps. This is what current code
expects, so it fixes some leaks.

12 years ago.h: fix header files
Wim Taymans [Fri, 11 Nov 2011 16:17:43 +0000 (17:17 +0100)]
.h: fix header files

Ensure correct indentation and retab
Make sure all structure have padding

12 years ago.h: fix header files
Wim Taymans [Fri, 11 Nov 2011 15:52:41 +0000 (16:52 +0100)]
.h: fix header files

Ensure correct indentation and :retab.
Make sure all structures have padding
Fix up some old ABI additions.

12 years agodocs: fix invalid xml
Stefan Sauer [Fri, 11 Nov 2011 15:04:52 +0000 (17:04 +0200)]
docs: fix invalid xml

12 years agobuffer: avoid < -1 sizes
Wim Taymans [Fri, 11 Nov 2011 09:00:35 +0000 (10:00 +0100)]
buffer: avoid < -1 sizes

12 years agobuffer, memory: make size arguments where -1 is allowed signed
Tim-Philipp Müller [Fri, 11 Nov 2011 01:47:30 +0000 (01:47 +0000)]
buffer, memory: make size arguments where -1 is allowed signed

12 years agowin32: update .def file for latest API changes
Tim-Philipp Müller [Fri, 11 Nov 2011 01:44:16 +0000 (01:44 +0000)]
win32: update .def file for latest API changes

12 years agocontroller: merge controller into gstobject
Stefan Sauer [Thu, 10 Nov 2011 17:37:28 +0000 (19:37 +0200)]
controller: merge controller into gstobject

This make the controller even more lightweight (no extra object, no extra lock,
less indirections). For object that don't use the controller the only 'overhead'
is a 3 unused fields in the gst_object structure.

12 years agonetmeta: avoid using g[u]long in headers
Wim Taymans [Thu, 10 Nov 2011 17:58:35 +0000 (18:58 +0100)]
netmeta: avoid using g[u]long in headers

12 years agoadapter: remove flush from _unmap
Wim Taymans [Thu, 10 Nov 2011 17:18:24 +0000 (18:18 +0100)]
adapter: remove flush from _unmap

12 years agobasesrc: implement a default get_caps function
Wim Taymans [Thu, 10 Nov 2011 15:02:59 +0000 (16:02 +0100)]
basesrc: implement a default get_caps function

Don't rely on the return value of a vmethod to trigger the default
implementation but make a real defaul implementation of the method that the
subclass can chain up to.

12 years agogstbuffer: remove incorrect assertion
Vincent Penquerc'h [Thu, 10 Nov 2011 14:13:54 +0000 (14:13 +0000)]
gstbuffer: remove incorrect assertion

Offset and sizes have no bearing on each other here.

12 years agowin32: Update def files
Edward Hervey [Thu, 10 Nov 2011 12:59:28 +0000 (13:59 +0100)]
win32: Update def files

12 years agogst: More introspection annotations
Edward Hervey [Thu, 10 Nov 2011 12:53:33 +0000 (13:53 +0100)]
gst: More introspection annotations

12 years agogstmemory: Register a GBoxed GType
Edward Hervey [Thu, 10 Nov 2011 12:51:28 +0000 (13:51 +0100)]
gstmemory: Register a GBoxed GType

Allows using it from g-i

12 years agointrospection: Add --warn-all to introspection scanner
Edward Hervey [Thu, 10 Nov 2011 12:50:23 +0000 (13:50 +0100)]
introspection: Add --warn-all to introspection scanner

... and let's get fixing all those docs !

12 years agobasetransform: fix vmethods
Wim Taymans [Thu, 10 Nov 2011 12:38:58 +0000 (13:38 +0100)]
basetransform: fix vmethods

Make a default implementation of the transform_caps vmethod so that subclasses
can call into it.
Make a default implementation of transform_size.
Avoid doing something in the vmethod trampoline.

12 years agotests: only override when != NULL
Wim Taymans [Thu, 10 Nov 2011 12:37:12 +0000 (13:37 +0100)]
tests: only override when != NULL

Only override the methods in the unit tests when != NULL otherwise we might
override the default implementation.

12 years agopushsrc: make alloc method a vmethod
Wim Taymans [Thu, 10 Nov 2011 12:36:10 +0000 (13:36 +0100)]
pushsrc: make alloc method a vmethod

12 years agobasesink: reorder vmethod according to .h file
Wim Taymans [Thu, 10 Nov 2011 11:33:49 +0000 (12:33 +0100)]
basesink: reorder vmethod according to .h file