Loading media/libstagefright/MediaCodec.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ void MediaCodec::onMessageReceived(const sp<AMessage> &msg) { { /* size_t index = */updateBuffers(kPortIndexInput, msg); if (mState == FLUSHING) { if (mState == FLUSHING || mState == STOPPING) { returnBuffersToCodecOnPort(kPortIndexInput); break; } Loading @@ -596,7 +596,7 @@ void MediaCodec::onMessageReceived(const sp<AMessage> &msg) { { /* size_t index = */updateBuffers(kPortIndexOutput, msg); if (mState == FLUSHING) { if (mState == FLUSHING || mState == STOPPING) { returnBuffersToCodecOnPort(kPortIndexOutput); break; } Loading Loading
media/libstagefright/MediaCodec.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ void MediaCodec::onMessageReceived(const sp<AMessage> &msg) { { /* size_t index = */updateBuffers(kPortIndexInput, msg); if (mState == FLUSHING) { if (mState == FLUSHING || mState == STOPPING) { returnBuffersToCodecOnPort(kPortIndexInput); break; } Loading @@ -596,7 +596,7 @@ void MediaCodec::onMessageReceived(const sp<AMessage> &msg) { { /* size_t index = */updateBuffers(kPortIndexOutput, msg); if (mState == FLUSHING) { if (mState == FLUSHING || mState == STOPPING) { returnBuffersToCodecOnPort(kPortIndexOutput); break; } Loading