[FFmpeg-devel] [PATCH] Flushing the MP2 Decoder
Brian Brice
bbrice
Fri Jan 11 02:01:46 CET 2008
Hello,
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.
Thanks!
--
Brian Brice
http://www.heapify.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegaudiodec-mp2-flush.patch
Type: application/octet-stream
Size: 560 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080110/047352fc/attachment.obj>
More information about the ffmpeg-devel
mailing list