gstreamer/gst
Petr Kulhavy 7d75d3ef41 gstbuffer: reset buffer to its original size if intact
Enhance default_reset_buffer() to resize the buffer to its full size if the
memory hasn't changed. This allows to reuse the buffer even if the offset has
changed or the size has shrunk, rather than freeing the buffer.

Change related to: https://bugzilla.gnome.org/show_bug.cgi?id=772841
2018-03-21 17:50:30 -04:00
..
parse gst: Fix compilation with latest GLib 2018-03-20 16:11:01 +02:00
printf meson: enable more warnings 2018-03-01 17:20:48 +01:00
.gitignore gstbase: Add gobject-introspection support 2009-09-05 10:28:46 +02:00
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 Whenever we include windows.h, also define WIN32_LEAN_AND_MEAN 2016-02-20 10:07:42 +00:00
glib-compat.h Headers: add missing includes. 2015-08-15 13:17:07 +02: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 gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gst.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gst_private.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstallocator.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstallocator.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstatomicqueue.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstatomicqueue.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstbin.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstbin.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstbuffer.c gst: fix some GIR annotations 2018-02-18 12:16:36 +01:00
gstbuffer.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstbufferlist.c bufferlist: add gst_buffer_list_calculate_size() 2017-09-17 12:35:25 +01:00
gstbufferlist.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstbufferpool.c gstbuffer: reset buffer to its original size if intact 2018-03-21 17:50:30 -04:00
gstbufferpool.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstbus.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstbus.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstcaps.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstcaps.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstcapsfeatures.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstcapsfeatures.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstchildproxy.c gst: Fix compilation with latest GLib 2018-03-20 16:11:01 +02:00
gstchildproxy.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstclock.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstclock.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstcompat.h Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstconfig.h.in gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstcontext.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontext.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstcontrolbinding.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontrolbinding.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstcontrolsource.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstcontrolsource.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstdatetime.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstdatetime.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstdebugutils.c debugutils: Change dot-file functions documentation to proper gtk-doc 2018-03-05 11:52:24 +02:00
gstdebugutils.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstdevice.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstdevice.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstdevicemonitor.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstdevicemonitor.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstdeviceprovider.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstdeviceprovider.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstdeviceproviderfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdeviceproviderfactory.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstdynamictypefactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdynamictypefactory.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstelement.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstelement.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstelementfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstelementfactory.h elementfactory: GST_ELEMENT_FACTORY_TYPE_DECODABLE had DECRYPTOR added, update g-i annotation value 2018-03-21 10:11:30 +02:00
gstelementmetadata.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstenumtypes.c.template meson: use gnome.mkenums() with template files for enum file gen 2016-12-22 11:35:04 +00:00
gstenumtypes.h.template gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsterror.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsterror.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstevent.c gst: fix some GIR annotations 2018-02-18 12:16:36 +01:00
gstevent.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstformat.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstformat.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstghostpad.c ghostpad: ensure we build a ghost pad .. 2018-03-01 01:12:07 +01:00
gstghostpad.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstinfo.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstinfo.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstiterator.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstiterator.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstmacros.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstmemory.c gst: fix some GIR annotations 2018-02-18 12:16:36 +01:00
gstmemory.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstmessage.c gst: fix some GIR annotations 2018-02-18 12:16:36 +01:00
gstmessage.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstmeta.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstmeta.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstminiobject.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstminiobject.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstobject.c docs: explicit refer to GObject docs for floating refs 2018-01-12 18:47:17 +00:00
gstobject.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstpad.c pad: fix mixed declarations 2018-03-01 01:09:48 +01:00
gstpad.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstpadtemplate.c pad, ghostpad: use the template gtype if specified 2018-03-01 00:39:08 +01:00
gstpadtemplate.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstparamspecs.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstparamspecs.h paramspecs: Set g-i annotation values for GST_PARAM_* constants 2018-03-21 10:13:44 +02:00
gstparse.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstparse.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstpipeline.c element: Add missing values for "to same" state changes 2017-06-20 09:33:25 -04:00
gstpipeline.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstplugin.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstplugin.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstpluginfeature.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpluginfeature.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstpluginloader.c plugin: API: GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE 2017-09-26 13:12:00 +02:00
gstpluginloader.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstpoll.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpoll.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstpreset.c gst: Add some more (type filename) annotations 2018-03-04 10:25:08 +02:00
gstpreset.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstpromise.c promise: be more explicit in docs about who/when to use reply/interrupt/expire 2018-03-12 22:06:21 +11:00
gstpromise.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstprotection.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstprotection.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstquark.c events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquark.h events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquery.c gst: fix some GIR annotations 2018-02-18 12:16:36 +01:00
gstquery.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstregistry.c gst: Annotate various strings as type filename if they represent a path/filename 2017-12-03 14:48:54 +02:00
gstregistry.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstregistrybinary.c dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstregistrybinary.h tracer: initial prototype for the tracing subsystem 2015-10-05 20:59:39 +02:00
gstregistrychunks.c registrychunks: Make sure we use aligned memory 2017-11-20 17:01:04 +01:00
gstregistrychunks.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstsample.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstsample.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstsegment.c gst: fix some GIR annotations 2018-02-18 12:16:36 +01:00
gstsegment.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gststreamcollection.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gststreamcollection.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gststreams.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gststreams.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gststructure.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gststructure.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstsystemclock.c systemclock: set_default() clock parameter can be NULL 2017-12-20 18:56:23 +02:00
gstsystemclock.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttaglist.c gst: fix some GIR annotations 2018-02-18 12:16:36 +01:00
gsttaglist.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttagsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttagsetter.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttask.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttask.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttaskpool.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttaskpool.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttoc.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gsttoc.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttocsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttocsetter.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttracer.c docs: Fix a few gtk-doc warnings 2017-12-07 12:16:57 +00:00
gsttracer.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttracerfactory.c docs: include tracers in the documentation 2017-12-14 14:46:46 +11:00
gsttracerfactory.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttracerrecord.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gsttracerrecord.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttracerutils.c gsttraceutils: actually disable tracing system hooks if configured 2017-11-24 13:40:34 +01:00
gsttracerutils.h docs: Fix a few gtk-doc warnings 2017-12-07 12:16:57 +00:00
gsttypefind.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gsttypefind.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsttypefindfactory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttypefindfactory.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gsturi.c gst: Add some more (type filename) annotations 2018-03-04 10:25:08 +02:00
gsturi.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstutils.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstutils.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstvalue.c gst: Fix up a bunch of GIR annotations 2018-01-27 10:41:24 +00:00
gstvalue.h gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
gstversion.h.in gstversion: Add missing include in .in file. 2015-08-15 13:26:12 +02:00
Makefile.am gst: GST_EXPORT -> GST_API 2018-03-13 00:45:35 +00:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00
meson.build gst: add a promise object 2017-11-23 00:48:30 +11:00