summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-05-10 10:54:15 -0700
committerAndreas Huber <andih@google.com>2012-05-10 10:54:15 -0700
commit7541ff5d83a3e77cb533841a0326a241550b95d9 (patch)
tree7ead109f66a97f4290ce58948b90703374d99ad3 /include/media
parentc150ca7dda844891fa684f6898da7f7e0c40329d (diff)
downloadframeworks_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/media')
-rw-r--r--include/media/stagefright/MediaCodec.h3
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);
};