mmal/codec: Implement full flush
To be able to handle seeking properly we need to do a full decoder flush on a discontinuity. As flushing the in- and output ports alone would not cause the codecs internal state to be reset we have to disable the ports, reconfigure and reenable. To ensure the flushing is synchronous the input buffers in transit are now tracked as well. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment