gstreamer/testsuite
Andy Wingo a8b84d8a57 gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/.
Original commit message from CVS:
2004-02-05  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (_gst_real_pad_fixate_accumulator):
s/pointer/boxed/.

* gst/gstmarshal.list (VOID:BOXED, BOXED:BOXED): New marshallers.

* gst/gstpad.c (gst_real_pad_class_init): Use a BOXED:BOXED
marshaller for ::fixate, and VOID:BOXED for ::caps-nego-failed,
with the type=GST_TYPE_CAPS. This allows language bindings to know
what kind of data they're dealing with.

* gst/gstcaps.c (_gst_caps_value_init): GBoxed values initialize
to NULL when g_value_init is called. GstCaps, which rolls its own
type implementation, now does the same instead of allocating empty
caps.
(_gst_caps_initialize, _gst_caps_collect_value,
_gst_caps_lcopy_value): Provide collect_value and lcopy_value type
table methods. This allows G_VALUE_COLLECT to work.

2004-02-05  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* testsuite/Makefile.am (SUBDIRS):
* testsuite/ghostpads/Makefile.am:
* testsuite/ghostpads/ghostpads.c: A new test for ghost pads.

* gst/gstpad.c (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad):
These two routines are the only ones that set
GST_GPAD_REALPAD(gpad), the ghost pad list, and the ghost pad's
pad template. They should be made static, depending on ABI needs.
(gst_real_pad_dispose): Handle the case of ghost pads without a
parent. Assert after dealing with ghost pads that the ghost pad
list is empty.
(gst_ghost_pad_class_init): New property added, ::real-pad. Can be
set after creation.
(gst_ghost_pad_dispose): Set ::real-pad to NULL.
(gst_ghost_pad_set_property, gst_ghost_pad_get_property): New
functions. set_property will call add_ghost_pad/remove_ghost_pad
as appropriate.
(gst_ghost_pad_new): All the work is offloaded to g_object_new.

* gst/gstelement.c (gst_element_add_pad): Handle ghost pads as well.
(gst_element_add_ghost_pad): Remove code duplicated from _add_pad.
(gst_element_remove_pad): Handle ghost pads as well.
(gst_element_remove_ghost_pad): Deprecated (could be removed,
depending on API-stability needs).

2004-02-05  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.[ch]: (gst_bin_get_by_interface): GTypes are scalars,
of course they're const
2004-02-05 13:51:26 +00:00
..
bins add tests for gst_bin_get_(all_)by_interface 2003-12-16 19:32:27 +00:00
bytestream Merge CAPS branch 2003-12-22 01:39:35 +00:00
caps configure.ac: Add detection for HAVE_PRINTF_EXTENSION and 2004-01-29 01:20:23 +00:00
cleanup update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov. 2004-01-12 16:53:23 +00:00
clock gst/gstclock.*: deprecate old interface and disable functions that aren't in use anymore. 2004-01-14 00:46:48 +00:00
debug configure.ac: Add detection for HAVE_PRINTF_EXTENSION and 2004-01-29 01:20:23 +00:00
dynparams update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov. 2004-01-12 16:53:23 +00:00
elements Disable code which does stuff we don't approve of 2003-12-22 18:58:58 +00:00
ghostpads gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
indexers Massive patch to make 'make check' work properly. Many compilation fixes -- everything should compile now. Some tes... 2003-10-15 01:25:41 +00:00
parse Massive patch to make 'make check' work properly. Many compilation fixes -- everything should compile now. Some tes... 2003-10-15 01:25:41 +00:00
plugin update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov. 2004-01-12 16:53:23 +00:00
refcounting cosmetic fix 2003-11-04 05:47:28 +00:00
states Massive patch to make 'make check' work properly. Many compilation fixes -- everything should compile now. Some tes... 2003-10-15 01:25:41 +00:00
tags oops, forgot to add tests 2003-11-24 02:27:51 +00:00
threads gst/gstclock.*: deprecate old interface and disable functions that aren't in use anymore. 2004-01-14 00:46:48 +00:00
.gitignore update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov. 2004-01-12 16:53:23 +00:00
gst-inspect-check make gst-inspect-gui call the proper gst-inspect 2002-05-11 23:33:32 +00:00
Makefile.am gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
Rules make the plugin path more restrictive 2003-11-19 22:59:19 +00:00
test_gst_init.c Updated test to have a comment explaining its purpose (very important this, especially for regression tests), and to ... 2001-03-09 12:29:51 +00:00