summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2015-04-10 17:18:22 -0700
committerLajos Molnar <lajos@google.com>2015-04-10 17:48:56 -0700
commite6109e2f10b43c2cc2561c6fd6633b5f988bd7a9 (patch)
tree3b8f9bd7d8caab7cdd2e58ad5a918619938db9a3 /include/media
parent421f47ca9c2dcc78584b2bb609c3755483b55155 (diff)
downloadframeworks_av-e6109e2f10b43c2cc2561c6fd6633b5f988bd7a9.zip
frameworks_av-e6109e2f10b43c2cc2561c6fd6633b5f988bd7a9.tar.gz
frameworks_av-e6109e2f10b43c2cc2561c6fd6633b5f988bd7a9.tar.bz2
mediaplayer: support async mode for widevine legacy mode
Bug: 14679336 Change-Id: Id224eb8c31ec148ca9a144758cc56ddbf5465f5c
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/MediaCodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h
index 0786fb9..3e3c276 100644
--- a/include/media/stagefright/MediaCodec.h
+++ b/include/media/stagefright/MediaCodec.h
@@ -135,6 +135,8 @@ struct MediaCodec : public AHandler {
status_t getOutputFormat(sp<AMessage> *format) const;
status_t getInputFormat(sp<AMessage> *format) const;
+ status_t getWidevineLegacyBuffers(Vector<sp<ABuffer> > *buffers) const;
+
status_t getInputBuffers(Vector<sp<ABuffer> > *buffers) const;
status_t getOutputBuffers(Vector<sp<ABuffer> > *buffers) const;