diff options
author | Andreas Huber <andih@google.com> | 2011-05-24 14:53:30 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-05-24 14:53:30 -0700 |
commit | f2af5a2c607e71ff4cd39da28b077c0a68b206fe (patch) | |
tree | 8b836eb9a3dad85163dfe000faae8ef07a986fec /media/libstagefright/omx | |
parent | 9eff287f4f59d6a0c9ca1d5dd8a7bb6e64acf5a4 (diff) | |
download | frameworks_av-f2af5a2c607e71ff4cd39da28b077c0a68b206fe.zip frameworks_av-f2af5a2c607e71ff4cd39da28b077c0a68b206fe.tar.gz frameworks_av-f2af5a2c607e71ff4cd39da28b077c0a68b206fe.tar.bz2 |
Make sure the software mpeg4 decoder supports multiple input frames per input buffer
to enable faster throughput in ACodec.
Change-Id: I6f6a1c70d9446f9d52c3df257b2d22358b0e71f4
Diffstat (limited to 'media/libstagefright/omx')
-rw-r--r-- | media/libstagefright/omx/SoftOMXPlugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/omx/SoftOMXPlugin.cpp b/media/libstagefright/omx/SoftOMXPlugin.cpp index 6bd6624..cfbcb96 100644 --- a/media/libstagefright/omx/SoftOMXPlugin.cpp +++ b/media/libstagefright/omx/SoftOMXPlugin.cpp @@ -21,6 +21,7 @@ #include "SoftOMXPlugin.h" #include "include/SoftOMXComponent.h" +#include <media/stagefright/foundation/ADebug.h> #include <media/stagefright/foundation/AString.h> #include <dlfcn.h> @@ -128,6 +129,7 @@ OMX_ERRORTYPE SoftOMXPlugin::destroyComponentInstance( void *libHandle = me->libHandle(); + CHECK_EQ(me->getStrongCount(), 1); me->decStrong(this); me = NULL; |