diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2016-02-04 10:07:22 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-02-04 19:04:41 +0000 |
commit | 78a832ebd56447f18c51cef4afd06162712245a0 (patch) | |
tree | a9d85c0f5f961ba759cde31ce3d26a179d0c9eea /common | |
parent | 438a83df58643a65b8cb55161e3a2c7f8ac719e8 (diff) |
baseparse: fix stray discont flag set on outgoing buffers in push mode
We have no guarantees about what flags are set on buffers we take
out of the GstAdapter. If we push out multiple buffers from the
first input buffer (which will have discont set), only the first
buffer we push out should be flagged as discont, not all of the
buffers produced from that first initial input buffer.
Fixes issue where the first few mp3 frames/seconds of data in push
mode were skipped or garbled in some cases, and the discont flags
would also trip up decoders which were getting drained/flushed for
every buffer. This was a regression introduced in 1.6 apparently.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions