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 | d9ac621f590c51bdc38b46d5aabba2dbc84cbd58 (patch) | |
tree | d69db0370184727a7ad8514ced3c33dfdab8ac1d /include | |
parent | f604c6f6a9bee6496393fe7c91065ad4ea73752c (diff) | |
download | frameworks_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.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); |