Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug919590 - Change OMXCodec::pause() to support b2g
Browse files Browse the repository at this point in the history
  • Loading branch information
sotaroikeda committed Jan 29, 2014
1 parent 7c4fbe5 commit b4d0c20
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions media/libstagefright/OMXCodec.cpp
Expand Up @@ -4517,11 +4517,8 @@ void OMXCodec::initOutputFormat(const sp<MetaData> &inputFormat) {
}

status_t OMXCodec::pause() {
Mutex::Autolock autoLock(mLock);

mPaused = true;

return OK;
// b2g does not support aosp OMXCodec::pause(). See Bug 919590.
return ERROR_UNSUPPORTED;
}

////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit b4d0c20

Please sign in to comment.