summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2013-03-06 17:42:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-06 17:42:23 +0000
commit8d4c382db4f89c30a309ffa16bef33930c691681 (patch)
treed3d999474ebca69ef02bde7ff11d96153e7c0f21 /include
parent060c68497a9ab59fd71ffbe7c9a7cd3e58489265 (diff)
parentba6218eae3dbcf3f962b3561b26374a214dbf5e2 (diff)
downloadframeworks_av-8d4c382db4f89c30a309ffa16bef33930c691681.zip
frameworks_av-8d4c382db4f89c30a309ffa16bef33930c691681.tar.gz
frameworks_av-8d4c382db4f89c30a309ffa16bef33930c691681.tar.bz2
Merge "Correct MediaCodec + Surface behavior" into jb-mr2-dev
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h3
-rw-r--r--include/media/stagefright/MediaCodec.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 097ec5f..96baf34 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -281,6 +281,9 @@ private:
status_t requestIDRFrame();
status_t setParameters(const sp<AMessage> &params);
+ // Send EOS on input stream.
+ void onSignalEndOfInputStream();
+
DISALLOW_EVIL_CONSTRUCTORS(ACodec);
};
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h
index ef695a7..35f46dc 100644
--- a/include/media/stagefright/MediaCodec.h
+++ b/include/media/stagefright/MediaCodec.h
@@ -212,6 +212,8 @@ private:
sp<AMessage> mActivityNotify;
+ bool mHaveInputSurface;
+
MediaCodec(const sp<ALooper> &looper);
static status_t PostAndAwaitResponse(