summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-02-05 13:56:33 -0800
committerMarco Nelissen <marcone@google.com>2014-02-05 13:59:40 -0800
commit6e56e8024c98c3e6e62772e1dd345dd2c1c36717 (patch)
treed0d2301b6476556213195fa048f20fc4205ce1e5 /media/libstagefright/codecs
parent2a16afb8dc056877f34124ba5befe75171de930f (diff)
downloadframeworks_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.cpp3
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;
}
}