gstreamer/libs/gst/base
Vincent Penquerc'h 12757e604a adapter: automatically unmap on clearing
When _clear gets called between _map and _unmap, buffers
will be unreffed. If the adapter was mapped, memory leaks
may occur.
While calling _clear between _map and _unmap does not seem
like such a great idea, this is possible in the audio
encoder base class, as _clear may be called in _finish_frame.
Since the audio encoder relies on flushing to keep track of
timestamps, delaying flushing till after handle_frame seems
dangerous.
So, we unmap on clear, as the next unmap will do nothing.
This makes _clear safe to call between _map and _unmap,
while avoiding leaking the mapped buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=664133
2012-01-13 14:21:27 +01:00
..
.gitignore Update a bunch of gitignores to clean up my git status output 2009-01-23 16:08:40 +00:00
gstadapter.c adapter: automatically unmap on clearing 2012-01-13 14:21:27 +01:00
gstadapter.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstbaseparse.c Merge remote-tracking branch 'origin/master' into 0.11 2012-01-13 00:22:03 +00:00
gstbaseparse.h .h: fix header files 2011-11-11 17:30:03 +01:00
gstbasesink.c Merge branch 'master' into 0.11 2012-01-10 13:00:07 +01:00
gstbasesink.h basesink: clean up event handling 2011-12-02 22:20:08 +01:00
gstbasesrc.c basesrc: prevent unlikely caps leak 2012-01-13 14:21:27 +01:00
gstbasesrc.h basesrc: add async start option 2011-12-06 14:01:50 +01:00
gstbasetransform.c basetransform: If the filtered peer caps are already empty error out early 2011-12-20 14:37:09 +01:00
gstbasetransform.h docs: fix some more docs 2011-09-28 11:16:33 +02:00
gstbitreader-docs.h .h: fix header files 2011-11-11 17:30:03 +01:00
gstbitreader.c Merge branch 'master' into 0.11 2011-07-27 12:50:39 +02:00
gstbitreader.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstbytereader-docs.h .h: fix header files 2011-11-11 17:30:03 +01:00
gstbytereader.c Merge branch 'master' into 0.11 2011-07-27 12:50:39 +02:00
gstbytereader.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstbytewriter-docs.h docs: libgstbase: more gobject introspection annotations 2010-12-07 18:37:04 +00:00
gstbytewriter.c bytewriter: add method to write out a buffer 2011-11-23 11:04:00 +01:00
gstbytewriter.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstcollectpads.c Merge remote-tracking branch 'origin/master' into 0.11 2011-12-04 15:38:09 +00:00
gstcollectpads.h collectpads: move fields out of reserved and restore padding 2011-11-17 08:39:01 +01:00
gstcollectpads2.c GST_FLOW_UNEXPECTED -> GST_FLOW_EOS 2012-01-03 15:25:31 +01:00
gstcollectpads2.h Merge remote-tracking branch 'origin/master' into 0.11 2011-12-25 11:58:12 +00:00
gstindex.c index: rename GstAssocFlags to GstIndexAssociationFlags 2011-12-30 18:32:59 +00:00
gstindex.h index: rename GstAssocFlags to GstIndexAssociationFlags 2011-12-30 18:32:59 +00:00
gstmemindex.c index: rename GstAssocFlags to GstIndexAssociationFlags 2011-12-30 18:32:59 +00:00
gstpushsrc.c query: improve scheduling query 2011-11-18 17:27:16 +01:00
gstpushsrc.h pushsrc: make alloc method a vmethod 2011-11-10 13:36:10 +01:00
gsttypefindhelper.c make some more macros as inline functions 2011-12-05 10:24:34 +01:00
gsttypefindhelper.h typefind: fix for new getrange method signature 2011-11-17 16:15:23 +01:00
Makefile.am index: remove GstIndex and GstIndexFactory for now 2011-12-30 18:32:57 +00:00
README add short/long description docs to base classes add pushsrc to the docs remove consolidated doc fragments 2005-08-03 13:30:18 +00:00

Base classes
------------

GstBaseSink
  FIXME: not much point making it operate in pull mode as a generic
  base class I guess...