diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-07-21 19:46:55 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-07-21 19:58:04 +0100 |
commit | 375976c847b80ab40ff30e1e5cef91ff12bddf50 (patch) | |
tree | 509bfafb8ecae5193adabcc7001ae48f6e394cb8 /gst/flv | |
parent | 89903987332864891691e511b8ef56022ac85ea4 (diff) |
flacdec: fix intermittent FLAC__STREAM_DECODER_ABORTED errors when seeking
When seeking in a local flac file (ie. operating pull-based), the decoder
would often just error out after the loop function sees a DECODER_ABORTED
status. This, however, is the read callback's way of telling our loop
function that pull_range failed and streaming should stop, in this case
because of the flush-start event that the seek handler pushed upstream
from the seeking thread. Handle this slightly better by storing the last
flow return from pull_range, so the loop function can evaluate it properly
when it encounters a DECODER_ABORTED and take the right action.
Fixes #578612.
Diffstat (limited to 'gst/flv')
0 files changed, 0 insertions, 0 deletions