flacenc: Implement flushing
Submitted by GstBlub
Link to original bug (#770461)
Description
Created attachment 334249
flacenc: Implement flushing
This allows flacenc to flush its internal state when requested to do so. This is useful when placed into a pipeline to transcode and a seek is performed on that pipeline. Currently, a seek would lead to an error (+ assertion) like this:
WARN: gstaudioencoder.c:gst_audio_encoder_finish_frame:1028: error: received more encoded samples 4608 than provided 684 as inputs
Patch 334249, "flacenc: Implement flushing":
0001-flacenc-Implement-flushing.patch