diff options
author | Marco Nelissen <marcone@google.com> | 2014-02-05 13:56:33 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2014-02-05 13:59:40 -0800 |
commit | 6e56e8024c98c3e6e62772e1dd345dd2c1c36717 (patch) | |
tree | d0d2301b6476556213195fa048f20fc4205ce1e5 /media/libstagefright/codecs | |
parent | 2a16afb8dc056877f34124ba5befe75171de930f (diff) | |
download | frameworks_av-6e56e8024c98c3e6e62772e1dd345dd2c1c36717.zip frameworks_av-6e56e8024c98c3e6e62772e1dd345dd2c1c36717.tar.gz frameworks_av-6e56e8024c98c3e6e62772e1dd345dd2c1c36717.tar.bz2 |
Fix restart after EOS for mp3
b/12890850
Change-Id: I985a1ae94d7d62701296d95da34974eb29fcc535
Diffstat (limited to 'media/libstagefright/codecs')
-rw-r--r-- | media/libstagefright/codecs/mp3dec/SoftMP3.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/mp3dec/SoftMP3.cpp b/media/libstagefright/codecs/mp3dec/SoftMP3.cpp index 877e3cb..61df65e 100644 --- a/media/libstagefright/codecs/mp3dec/SoftMP3.cpp +++ b/media/libstagefright/codecs/mp3dec/SoftMP3.cpp @@ -335,6 +335,9 @@ void SoftMP3::onPortFlushCompleted(OMX_U32 portIndex) { // depend on fragments from the last one decoded. pvmp3_InitDecoder(mConfig, mDecoderBuf); mIsFirst = true; + mSignalledError = false; + mSawInputEos = false; + mSignalledOutputEos = false; } } |