summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorAnu Sundararajan <sanuradha@ti.com>2011-04-14 17:09:35 -0500
committerAnu Sundararajan <sanuradha@ti.com>2011-04-14 17:09:35 -0500
commite086ad8dd4451fde6287a18fa267720492e17eaa (patch)
treeaf9dad823576cdc20a27ac135e80934a1fe705e0 /graphics/java/android/renderscript/RenderScriptGL.java
parent08d9d9a46250c4fad66e9b637e8898a3524c4286 (diff)
Stagefright: Return error if codec takes too long to return a buffer.
There are many scenarios where the codec may not return a valid buffer. In such a case, the OMXCodec::read() call hangs indefitely. Therefore, wait() call is replaced with waitRelative() so that it timesout after a few seconds and we exit gracefully. Change-Id: Ie03c5d1e979b71f6253efcaa0665aa5e541cebe2 Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
Diffstat (limited to 'graphics/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions