summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/OMXCodec.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-07-15 15:25:36 -0700
committerJames Dong <jdong@google.com>2011-07-15 15:32:21 -0700
commita57a9a491272aa884494b2ec7854960827a73742 (patch)
treef3a37638b79d9083ecd09dce607086155c84cdf8 /include/media/stagefright/OMXCodec.h
parent4378ace44b9de477608a6c2fbf7134bc0345555f (diff)
downloadframeworks_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.h1
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);