gstreamer/tests/check
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
..
elements query: add a new bitrate query 2018-11-07 15:04:14 +00:00
generic tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
gst gstdatetime: Add missing NULL check to gst_date_time_new_local_time 2020-06-04 22:59:10 +00:00
libs baseparse: Fix upstream read caching 2020-06-07 00:47:41 +01:00
pipelines tests: fix message leak in seek test 2017-04-19 13:39:46 +01:00
tools tests: refactor tools check a little 2014-10-31 16:10:01 +00:00
.gitignore tests: add check for gst-inspect --exists functionality 2012-09-01 23:02:10 +01:00
gstreamer.supp tests: add the valgrind suppression file from the "common" module 2019-03-24 18:11:41 +00:00
Makefile.am bitwriter: Add unit tests 2018-05-06 17:05:27 +02:00
meson.build tests: fdsrc: Exclude unit test on Windows 2019-03-10 11:48:31 +00:00