diff options
author | James Dong <jdong@google.com> | 2011-07-15 15:25:36 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-07-15 15:32:21 -0700 |
commit | a57a9a491272aa884494b2ec7854960827a73742 (patch) | |
tree | f3a37638b79d9083ecd09dce607086155c84cdf8 /include/media/stagefright/OMXCodec.h | |
parent | 4378ace44b9de477608a6c2fbf7134bc0345555f (diff) | |
download | frameworks_av-a57a9a491272aa884494b2ec7854960827a73742.zip frameworks_av-a57a9a491272aa884494b2ec7854960827a73742.tar.gz frameworks_av-a57a9a491272aa884494b2ec7854960827a73742.tar.bz2 |
Do not wait forever for output buffers in OMXCodec.cpp and error out in case time out happens
o Deal with vendor codec hang bug
Change-Id: Ic8449afd43045f09a9e0bd3d1be9a320e59ccabe
Diffstat (limited to 'include/media/stagefright/OMXCodec.h')
-rw-r--r-- | include/media/stagefright/OMXCodec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h index a042ddb..77492ca 100644 --- a/include/media/stagefright/OMXCodec.h +++ b/include/media/stagefright/OMXCodec.h @@ -329,6 +329,7 @@ private: void restorePatchedDataPointer(BufferInfo *info); status_t applyRotation(); + status_t waitForBufferFilled_l(); int64_t retrieveDecodingTimeUs(bool isCodecSpecific); |