gstreamer/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
..
gst baseparse: Fix upstream read caching 2020-04-01 18:36:19 +11:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-19 21:26:14 +01:00