gstreamer/gst
Andy Wingo 7c0804b15c testsuite/caps/value_serialize.c: merge from HEAD.
Original commit message from CVS:
2005-02-10  Andy Wingo  <wingo@pobox.com>

* testsuite/caps/value_serialize.c: merge from HEAD.

* testsuite/caps/subtract.c:
* testsuite/caps/filtercaps.c:
* testsuite/caps/enumcaps.c:
* testsuite/caps/deserialize.c:
* testsuite/caps/caps.c:
* testsuite/caps/audioscale.c: Unref caps, not free.

* testsuite/caps/caps_strings: Merged from HEAD.

* gst/elements/gstidentity.c (gst_identity_proxy_getcaps): Getcaps
implementation for identity.

* gst/gststructure.h
* gst/gststructure.c
(gst_caps_structure_fixate_field_nearest_double):
(gst_caps_structure_fixate_field_nearest_int): Moved from
gstcaps.c because we need the private IS_MUTABLE macro.
(IS_MUTABLE): New macro, determines if a
structure is mutable or not.
(gst_structure_free): Don't allow free while holding a pointer to
a parent's refcount.
(gst_structure_set_name): Check for writability.
(gst_structure_id_set_value): Same.
(gst_structure_set_value): Same.
(gst_structure_set_valist): Same.
(gst_structure_remove_field): Same.
(gst_structure_remove_all_fields): Same.
(gst_structure_map_in_place): New routine, like _foreach but
allows the function to mutate the value (via a non-const
prototype). Check for writability.
(gst_structure_foreach): Redefine to only take non-mutating
functions.

* gst/gstcaps.c (IS_WRITABLE): New macro, returns TRUE if the caps
are writable.
(gst_caps_copy): Add some docs about mutability, etc.
(_gst_caps_free): Set the parent refcount pointer on structures to
NULL before freeing them.
(gst_caps_ref): Document.
(gst_caps_make_writable): Doc.
(gst_caps_make_writable): Changed to make_writable, get_writable
sounds too much like retrieving a property.
(gst_caps_copy_1): Removed, not very useful.
(gst_caps_ref_by_count): Removed, no need to have something GLib
doesn't.
(gst_caps_copy_conditional): Ref instead of copying.
(gst_static_caps_get): Retain a reference to the returned caps, so
that the static caps will remain immutable.
(gst_caps_remove_and_get_structure): Set the parent refcount to
NULL when removing the structure.
(gst_caps_append): Fix to work with structure parent refcounts.
Check for writability.
(gst_caps_append_structure): Check for writability, work with
parent refcounts.
(gst_caps_remove_structure): Check for writability.
(gst_caps_set_simple): Check for writability.
(gst_caps_set_simple_valist): Check for writability.
(gst_caps_is_fixed_foreach): Update for non-mutating foreach.
(gst_structure_is_equal_foreach): Same.
(gst_caps_structure_intersect_field): Same.
(gst_caps_structure_subtract_field): Same. Make static.
(gst_caps_normalize_foreach): Same.
(gst_caps_structure_figure_out_union): Same.
(gst_caps_switch_structures): New static function, switches out
structures inside a caps, taking care of parent_refcount setting.

* gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
on only src pads, wim von masterhack claims it was bogus.

* testsuite/caps/Makefile.am
* testsuite/caps/app_fixate.c: Removed app_fixate test, things are
done a bit differently in THREADED.
2005-02-10 19:40:23 +00:00
..
autoplug gst/autoplug/gstspideridentity.c: Don't crash if that function is not implemented. 2004-11-07 17:16:31 +00:00
elements testsuite/caps/value_serialize.c: merge from HEAD. 2005-02-10 19:40:23 +00:00
indexers keep this up to date, since I seem to be the only one who cares about not missing files on commits 2004-07-21 21:37:31 +00:00
parse gst/: Fix scheduler distribution. 2004-12-29 10:49:28 +00:00
registries Clock updates, remove deprecated methods, simplify operations. 2004-12-31 10:44:46 +00:00
schedulers Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
.gitignore keep this up to date, since I seem to be the only one who cares about not missing files on commits 2004-07-21 21:37:31 +00:00
cothreads.c gst/: Aplied part of patch #157127: Cleanup of issues reported by sparse. 2004-11-02 15:02:12 +00:00
cothreads.h gst/: implement gst_pad_collect as replacement for gst_pad_select. 2004-04-04 02:36:12 +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 Enable NLS under Windows 2004-06-12 10:45:54 +00:00
gst-i18n-lib.h A bunch of portability fixes, derived from Steve Lhomme's MSVC 2004-04-28 23:26:06 +00:00
gst.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gst.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gst_private.h gst/: More MT safety fixes following the desing doc. 2004-12-09 21:08:13 +00:00
gstarch.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstatomic.c Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ... 2004-05-07 02:36:28 +00:00
gstatomic.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstatomic_impl.h gst/gstatomic_impl.h: Enable atomic code for x86_64 2004-07-30 23:32:52 +00:00
gstbin.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstbin.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstbuffer.c gst/gstbuffer.*: Re-add gst_buffer_join (). 2005-02-05 16:24:12 +00:00
gstbuffer.h gst/gstbuffer.*: Re-add gst_buffer_join (). 2005-02-05 16:24:12 +00:00
gstbus.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstbus.h More state change fixes. 2005-01-18 10:52:08 +00:00
gstcaps.c testsuite/caps/value_serialize.c: merge from HEAD. 2005-02-10 19:40:23 +00:00
gstcaps.h testsuite/caps/value_serialize.c: merge from HEAD. 2005-02-10 19:40:23 +00:00
gstclock.c gst/: Inline refcounting.. not sure why it wasn't before. 2005-02-03 17:05:21 +00:00
gstclock.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstcompat.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstconfig.h.in remove unused .def files and export symbols using GST_PLUGIN_DEFINE 2004-07-25 11:07:03 +00:00
gstcpu.c More state change fixes. 2005-01-18 10:52:08 +00:00
gstcpu.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstdata.c More state change fixes. 2005-01-18 10:52:08 +00:00
gstdata.h adding gstdata tests, cleaning up source files 2004-12-21 15:51:09 +00:00
gstdata_private.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstelement.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstelement.h gst/: Re-add gst_element_class_install_std_props, move to gstutils.h. 2005-02-01 17:26:44 +00:00
gstelementfactory.c commiting wim's preliminary threaded work to a branch 2004-12-08 17:40:37 +00:00
gsterror.c gst/gstbuffer.*: Re-add gst_buffer_join (). 2005-02-05 16:24:12 +00:00
gsterror.h gst/gstbuffer.*: Re-add gst_buffer_join (). 2005-02-05 16:24:12 +00:00
gstevent.c Bus cleanups. 2005-01-11 14:58:12 +00:00
gstevent.h gst/: Work on flushing. 2005-01-04 12:06:57 +00:00
gstfilter.c Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ... 2004-05-07 02:36:28 +00:00
gstfilter.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstformat.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstformat.h Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstindex.c commiting wim's preliminary threaded work to a branch 2004-12-08 17:40:37 +00:00
gstindex.h fix for #150242 2004-08-16 10:35:36 +00:00
gstinfo.c gst/: Inline refcounting.. not sure why it wasn't before. 2005-02-03 17:05:21 +00:00
gstinfo.h Clock updates, remove deprecated methods, simplify operations. 2004-12-31 10:44:46 +00:00
gstinterface.c remove gst_info remove gstlog.h, fold back to gstinfo.h update translations 2004-05-03 16:03:24 +00:00
gstinterface.h put symbols in the sections.txt into the right sections (so that we dont get wrong undocumented symbols) added TITLE ... 2004-07-21 11:32:09 +00:00
gstiterator.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstiterator.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstmacros.h A bunch of portability fixes, derived from Steve Lhomme's MSVC 2004-04-28 23:26:06 +00:00
gstmarshal.list gst/gstmarshal.list: add missing marshaller, fixes build 2004-11-03 21:01:44 +00:00
gstmemchunk.c Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstmemchunk.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstmessage.c Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstmessage.h Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstobject.c gst/: Inline refcounting.. not sure why it wasn't before. 2005-02-03 17:05:21 +00:00
gstobject.h add _get/_set_name_prefix() for debugging. Update docs. 2004-12-14 11:47:44 +00:00
gstpad.c testsuite/caps/value_serialize.c: merge from HEAD. 2005-02-10 19:40:23 +00:00
gstpad.h More state change fixes. 2005-01-18 10:52:08 +00:00
gstparse.c gst/gstparse.c: Free the GString used in _gst_parse_escape() 2004-04-21 22:56:59 +00:00
gstparse.h put symbols in the sections.txt into the right sections (so that we dont get wrong undocumented symbols) added TITLE ... 2004-07-21 11:32:09 +00:00
gstpipeline.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstpipeline.h Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstplugin.c More state change fixes. 2005-01-18 10:52:08 +00:00
gstplugin.h commiting wim's preliminary threaded work to a branch 2004-12-08 17:40:37 +00:00
gstpluginfeature.c Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstpluginfeature.h Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstprobe.c Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstprobe.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstquery.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstquery.h Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gstqueue.c Bus cleanups. 2005-01-11 14:58:12 +00:00
gstqueue.h Bus cleanups. 2005-01-11 14:58:12 +00:00
gstregistry.c gst/gstregistry.c: refuse to add plugins when a plugin with same name is already registered. Fixes a bunch of "How to... 2004-05-10 00:35:59 +00:00
gstregistry.h A bunch of portability fixes, derived from Steve Lhomme's MSVC 2004-04-28 23:26:06 +00:00
gstregistrypool.c remove gst_info remove gstlog.h, fold back to gstinfo.h update translations 2004-05-03 16:03:24 +00:00
gstregistrypool.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstscheduler.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstscheduler.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gststructure.c testsuite/caps/value_serialize.c: merge from HEAD. 2005-02-10 19:40:23 +00:00
gststructure.h testsuite/caps/value_serialize.c: merge from HEAD. 2005-02-10 19:40:23 +00:00
gstsystemclock.c Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gstsystemclock.h Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gsttag.c added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gsttag.h gst/gstbuffer.c: (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed to using it. 2004-04-13 02:22:02 +00:00
gsttaginterface.c Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ... 2004-05-07 02:36:28 +00:00
gsttaginterface.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gsttaglist.c added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gsttaglist.h gst/gstbuffer.c: (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed to using it. 2004-04-13 02:22:02 +00:00
gsttagsetter.c Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ... 2004-05-07 02:36:28 +00:00
gsttagsetter.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gsttask.c Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gsttask.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gsttrace.c gst/gstinfo.h: Add missing inline function. 2004-05-10 18:07:24 +00:00
gsttrace.h gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler 2004-07-03 04:59:12 +00:00
gsttrashstack.c Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ... 2004-05-07 02:36:28 +00:00
gsttrashstack.h Clock fixes. Added async callbacks and clock unscheduling. 2005-01-06 18:17:12 +00:00
gsttypefind.c commiting wim's preliminary threaded work to a branch 2004-12-08 17:40:37 +00:00
gsttypefind.h docs/gst/Makefile.am: Disable a bunch of headers from being scanned 2004-03-30 07:36:19 +00:00
gsttypes.h Removed schedulers and compat stuff. 2005-01-26 10:56:09 +00:00
gsturi.c gst/gsturi.c (gst_uri_get_location): unescape string escape string. 2004-10-11 09:44:05 +00:00
gsturi.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gsturitype.c GST_DEBUG reorganization containing loads of stuff: 2003-06-29 14:05:49 +00:00
gsturitype.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstutils.c gst/: Inline refcounting.. not sure why it wasn't before. 2005-02-03 17:05:21 +00:00
gstutils.h gst/: Inline refcounting.. not sure why it wasn't before. 2005-02-03 17:05:21 +00:00
gstvalue.c gst/: Deprecate _type_is_fixed, use _value_is_fixed instead, since the fixedness depends on the content. 2004-11-29 17:02:09 +00:00
gstvalue.h gst/: Deprecate _type_is_fixed, use _value_is_fixed instead, since the fixedness depends on the content. 2004-11-29 17:02:09 +00:00
gstversion.h.in fix non-gtk-doc comment blocks 2003-12-24 14:39:46 +00:00
gstxml.c fix memleaks - #150001 2004-08-17 09:16:42 +00:00
gstxml.h docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331) 2004-08-18 21:46:55 +00:00
Makefile.am various build and spec file fixes 2005-01-11 12:05:02 +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