summaryrefslogtreecommitdiffstats
path: root/include
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
commitd9ac621f590c51bdc38b46d5aabba2dbc84cbd58 (patch)
treed69db0370184727a7ad8514ced3c33dfdab8ac1d /include
parentf604c6f6a9bee6496393fe7c91065ad4ea73752c (diff)
downloadframeworks_base-d9ac621f590c51bdc38b46d5aabba2dbc84cbd58.zip
frameworks_base-d9ac621f590c51bdc38b46d5aabba2dbc84cbd58.tar.gz
frameworks_base-d9ac621f590c51bdc38b46d5aabba2dbc84cbd58.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')
-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);