gstreamer/gst
Ali Sabil 136cfb3bed Convert unref/copy functions of GstMiniObject subclasses to static inline functions
unref and copy functions are sometimes used as function
pointers for example in the case of g_hash_table_new_full
as a GDestroyNotify function.

Currently GstBuffer, GstEvent, GstMessage and GstQuery
define their respective unref and copy functions as
macros, making use of gst_mini_object_unref/copy.
This approach works very well for most cases, except
for some automatically generated bindings (currently Vala),
where the memory management semantics are defined
declaratively.

The possible solutions would be to either convert all
the macros into static inline function, or change the
signature of gst_mini_object_unref to take a void*
instead of a GstMiniObject*.

Fixes bug #572480.
2009-02-22 18:51:08 +01:00
..
parse gst/parse/grammar.y: Remove unneeded casts. 2008-05-25 14:13:22 +00:00
.gitignore ignore more 2006-07-02 12:52:09 +00:00
gettext.h adding i18n tested with nl, seems to work fine 2004-01-13 11:30:00 +00:00
glib-compat-private.h configure.ac: Require GLib 2.12. 2008-04-01 13:55:20 +00:00
glib-compat.c gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +00:00
glib-compat.h Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it everywhere for GParamSpecs that use static... 2008-03-22 14:56:17 +00:00
gst-i18n-app.h The attached patch will make the inclusion of gettext.h unconditional in gst/gst-i18n-app.h and gst/gst-i18n-lib.h, a... 2006-07-03 14:14:48 +00:00
gst-i18n-lib.h Make --disable-nls to work 2007-04-18 10:58:31 +00:00
gst.c Replace some mentions of CVS by GIT 2009-02-08 10:28:59 +01:00
gst.h configure.ac: Add DATADIR for storing presets. 2008-05-27 15:11:35 +00:00
gst_private.h Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS... 2009-01-06 17:58:59 +00:00
gstbin.c gst/gstbin.c: Use an iterator to set the clock and the index so that we can release the object lock appropriately. Fi... 2009-01-05 10:14:28 +00:00
gstbin.h gst/gstbin.*: Add do-latency signal with the old default fallback implementation. This allows for custom latency calc... 2008-11-19 12:06:41 +00:00
gstbuffer.c gst/gstbuffer.c: Avoid costly typechecking for trivially correct pointers. 2008-11-13 18:09:45 +00:00
gstbuffer.h Convert unref/copy functions of GstMiniObject subclasses to static inline functions 2009-02-22 18:51:08 +01:00
gstbus.c bus: remove unused set/get property functions 2009-02-05 17:05:56 +02:00
gstbus.h API: add gst_bus_pop_filtered 2007-10-16 20:30:13 +00:00
gstcaps.c gst/gstcaps.c: Callgrind micro optimisations. 2008-11-06 15:09:34 +00:00
gstcaps.h gst/gstcaps.*: Constify the field gchar * params in set_simple and friends. 2008-03-24 10:33:41 +00:00
gstchildproxy.c gst/gstchildproxy.c: Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature of the the child-added / -removed si... 2008-07-08 09:04:25 +00:00
gstchildproxy.h gst/: Remove double interface from doc-string. 2008-08-12 06:27:35 +00:00
gstclock.c cleanup: remove unused variables in _class_init() and reindent. 2009-02-05 17:25:01 +02:00
gstclock.h gst/: Fixed a bunch of typos. 2008-05-26 10:07:09 +00:00
gstcompat.h docs/gst/gstreamer-sections.txt: ultral33t func10ns deserve to appear in the docs actualy 2005-08-30 08:17:48 +00:00
gstconfig.h.in Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. 2008-07-31 15:20:32 +00:00
gstdebugutils.c gst/gstdebugutils.c: Add some ideas, how to make the graph smaller. 2009-01-01 21:27:06 +00:00
gstdebugutils.h gst/gstdebugutils.h: Add missing Since' markers to gtk-doc blurbs. 2008-06-26 12:24:08 +00:00
gstelement.c gst/: Assign debug statements to relevant categories instead of the 'default' category so they don't get lost in debu... 2009-01-03 18:10:08 +00:00
gstelement.h gst/gstelement.h: Fix link in documentation. 2008-07-25 10:24:43 +00:00
gstelementfactory.c docs: format and indent examples. 2009-02-15 16:40:43 +02:00
gstelementfactory.h And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
gsterror.c gst/gsterror.c: Fix typo (spotted by Fabricio Godoy, #536723). 2008-06-05 08:55:41 +00:00
gsterror.h gst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659. 2008-04-09 17:34:54 +00:00
gstevent.c Add sequence numbers to events and messages. See #559250. 2008-11-04 12:22:53 +00:00
gstevent.h Convert unref/copy functions of GstMiniObject subclasses to static inline functions 2009-02-22 18:51:08 +01:00
gstfilter.c gst/gstfilter.c: Improve documentation of gst_filter_run(). Fixes #518627. 2008-02-25 15:37:36 +00:00
gstfilter.h docs/random/ensonic/media-device-daemon.txt: wild idea, can this be done? 2005-11-21 14:50:22 +00:00
gstformat.c gst/gstformat.c: g_type_class_ref() our GstFormat type to make sure we avoid the thread-unsafe bits of the GObject/GT... 2007-11-01 20:10:48 +00:00
gstformat.h gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have... 2007-11-02 18:35:37 +00:00
gstghostpad.c Clear target when the target pad disappears 2009-02-16 12:58:34 +01:00
gstghostpad.h gst/gstghostpad.*: Unbreak -good build, private is a reserved c++ keyword. 2008-10-08 10:39:24 +00:00
gstindex.c gst/gstindex.c: Add a debugging category for GstIndex, first little step in making indexing top-notch. 2009-01-03 18:16:54 +00:00
gstindex.h gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741). 2008-03-17 10:21:59 +00:00
gstindexfactory.c gst/gstelementfactory.c: Unref the factory after it was used the last time, not before. 2008-04-23 14:54:20 +00:00
gstindexfactory.h whitespace fixes 2005-10-15 15:30:24 +00:00
gstinfo.c Don't assume that <valgrind/valgrind.h> exists just because the binary is there. 2008-06-20 15:54:43 +00:00
gstinfo.h configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed. 2008-07-22 18:12:54 +00:00
gstinterface.c gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn... 2008-02-29 18:38:54 +00:00
gstinterface.h Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers 2009-01-30 18:25:39 +00:00
gstiterator.c gst/gstiterator.*: After 3 years it's about time to revise the documentation of the iterator objects. 2008-08-29 17:58:25 +00:00
gstiterator.h gst/gstiterator.*: After 3 years it's about time to revise the documentation of the iterator objects. 2008-08-29 17:58:25 +00:00
gstmacros.h docs/gst/gstreamer-sections.txt: Move GParamSepc macros to standart section. 2008-04-23 06:57:30 +00:00
gstmarshal.list check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstmessage.c Add message to request a state change 2009-02-18 15:31:55 +01:00
gstmessage.h Convert unref/copy functions of GstMiniObject subclasses to static inline functions 2009-02-22 18:51:08 +01:00
gstminiobject.c gst/gstminiobject.c: Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this function was not in the uns... 2008-05-03 19:23:43 +00:00
gstminiobject.h API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT 2008-03-22 14:51:17 +00:00
gstobject.c gst/: Assign debug statements to relevant categories instead of the 'default' category so they don't get lost in debu... 2009-01-03 18:10:08 +00:00
gstobject.h gst/: Fix small typos in the docs. 2007-09-24 11:46:35 +00:00
gstpad.c gst/gstpad.c: Avoid getting the acceptcaps function too early. 2008-11-21 16:48:48 +00:00
gstpad.h gst/gstpad.h: A small documentation fix. 2009-01-15 10:04:37 +00:00
gstpadtemplate.c gst/gstpadtemplate.c: Revert last change, since it breaks a few plugins, ffmpeg, alaw, and mulaw. Code is correct, b... 2008-08-29 00:34:58 +00:00
gstpadtemplate.h gst/glib-compat-private.h: Add compatibility macro for g_intern_string() for 2007-09-19 13:28:40 +00:00
gstparamspecs.c Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec docs to own section. 2008-04-15 06:16:33 +00:00
gstparamspecs.h Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec docs to own section. 2008-04-15 06:16:33 +00:00
gstparse.c API: gst_parse_launch_full() 2008-05-24 15:33:53 +00:00
gstparse.h API: gst_parse_launch_full() 2008-05-24 15:33:53 +00:00
gstpipeline.c gst/gstpipeline.c: Some more comments. 2008-10-29 17:04:50 +00:00
gstpipeline.h gst/gstelement.*: Improve docs a little. Added Since: for new macro. 2007-02-28 16:43:43 +00:00
gstplugin.c Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS... 2009-01-06 17:58:59 +00:00
gstplugin.h Document that GST_PLUGIN_DEFINE macros use PACKAGE define. Fixes #559722. 2009-01-25 22:11:32 +02:00
gstpluginfeature.c docs: format and indent examples. 2009-02-15 16:40:43 +02:00
gstpluginfeature.h gst/: Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is unused and unimplemented; finally, it is plugi... 2008-02-05 21:22:47 +00:00
gstpoll.c GstPoll: add methods to use gstpoll for timeouts 2009-02-03 17:49:02 +01:00
gstpoll.h GstPoll: add methods to use gstpoll for timeouts 2009-02-03 17:49:02 +01:00
gstpreset.c gst/gstpreset.c: Use g_unlink instead of unlink. 2008-10-31 14:24:49 +00:00
gstpreset.h gst/: Remove double interface from doc-string. 2008-08-12 06:27:35 +00:00
gstquark.c API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that ne... 2008-12-20 17:33:44 +00:00
gstquark.h API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that ne... 2008-12-20 17:33:44 +00:00
gstquery.c API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that ne... 2008-12-20 17:33:44 +00:00
gstquery.h Convert unref/copy functions of GstMiniObject subclasses to static inline functions 2009-02-22 18:51:08 +01:00
gstregistry.c Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS... 2009-01-06 17:58:59 +00:00
gstregistry.h Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the ... 2008-03-07 11:12:59 +00:00
gstregistrybinary.c binary registry: Rewrite sanity check to actualy catch something. 2009-02-06 10:51:28 +02:00
gstregistrybinary.h Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS... 2009-01-06 17:58:59 +00:00
gstregistryxml.c Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS... 2009-01-06 17:58:59 +00:00
gstsegment.c gst/gstsegment.c: Set the last_stop to a more meaningful position when configuring the segment. ie. the start/stop of... 2008-10-23 09:49:07 +00:00
gstsegment.h Expose gst_segment_copy() to make things easier for the c++ bindings. 2008-04-09 22:37:22 +00:00
gststructure.c gst/gstcaps.c: Callgrind micro optimisations. 2008-11-06 15:09:34 +00:00
gststructure.h Add function to get uint from a structure. 2007-08-12 16:40:59 +00:00
gstsystemclock.c Implement the systemclock with gstpoll 2009-02-03 18:04:46 +01:00
gstsystemclock.h Implement the systemclock with gstpoll 2009-02-03 18:04:46 +01:00
gsttaglist.c taglist: API: Add HOMEPAGE tag 2009-02-12 10:42:47 +01:00
gsttaglist.h taglist: API: Add HOMEPAGE tag 2009-02-12 10:42:47 +01:00
gsttagsetter.c Rename api added in previous commit and add since tag to docs. 2008-12-16 15:51:52 +00:00
gsttagsetter.h Rename api added in previous commit and add since tag to docs. 2008-12-16 15:51:52 +00:00
gsttask.c gst/: Fixed a bunch of typos. 2008-05-26 10:07:09 +00:00
gsttask.h gst/: Fixed a bunch of typos. 2008-05-26 10:07:09 +00:00
gsttrace.c gst/gst.c: Make _gst_disable_segtrap static, it's only used in gstplugin.c and we can use gst_segtrap_is_enabled() t... 2007-11-06 15:10:36 +00:00
gsttrace.h gst/: The attached patch adds two missing defines to gsttrace.h when tracing is disabled. It also corrects one exist... 2006-07-18 09:42:31 +00:00
gsttypefind.c Allow adding a typefinder without a typefind function so that it can be used 2009-01-21 12:45:45 +01:00
gsttypefind.h API: add gst_type_find_suggest_simple(), #533740. 2008-05-19 10:46:44 +00:00
gsttypefindfactory.c Allow adding a typefinder without a typefind function so that it can be used 2009-01-21 12:45:45 +01:00
gsttypefindfactory.h gst/: Fix memory leak in GstTypeFindFactory. 2005-11-29 23:56:20 +00:00
gsturi.c gst/gsturi.c: Don't segfault on input like "tel:+1-123-555-1234". 2008-08-28 10:45:04 +00:00
gsturi.h Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers 2009-01-30 18:25:39 +00:00
gstutils.c leak: don't return without calling va_end 2009-02-04 15:41:24 +02:00
gstutils.h gst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225. 2009-01-11 09:46:52 +00:00
gstvalue.c gst/gstvalue.c: Don't crash if either of the string GValues is empty. 2008-11-17 21:25:39 +00:00
gstvalue.h gst/gstvalue.*: Add more missing "Since:" tags to docs. 2007-12-12 14:04:14 +00:00
gstversion.h.in Replace some mentions of CVS by GIT 2009-02-08 10:28:59 +01:00
gstxml.c gst/gstxml.c: Clarify that the save_thyself() and restore_thyself() virtual functions of GstObject need to be overrid... 2008-10-10 15:38:06 +00:00
gstxml.h gtk-doc fixes; trailing-comma-in-enum fix. 2007-11-02 17:43:25 +00:00
Makefile.am Fix linking failures on Solaris. Fixes bug #568481. 2009-01-23 09:54:53 +01:00