summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/on2/h264dec/SoftAVC.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2013-06-14 11:58:27 -0700
committerAndreas Huber <andih@google.com>2013-06-14 11:58:27 -0700
commit2309d1a1ff016a31d9aa68272bcb471e64a26cfa (patch)
treea3824f73b8286e73c9328906076c6ebdff1d868a /media/libstagefright/codecs/on2/h264dec/SoftAVC.h
parent04411d3ed343added179703837c6c24444acce3b (diff)
downloadframeworks_av-2309d1a1ff016a31d9aa68272bcb471e64a26cfa.zip
frameworks_av-2309d1a1ff016a31d9aa68272bcb471e64a26cfa.tar.gz
frameworks_av-2309d1a1ff016a31d9aa68272bcb471e64a26cfa.tar.bz2
The software avc decoder would silently drop output frames if not
enough room was available in the output queue at the time they were available. No more. Change-Id: I5957290d40ba31bda7944271ec7f2aa0f1f7043c
Diffstat (limited to 'media/libstagefright/codecs/on2/h264dec/SoftAVC.h')
-rw-r--r--media/libstagefright/codecs/on2/h264dec/SoftAVC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/on2/h264dec/SoftAVC.h b/media/libstagefright/codecs/on2/h264dec/SoftAVC.h
index 0ed7ebe..ee69926 100644
--- a/media/libstagefright/codecs/on2/h264dec/SoftAVC.h
+++ b/media/libstagefright/codecs/on2/h264dec/SoftAVC.h
@@ -72,7 +72,7 @@ private:
bool mSignalledError;
status_t initDecoder();
- bool drainAllOutputBuffers();
+ void drainAllOutputBuffers(bool eos);
void drainOneOutputBuffer(int32_t picId, uint8_t *data);
void saveFirstOutputBuffer(int32_t pidId, uint8_t *data);
bool handleCropRectEvent(const CropParams* crop);