diff options
author | Andreas Huber <andih@google.com> | 2010-09-22 10:00:08 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-09-22 10:06:56 -0700 |
commit | 15b1eeaf7f694939873bb28a2ef223e6826ef568 (patch) | |
tree | a184a00213123ffd20b175eeacfe5b9a5e06cc4a /media/libstagefright/include/AVCDecoder.h | |
parent | 5ee6bb5a8665cf09aa6266012d6ba7d405886724 (diff) | |
download | frameworks_av-15b1eeaf7f694939873bb28a2ef223e6826ef568.zip frameworks_av-15b1eeaf7f694939873bb28a2ef223e6826ef568.tar.gz frameworks_av-15b1eeaf7f694939873bb28a2ef223e6826ef568.tar.bz2 |
Make sure we drain the avc software decoder's output queue once we run out of input data.
Change-Id: I5de540675a64ac0b170eee10691d77a647950397
Diffstat (limited to 'media/libstagefright/include/AVCDecoder.h')
-rw-r--r-- | media/libstagefright/include/AVCDecoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/include/AVCDecoder.h b/media/libstagefright/include/AVCDecoder.h index 898c90a..eb3b142 100644 --- a/media/libstagefright/include/AVCDecoder.h +++ b/media/libstagefright/include/AVCDecoder.h @@ -82,6 +82,8 @@ private: void releaseFrames(); + MediaBuffer *drainOutputBuffer(); + AVCDecoder(const AVCDecoder &); AVCDecoder &operator=(const AVCDecoder &); }; |