gstreamer/gst
Wim Taymans f22d8f08e0 bufferpool: Use TAG_MEMORY to check memory before releasing
Tag allocated buffers with TAG_MEMORY. When they are released later,
only add them back to the pool if the tag is still there and the memory
has not been changed, otherwise throw the buffer away.
Add unit test to check various scenarios.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724481
2014-02-27 15:43:13 +01:00
..
parse parse: Some minor fixes 2014-01-16 15:38:51 +01:00
printf printf: fix handling of old printf extension specifiers for ABI compatibility 2013-04-18 00:46:58 +01:00
.gitignore
gettext.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat.c Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst-i18n-app.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst-i18n-lib.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst.c windows: Make GStreamer installation relocatable 2014-02-06 23:31:23 +01:00
gst.h caps: Add new data type for handling caps features to the caps 2013-03-31 18:15:52 +02:00
gst_private.h private: remove left-over comment 2013-10-25 21:28:30 +02:00
gstallocator.c sysmem: Only copy the requested part of memory instead of the complete source memory 2013-08-13 15:48:07 +02:00
gstallocator.h docs: unhide docs for allocator 2014-01-31 08:36:55 +01:00
gstatomicqueue.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstatomicqueue.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbin.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbin.h docs: cosmetic since marker fixes 2013-11-16 16:09:40 +00:00
gstbuffer.c buffer: add a new flag to track memory changes 2014-02-27 15:43:13 +01:00
gstbuffer.h buffer: add a new flag to track memory changes 2014-02-27 15:43:13 +01:00
gstbufferlist.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstbufferlist.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbufferpool.c bufferpool: Use TAG_MEMORY to check memory before releasing 2014-02-27 15:43:13 +01:00
gstbufferpool.h bufferpool: Use TAG_MEMORY to check memory before releasing 2014-02-27 15:43:13 +01:00
gstbus.c bus: fix the precondition for gst_bus_disable_sync_message_emission() 2013-04-10 21:50:53 +02:00
gstbus.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstcaps.c caps: When getting capsfeatures and none are there, store sysmem capsfeatures 2014-02-04 18:47:23 +01:00
gstcaps.h caps: Add new data type for handling caps features to the caps 2013-03-31 18:15:52 +02:00
gstcapsfeatures.c capsfeatures: Make sure that the static ANY/EMPTY capsfeatures are never mutable 2014-02-04 17:51:11 +01:00
gstcapsfeatures.h capsfeatures: Add GST_CAPS_FEATURES_ANY 2013-04-02 22:17:22 +02:00
gstchildproxy.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstchildproxy.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstclock.c clock: simplify internal gst_clock_return_get_name() helper 2013-08-14 21:41:23 +01:00
gstclock.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstcompat.h gst: minor docstring fixups to make g-i happy 2013-08-14 07:05:04 +02:00
gstconfig.h.in docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstcontext.c docs: add missing docs, fixing doc errors 2013-12-03 00:11:59 +00:00
gstcontext.h context: Add convenience function gst_context_has_context_type() 2013-09-19 09:49:40 +02:00
gstcontrolbinding.c controlbinding: relax the pspec for the control-source 2013-03-07 09:18:26 +01:00
gstcontrolbinding.h docs: fix more gtk-doc warnings 2014-02-01 16:18:13 +01:00
gstcontrolsource.c docs: add missing docs, fixing doc errors 2013-12-03 00:11:59 +00:00
gstcontrolsource.h docs: add missing docs, fixing doc errors 2013-12-03 00:11:59 +00:00
gstdatetime.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstdatetime.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstdebugutils.c debugutils: add a legend to pipeline dumps 2014-02-26 20:49:07 +01:00
gstdebugutils.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstelement.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstelement.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstelementfactory.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstelementfactory.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstelementmetadata.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsterror.c error: Add RESOURCE_NOT_AUTHORIZED error 2014-02-11 13:09:11 +01:00
gsterror.h error: GST_RESOURCE_ERROR_NOT_AUTHORIZED will be available since 1.2.4 2014-02-11 13:27:25 +01:00
gstevent.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstevent.h event: Remove CONTEXT downstream event 2013-09-17 13:09:34 +02:00
gstformat.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstformat.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstghostpad.c Revert "ghostpad: copy sticky events to SRC ghostpads" 2013-11-29 17:02:41 +01:00
gstghostpad.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstinfo.c info: move some env-var checks from gst to gstinfo as well 2014-01-16 20:47:53 +01:00
gstinfo.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstiterator.c iterator: Properly copy mutexes around when creating a copy of a filter iterator 2014-01-18 14:48:54 +01:00
gstiterator.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstmacros.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstmemory.c memory: explicitly cast to GstLockFlags to avoid compiler warnings 2013-11-04 11:53:56 +01:00
gstmemory.h memory: add method to check memory type 2013-02-26 15:37:24 +01:00
gstmessage.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstmessage.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstmeta.c basetransform: implement a default transform_meta. 2013-09-09 15:32:18 +02:00
gstmeta.h docs: fix more gtk-doc warnings 2014-02-01 16:18:13 +01:00
gstminiobject.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstminiobject.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstobject.c gstobject: add FIXME and docs for the disabled notify on parent 2014-01-09 08:49:40 +01:00
gstobject.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstpad.c docs: gst_pad_new_from_*_template and gst_buffer_pool_new constructors return floating references 2014-02-06 22:50:53 +01:00
gstpad.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstpadtemplate.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpadtemplate.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstparamspecs.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstparamspecs.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstparse.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstparse.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstpipeline.c pipeline: g-i: allow clock to be NULL in gst_pipeline_use_clock() 2013-08-10 11:33:58 +01:00
gstpipeline.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstplugin.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstplugin.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstpluginfeature.c docs: cosmetic since marker fixes 2013-11-16 16:09:40 +00:00
gstpluginfeature.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstpluginloader.c windows: Make GStreamer installation relocatable 2014-02-06 23:31:23 +01:00
gstpluginloader.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstpoll.c poll: improve debug 2014-01-30 12:31:48 +01:00
gstpoll.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstpreset.c windows: Make GStreamer installation relocatable 2014-02-06 23:31:23 +01:00
gstpreset.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstquark.c message/query: Simplify CONTEXT messages/queries to only contain a single type 2013-09-17 13:50:08 +02:00
gstquark.h message/query: Simplify CONTEXT messages/queries to only contain a single type 2013-09-17 13:50:08 +02:00
gstquery.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstquery.h message/query: Simplify CONTEXT messages/queries to only contain a single type 2013-09-17 13:50:08 +02:00
gstregistry.c docs: Fix location of plugins and registry in home directories 2014-02-11 20:56:48 +01:00
gstregistry.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstregistrybinary.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstregistrybinary.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstregistrychunks.c registry: small cleanups and use object log variants more 2013-10-25 21:29:01 +02:00
gstregistrychunks.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstsample.c docs: flesh out gst_sample_get_buffer() a little 2013-08-21 12:21:43 +01:00
gstsample.h sample: Add gst_sample_copy() 2013-08-21 08:51:34 +02:00
gstsegment.c segment: gst_segment_offset_running_time() will be available in 1.2.3 2014-01-15 11:13:00 +01:00
gstsegment.h segment: add method to offset the segment running-time 2014-01-08 15:04:00 +01:00
gststructure.c structure: Use get_uint64() in gst_structure_get_clock_time() 2014-02-25 16:11:20 +01:00
gststructure.h structure: Add getters for int64 and uint64 values 2014-02-25 15:41:45 +01:00
gstsystemclock.c systemclock: add Since markers for new API 2013-11-11 16:47:06 +00:00
gstsystemclock.h systemclock: Add gst_system_clock_set_default 2013-11-11 12:25:14 +01:00
gsttaglist.c taglist: add a tag for midi base note numbers 2013-12-30 14:22:37 +01:00
gsttaglist.h taglist: fix since marker again (1.3 -> 1.4) 2013-12-30 14:47:19 +01:00
gsttagsetter.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttagsetter.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttask.c gst: clear floating references for GstTask, GstTaskPool and GstCollectPads 2014-02-06 22:50:53 +01:00
gsttask.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttaskpool.c gst: clear floating references for GstTask, GstTaskPool and GstCollectPads 2014-02-06 22:50:53 +01:00
gsttaskpool.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttoc.c toc: some documentation updates 2013-03-24 17:53:35 +00:00
gsttoc.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttocsetter.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gsttocsetter.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttrace.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttrace.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttypefind.c Add few missing allow-none annotation 2013-07-03 14:25:07 -04:00
gsttypefind.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gsttypefindfactory.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttypefindfactory.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsturi.c gst: g_memmove() is deprecated 2013-11-21 15:04:04 +00:00
gsturi.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstutils.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstutils.h docs: gtkdoc is not good at parsing inline functions in headers 2014-02-15 21:27:23 +01:00
gstvalue.c gstvalue: Fix comparision of double range 2013-12-10 18:01:52 -05:00
gstvalue.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstversion.h.in Fix FSF address 2012-11-03 20:44:48 +00:00
Makefile.am printf: don't build if debugging subsystem was disabled 2013-04-13 01:19:41 +01:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00