summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2014-10-03 16:12:37 -0700
committerChong Zhang <chz@google.com>2014-10-03 23:25:54 +0000
commitf2a64852a4a48c5a3d8a08ffcda20d6884586672 (patch)
tree6f9909217ea845e3d57580240ad00116d7408069 /include
parentb220fe0e40bc3752b62a9576fc824634a16fc3ab (diff)
downloadframeworks_av-f2a64852a4a48c5a3d8a08ffcda20d6884586672.zip
frameworks_av-f2a64852a4a48c5a3d8a08ffcda20d6884586672.tar.gz
frameworks_av-f2a64852a4a48c5a3d8a08ffcda20d6884586672.tar.bz2
MediaRecorder: only dequeue available buffers from MediaCodec
Bug: 17514968 Change-Id: If232f92d163deb2440b927315c69e0c4d51ca290
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MediaCodecSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/MediaCodecSource.h b/include/media/stagefright/MediaCodecSource.h
index e1b2830..3629c8b 100644
--- a/include/media/stagefright/MediaCodecSource.h
+++ b/include/media/stagefright/MediaCodecSource.h
@@ -86,7 +86,7 @@ private:
void releaseEncoder();
status_t feedEncoderInputBuffers();
void scheduleDoMoreWork();
- status_t doMoreWork();
+ status_t doMoreWork(int32_t numInput, int32_t numOutput);
void suspend();
void resume(int64_t skipFramesBeforeUs = -1ll);
void signalEOS(status_t err = ERROR_END_OF_STREAM);