[FFmpeg-devel] [PATCH] Flushing the MP2 Decoder
Fri Jan 11 02:01:46 CET 2008
I believe I've found an issue with seeking relating to the MP2
decoder. It's most notable in the scenario that you've been decoding
frames that have sound, seek to an area of silence, then continue
decoding. After the seek, the first frame returned from the decoder
has a blip of sound from the previous audio.
Currently, there isn't a flush implementation for the MP2 decoder. In
researching what exactly needs to be flushed, I've noticed some fields
in MPADecodeContext that were previously set, causing the blip.
I've attached my implementation of a flush function for the MP2 decoder.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 560 bytes
Desc: not available
More information about the ffmpeg-devel