gstreamer/gst
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
..
autoplug Fix some memleaks: 2004-02-05 02:44:34 +00:00
elements gst/autoplug/gstspideridentity.c: use get_allowed_caps, not get_caps (fixes #132519) 2004-02-04 22:16:30 +00:00
indexers 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
parse gst/gstevent.c: actually break; inside the switch statement 2004-02-04 17:24:23 +00:00
registries Fix memory leaks: 2004-02-02 20:25:02 +00:00
schedulers suffix errors with period. 2004-01-31 19:30:31 +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
cothreads.c gst/cothreads.c: Add another fallback if MAP_ANONYMOUS is missing (#132991) 2004-01-30 21:26:15 +00:00
cothreads.h Remove GCC-ism used to find current stack pointer, and use this opportunity to clean up the code slightly. Based on ... 2003-01-21 22:01:37 +00:00
gettext.h adding i18n tested with nl, seems to work fine 2004-01-13 11:30:00 +00:00
gst-i18n-app.h add gstelement.c for translation remove config.h from i18n headers 2004-01-19 15:49:52 +00:00
gst-i18n-lib.h add gstelement.c for translation remove config.h from i18n headers 2004-01-19 15:49:52 +00:00
gst.c add GstPoptOption to work around evil poptOption struct def make sure popt is i18n'd expand gnome example 2004-02-03 14:59:32 +00:00
gst.h add GstPoptOption to work around evil poptOption struct def make sure popt is i18n'd expand gnome example 2004-02-03 14:59:32 +00:00
gst_private.h changing error signal add error codes and domains 2004-01-18 21:36:20 +00:00
gstarch.h Fix powerpc asm 2003-12-18 09:41:49 +00:00
gstatomic.c - copy kernel headers (waiting for libatomic..) 2002-12-31 03:21:08 +00:00
gstatomic.h a bunch of gtk-doc fixes 2003-05-18 15:03:34 +00:00
gstatomic_impl.h Fix powerpc stuff for non-gas assemblers 2003-09-22 19:15:27 +00:00
gstbin.c gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
gstbin.h gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
gstbuffer.c actually use the free_data function 2004-01-12 01:41:23 +00:00
gstbuffer.h gst/elements/gstfilesrc.*: don't ref the filesrc when creating mmaped buffers. Don't keep a list of not-yet-destroyed... 2004-02-03 00:27:09 +00:00
gstcaps.c gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
gstcaps.h revert patch that breaks applications revert this patch after release so everything can be fixed properly 2004-02-05 13:32:09 +00:00
gstclock.c gst/gstclock.*: reset padding, remove unused fields 2004-02-04 22:35:12 +00:00
gstclock.h gst/gstclock.*: reset padding, remove unused fields 2004-02-04 22:35:12 +00:00
gstcompat.h Add G_BEGIN_DECLS/G_END_DECLS to exported headers 2003-07-18 20:51:02 +00:00
gstconfig.h.in configure.ac: Add detection for HAVE_PRINTF_EXTENSION and 2004-01-29 01:20:23 +00:00
gstcpu.c GST_DEBUG reorganization containing loads of stuff: 2003-06-29 14:05:49 +00:00
gstcpu.h Add G_BEGIN_DECLS/G_END_DECLS to exported headers 2003-07-18 20:51:02 +00:00
gstcpuid_i386.s Added CPU detection. 2000-09-12 18:13:48 +00:00
gstdata.c GST_DEBUG reorganization containing loads of stuff: 2003-06-29 14:05:49 +00:00
gstdata.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gstdata_private.h - copy kernel headers (waiting for libatomic..) 2002-12-31 03:21:08 +00:00
gstelement.c gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
gstelement.h increment current, reset padding 2004-02-04 21:35:39 +00:00
gstelementfactory.c Merge CAPS branch 2003-12-22 01:39:35 +00:00
gsterror.c add error symbol start translating gst-inspect 2004-02-03 11:23:59 +00:00
gsterror.h add error symbol start translating gst-inspect 2004-02-03 11:23:59 +00:00
gstevent.c gst/gstevent.c: actually break; inside the switch statement 2004-02-04 17:24:23 +00:00
gstevent.h docs/random/ds/0.9-suggested-changes: random notes 2004-02-04 19:38:33 +00:00
gstfilter.c - Added infrastructure to run a filter against plugins, registries and registrypools. This makes it possible to creat... 2003-04-14 18:53:03 +00:00
gstfilter.h Add G_BEGIN_DECLS/G_END_DECLS to exported headers 2003-07-18 20:51:02 +00:00
gstformat.c - moved functionality of GST_FORMAT_UNITS to GST_FORMAT_DEFAULT, the old _DEFAULT functionality was ambigous; now the... 2003-05-24 10:30:37 +00:00
gstformat.h remove trailing comma for gtk-doc 2003-12-24 12:55:00 +00:00
gstindex.c gst/: get rid of gstmarshal.h dependency. It's not needed. 2004-02-03 03:31:26 +00:00
gstindex.h Removed needless semicolon that was causing a compiler error with Forte. 2003-12-15 18:22:57 +00:00
gstinfo.c configure.ac: Add detection for HAVE_PRINTF_EXTENSION and 2004-01-29 01:20:23 +00:00
gstinfo.h configure.ac: Add detection for HAVE_PRINTF_EXTENSION and 2004-01-29 01:20:23 +00:00
gstinterface.c make sure all API gets built sync .c with .h 2004-01-30 19:06:13 +00:00
gstinterface.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gstlog.h Add glib.h for G_BEGIN_DECLS 2003-07-18 21:35:40 +00:00
gstmacros.h Add G_BEGIN_DECLS/G_END_DECLS to exported headers 2003-07-18 20:51:02 +00:00
gstmarshal.list gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
gstmemchunk.c And now it's inlined again :) 2003-01-06 23:59:04 +00:00
gstmemchunk.h - First pass at cleaning up the atomic mess 2002-12-29 19:19:45 +00:00
gstobject.c gst/: get rid of gstmarshal.h dependency. It's not needed. 2004-02-03 03:31:26 +00:00
gstobject.h gst/: get rid of gstmarshal.h dependency. It's not needed. 2004-02-03 03:31:26 +00:00
gstpad.c gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. 2004-02-05 13:51:26 +00:00
gstpad.h increment current, reset padding 2004-02-04 21:35:39 +00:00
gstparse.c GST_DEBUG reorganization containing loads of stuff: 2003-06-29 14:05:49 +00:00
gstparse.h add extra error for empty pipeline 2003-04-27 23:56:31 +00:00
gstpipeline.c parts of the patch submitted in bug #113913 2004-01-30 20:48:13 +00:00
gstpipeline.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gstplugin.c gst/gstelement.h: remove gst_element_factory_get_version. It doesn't exist anymore. 2004-01-26 03:44:14 +00:00
gstplugin.h gst/gstelement.h: remove gst_element_factory_get_version. It doesn't exist anymore. 2004-01-26 03:44:14 +00:00
gstpluginfeature.c fix output of typefind add GPL headers fix doc snippet 2004-01-20 14:09:42 +00:00
gstpluginfeature.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gstprobe.c Add code to poison objects being destroyed 2003-08-19 04:10:29 +00:00
gstprobe.h so it's no big thing. 2003-02-27 18:56:30 +00:00
gstquery.c Documentation updates 2003-01-02 18:56:09 +00:00
gstquery.h Change 'const' to 'G_CONST_RETURN' in header files 2003-11-29 06:34:05 +00:00
gstqueue.c suffix errors with period. 2004-01-31 19:30:31 +00:00
gstqueue.h increment current, reset padding 2004-02-04 21:35:39 +00:00
gstregistry.c Make the type G_TYPE_POINTER instead of GST_TYPE_PLUGIN. Fixes a crash in gst-register 2003-11-14 15:54:47 +00:00
gstregistry.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gstregistrypool.c Remove check for readability of a registry, since if it doesn't exist, it's not readable. Lower-level functions alre... 2003-08-02 01:53:08 +00:00
gstregistrypool.h - Added infrastructure to run a filter against plugins, registries and registrypools. This makes it possible to creat... 2003-04-14 18:53:03 +00:00
gstscheduler.c gst/gstclock.*: deprecate old interface and disable functions that aren't in use anymore. 2004-01-14 00:46:48 +00:00
gstscheduler.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gststructure.c revert patch that breaks applications revert this patch after release so everything can be fixed properly 2004-02-05 13:32:09 +00:00
gststructure.h make sure all API gets built sync .c with .h 2004-01-30 19:06:13 +00:00
gstsystemclock.c gst/gstcaps.c: add sanity checks 2003-12-27 13:51:31 +00:00
gstsystemclock.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gsttag.c gst/gsttag.*: remove duplicated field GST_TAG_APPLICATION. It's GST_TAG_ENCODER 2004-02-05 02:58:48 +00:00
gsttag.h gst/gsttag.*: remove duplicated field GST_TAG_APPLICATION. It's GST_TAG_ENCODER 2004-02-05 02:58:48 +00:00
gsttaginterface.c fixing docs errors 2004-02-03 10:47:26 +00:00
gsttaginterface.h Add interface to setting GValues directly. 2003-12-23 04:50:01 +00:00
gsttaglist.c gst/gsttag.*: remove duplicated field GST_TAG_APPLICATION. It's GST_TAG_ENCODER 2004-02-05 02:58:48 +00:00
gsttaglist.h gst/gsttag.*: remove duplicated field GST_TAG_APPLICATION. It's GST_TAG_ENCODER 2004-02-05 02:58:48 +00:00
gsttagsetter.c fixing docs errors 2004-02-03 10:47:26 +00:00
gsttagsetter.h Add interface to setting GValues directly. 2003-12-23 04:50:01 +00:00
gstthread.c gst/: get rid of gstmarshal.h dependency. It's not needed. 2004-02-03 03:31:26 +00:00
gstthread.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gstthreaddummy.c Add unistd.h (#110671) 2003-05-17 13:10:00 +00:00
gsttrace.c parts of the patch submitted in bug #113913 2004-01-30 20:48:13 +00:00
gsttrace.h Change 'const' to 'G_CONST_RETURN' in header files 2003-11-29 06:34:05 +00:00
gsttrashstack.c And now it's inlined again :) 2003-01-06 23:59:04 +00:00
gsttrashstack.h Add new --enable-fast-stack-trash option, defaults to on. 2003-05-31 09:51:28 +00:00
gsttypefind.c Merge CAPS branch 2003-12-22 01:39:35 +00:00
gsttypefind.h rename gstcaps2.[ch] to gstcaps.[ch] 2003-12-22 01:58:20 +00:00
gsttypes.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gsturi.c Change usage of isblah() to g_ascii_isblah() to be more locale independent. (#133076) 2004-02-02 21:08:52 +00:00
gsturi.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
gsturitype.c GST_DEBUG reorganization containing loads of stuff: 2003-06-29 14:05:49 +00:00
gsturitype.h new uritype 2003-02-10 20:33:50 +00:00
gstutils.c Change usage of isblah() to g_ascii_isblah() to be more locale independent. (#133076) 2004-02-02 21:08:52 +00:00
gstutils.h gst/gstutils.h: GST_PARENT_CALL and 2004-01-08 04:10:18 +00:00
gstvalue.c configure.ac: Add detection for HAVE_PRINTF_EXTENSION and 2004-01-29 01:20:23 +00:00
gstvalue.h make sure all API gets built sync .c with .h 2004-01-30 19:06:13 +00:00
gstversion.h.in fix non-gtk-doc comment blocks 2003-12-24 14:39:46 +00:00
gstxml.c gst/: get rid of gstmarshal.h dependency. It's not needed. 2004-02-03 03:31:26 +00:00
gstxml.h Change GST_.*_PADDING to _gst_padding[GST_PADDING]; 2003-12-09 02:39:31 +00:00
Makefile.am changing error signal add error codes and domains 2004-01-18 21:36:20 +00:00
Makefile.am.future Update Makefile.am.future - a replacement for Makefile.am which uses features present in recent versions of automake ... 2001-05-29 12:43:21 +00:00
ROADMAP A bunch more changes to clean up build/make dist issues, as well as a spec file, -config file, .m4, etc. Next step... 2000-01-31 06:46:18 +00:00