summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-05-07 15:31:28 -0700
committerLajos Molnar <lajos@google.com>2014-05-08 19:32:05 -0700
commitfc7fca77caa12993dd938d5ff43797d781291027 (patch)
tree14e40042e56178850395b4302291d7d84c2fe5cb /include
parente99703920adb8037c506bfc6d0159a1b9aa8cf7c (diff)
downloadframeworks_av-fc7fca77caa12993dd938d5ff43797d781291027.zip
frameworks_av-fc7fca77caa12993dd938d5ff43797d781291027.tar.gz
frameworks_av-fc7fca77caa12993dd938d5ff43797d781291027.tar.bz2
MediaCodec: add renderAndReleaseOutputBuffer() method with timestamp
Bug: 11784827 Change-Id: Ia1dcbd6c1d1a4380db04b750c0eb3fa0bd58d7b4
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MediaCodec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h
index 276543b..39e57de 100644
--- a/include/media/stagefright/MediaCodec.h
+++ b/include/media/stagefright/MediaCodec.h
@@ -100,6 +100,7 @@ struct MediaCodec : public AHandler {
uint32_t *flags,
int64_t timeoutUs = 0ll);
+ status_t renderOutputBufferAndRelease(size_t index, int64_t timestampNs);
status_t renderOutputBufferAndRelease(size_t index);
status_t releaseOutputBuffer(size_t index);