gstreamer/tests
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
..
bufspeed ignore file 2004-02-05 11:05:02 +00:00
instantiate 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
memchunk 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
muxing 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
negotiation Small example that shows caps nego recovery. 2003-04-17 22:32:59 +00:00
old gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
probes Added test for dynamic reconfiguration of pipelines triggered by padprobes 2003-02-27 21:07:31 +00:00
sched 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
seeking 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
threadstate 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
.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
lat.c Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha. 2003-02-01 20:29:27 +00:00
Makefile.am gst/elements/gstfilesink.c: Fix for if we pass NULL as property to location. 2004-01-07 13:13:03 +00:00
README put everything in tests/ 2002-01-05 01:25:28 +00:00

This directory contains various tests designed to test GStreamer's
behavior. When these tests work, they should be recast in the form
of regression tests and moved to ../testsuite.