gstreamer/tests/check/libs
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
..
adapter.c tests: fix tests when compiling with glib_checks=disabled 2018-11-10 15:37:36 +00:00
aggregator.c aggregator: refactor flushing logic 2019-06-10 23:04:31 +02:00
baseparse.c baseparse: Fix upstream read caching 2020-04-01 18:36:19 +11:00
basesink.c gstbasesink: Include segment.offset in the computation of position 2018-02-16 10:35:14 -03:00
basesrc.c basesrc: Add public gst_base_src_negotiate () function 2019-07-01 11:16:09 +02:00
bitreader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bitreader.c Fix FSF address 2012-11-03 20:44:48 +00:00
bitwriter.c bitwriter: Add unit tests 2018-05-06 17:05:27 +02:00
bytereader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytereader.c bytereader: fix peek value when scanning for 00 00 01 with non-0 offset 2017-02-22 11:07:24 +00:00
bytewriter-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytewriter.c Fix FSF address 2012-11-03 20:44:48 +00:00
collectpads.c documentation: fix a number of typos 2019-10-06 11:12:11 -04:00
controller.c controllers: add new proxy control binding 2016-11-23 17:15:09 +11:00
flowcombiner.c flowcombiner: passthrough the flow return if there are no pads 2020-03-26 02:31:52 +00:00
gstharness.c harness: fixed race condition on forward pad while forwarding sticky events to sink harness 2019-11-13 20:33:51 +00:00
gstlibscpp.cc tests: Add C++ tests for the other INIT macros we have 2016-04-07 20:29:10 +03:00
gstnetclientclock.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
gstnettimeprovider.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
gsttestclock.c tests-clock: Fix race in test_late_crank 2019-12-20 15:51:45 +00:00
libsabi.c tests: fix ABI check struct sizes for ARM 2013-01-17 09:27:48 +00:00
queuearray.c API: gst_queue_array_peek_nth 2018-04-14 00:14:56 +02:00
sparsefile.c sparsefile: Initialize memory in unit test to make valgrind happy 2014-06-29 19:16:05 +02:00
struct_arm.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_hppa.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_i386.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc32.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_sparc.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_x86_64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
test_transform.c tests: add missing license header to test_transform.c 2017-11-24 13:40:34 +01:00
transform1.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
transform2.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
typefindhelper.c Fix FSF address 2012-11-03 20:44:48 +00:00