gstreamer/libs/gst
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 baseparse: Fix upstream read caching 2020-04-01 18:36:19 +11:00
check gstcheck: remove bogus refcount asserts 2019-12-10 09:42:37 +01:00
controller Remove autotools build system 2019-10-13 16:10:42 +01:00
helpers Remove autotools build system 2019-10-13 16:10:42 +01:00
net gstreamer: use of g_value_dup_string 2019-12-18 15:57:54 +01:00
meson.build meson: Always use a dependency object for dependencies 2018-09-05 16:33:43 +05:30