diff options
author | Andreas Huber <andih@google.com> | 2012-05-10 10:54:15 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-05-10 10:54:15 -0700 |
commit | 7541ff5d83a3e77cb533841a0326a241550b95d9 (patch) | |
tree | 7ead109f66a97f4290ce58948b90703374d99ad3 /include | |
parent | c150ca7dda844891fa684f6898da7f7e0c40329d (diff) | |
download | frameworks_av-7541ff5d83a3e77cb533841a0326a241550b95d9.zip frameworks_av-7541ff5d83a3e77cb533841a0326a241550b95d9.tar.gz frameworks_av-7541ff5d83a3e77cb533841a0326a241550b95d9.tar.bz2 |
Properly connect/disconnect to/from the native window in MediaCodec.
Change-Id: Ib5bf90a3b81fca8ff2346235bc28a2bd0bc7bfb1
related-to-bug: 6472161
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MediaCodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h index d96007b..e46e8e9 100644 --- a/include/media/stagefright/MediaCodec.h +++ b/include/media/stagefright/MediaCodec.h @@ -210,6 +210,9 @@ private: void extractCSD(const sp<AMessage> &format); status_t queueCSDInputBuffer(size_t bufferIndex); + status_t setNativeWindow( + const sp<SurfaceTextureClient> &surfaceTextureClient); + DISALLOW_EVIL_CONSTRUCTORS(MediaCodec); }; |