Loading media/libstagefright/ACodec.cpp +16 −0 Original line number Diff line number Diff line Loading @@ -3461,6 +3461,22 @@ bool ACodec::IdleToExecutingState::onMessageReceived(const sp<AMessage> &msg) { return true; } case kWhatResume: { // We'll be active soon enough. return true; } case kWhatFlush: { // We haven't even started yet, so we're flushed alright... sp<AMessage> notify = mCodec->mNotify->dup(); notify->setInt32("what", ACodec::kWhatFlushCompleted); notify->post(); return true; } case kWhatSignalEndOfInputStream: { mCodec->onSignalEndOfInputStream(); Loading Loading
media/libstagefright/ACodec.cpp +16 −0 Original line number Diff line number Diff line Loading @@ -3461,6 +3461,22 @@ bool ACodec::IdleToExecutingState::onMessageReceived(const sp<AMessage> &msg) { return true; } case kWhatResume: { // We'll be active soon enough. return true; } case kWhatFlush: { // We haven't even started yet, so we're flushed alright... sp<AMessage> notify = mCodec->mNotify->dup(); notify->setInt32("what", ACodec::kWhatFlushCompleted); notify->post(); return true; } case kWhatSignalEndOfInputStream: { mCodec->onSignalEndOfInputStream(); Loading