gstreamer/tests/check/libs
Jan Schmidt 177d0fa1c2 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-06-07 00:47:41 +01:00
..
.gitignore bitwriter: Add unit tests 2018-05-06 17:05:27 +02:00
adapter.c tests: fix tests when compiling with glib_checks=disabled 2018-11-10 15:37:36 +00:00
aggregator.c Fix typos in comments and docs 2018-05-01 11:18:03 +01:00
baseparse.c baseparse: Fix upstream read caching 2020-06-07 00:47:41 +01:00
basesink.c gstbasesink: Include segment.offset in the computation of position 2018-02-16 10:35:14 -03:00
basesrc.c tests: basesrc: unref gst_bus_timed_pop_filtered return 2019-04-17 23:03:56 +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 tests: collectpads: fix for CK_FORK=no 2016-04-10 20:57:55 +01:00
controller.c controllers: add new proxy control binding 2016-11-23 17:15:09 +11:00
flowcombiner.c flowcombiner: add a gst_flow_combiner_clear() method 2014-09-25 15:40:42 +01:00
gstharness.c harness: add gst_harness_take_all_data() + _take_all_data_as_{bytes,buffer}() 2017-12-05 15:37:00 +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: include config.h and don't include unix headers 2017-11-24 13:41:20 +01: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