gstreamer/libs/gst/base
Jan Schmidt e906197c62 baseparse: Fix upstream read caching
When running in pull mode (for e.g. mp3 reading),
baseparse currently reads 64KB from upstream, then mp3parse
consumes typically around 417/418 bytes of it. Then
on the next loop, it will read a full fresh 64KB again,
which is a big waste.

Fix the read loop to use the available cache buffer first
before going for more data, until the cache drops to < 1KB.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/518
2020-04-01 18:36:19 +11:00
..
base-prelude.h libs: figure out right export define in configure 2018-09-24 08:39:37 +01:00
base.h base: Include gstbitwriter.h in the single-include header 2019-04-23 15:15:56 +00:00
gstadapter.c doc: Fix hotdoc warnings 2019-05-13 16:34:09 -04:00
gstadapter.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 08:50:59 +02:00
gstaggregator.c gstaggregator: fix the prototype of sink_event_pre_queue 2020-03-05 07:50:42 +00:00
gstaggregator.h gstaggregator: fix the prototype of sink_event_pre_queue 2020-03-05 07:50:42 +00:00
gstbaseparse.c baseparse: Fix upstream read caching 2020-04-01 18:36:19 +11:00
gstbaseparse.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 08:50:59 +02:00
gstbasesink.c basesink: Improve clarity of latency query maths debug message 2020-02-27 16:53:18 +00:00
gstbasesink.h base: GstBaseSrc/GstBaseSink::get_caps: add (nullable) to filter 2019-09-11 11:13:38 +02:00
gstbasesrc.c basesrc: Check the return value of gst_segment_do_seek() 2020-03-26 13:51:41 +00:00
gstbasesrc.h base: GstBaseSrc/GstBaseSink::get_caps: add (nullable) to filter 2019-09-11 11:13:38 +02:00
gstbasetransform.c basetransform: allow not passthrough if generate_output is implemented 2020-03-11 23:00:20 +11:00
gstbasetransform.h basetransform: Make gst_base_transform_reconfigure() public 2020-02-10 13:19:26 +02:00
gstbitreader-docs.h docs: align the comments correctly with the declaration in bitreader docs 2013-01-29 15:43:05 +00:00
gstbitreader.c Port to hotdoc 2019-05-13 16:34:09 -04:00
gstbitreader.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstbitwriter-docs.h bitwriter: Add a generic bit writer 2018-05-06 17:05:21 +02:00
gstbitwriter.c documentation: fix a number of typos 2019-10-06 11:12:11 -04:00
gstbitwriter.h bitwriter: Fix inclusion of header in C++ code 2019-04-23 15:15:56 +00:00
gstbytereader-docs.h docs: add a missing const in bytereader docs 2017-06-29 21:08:01 +02:00
gstbytereader.c Port to hotdoc 2019-05-13 16:34:09 -04:00
gstbytereader.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstbytewriter-docs.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbytewriter.c Port to hotdoc 2019-05-13 16:34:09 -04:00
gstbytewriter.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstcollectpads.c Remove deprecated GTimeVal 2019-12-10 19:18:32 -05:00
gstcollectpads.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 08:50:59 +02:00
gstdataqueue.c Don't pass default GLib marshallers for signals 2019-09-09 12:16:24 +00:00
gstdataqueue.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 08:50:59 +02:00
gstflowcombiner.c flowcombiner: passthrough the flow return if there are no pads 2020-03-26 02:31:52 +00:00
gstflowcombiner.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 08:50:59 +02:00
gstindex.c documentation: fix a number of typos 2019-10-06 11:12:11 -04:00
gstindex.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstmemindex.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpushsrc.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpushsrc.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 08:50:59 +02:00
gstqueuearray.c queuearray: Only clear dropped item if it is not returned 2018-10-15 18:47:16 +03:00
gstqueuearray.h queuearray: Add set_clear_func and clear functions 2018-09-27 19:32:54 +03:00
gsttypefindhelper.c typefindhelper: Mark gst_type_find_helper_get_range_full() as Since 1.14.3 2018-08-02 10:57:28 +03:00
gsttypefindhelper.h typefind: Add new gst_type_find_helper_get_range_full() that returns flow return 2018-08-01 14:23:04 +03:00
meson.build Port to hotdoc 2019-05-13 16:34:09 -04: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...