Loading media/libstagefright/OMXCodec.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -2048,10 +2048,14 @@ int64_t OMXCodec::getDecodingTimeUs() { } void OMXCodec::on_message(const omx_message &msg) { // even in error state, we still need to process EMPTY_BUFFER_DONE // and FILL_BUFFER_DONE event, or we will run into mediaserver crash issue if (mState == ERROR) { if (msg.type == omx_message::EVENT) { ALOGW("Dropping OMX message - we're in ERROR state."); return; } } switch (msg.type) { case omx_message::EVENT: Loading Loading
media/libstagefright/OMXCodec.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -2048,10 +2048,14 @@ int64_t OMXCodec::getDecodingTimeUs() { } void OMXCodec::on_message(const omx_message &msg) { // even in error state, we still need to process EMPTY_BUFFER_DONE // and FILL_BUFFER_DONE event, or we will run into mediaserver crash issue if (mState == ERROR) { if (msg.type == omx_message::EVENT) { ALOGW("Dropping OMX message - we're in ERROR state."); return; } } switch (msg.type) { case omx_message::EVENT: Loading