diff options
author | hkuang <hkuang@google.com> | 2014-09-02 13:57:31 -0700 |
---|---|---|
committer | hkuang <hkuang@google.com> | 2014-09-03 09:56:04 -0700 |
commit | 50f939d655a5156157564cb91434f1cce424b2dd (patch) | |
tree | ddd0e52d9bb69891a3a763841a1a0705d6eacb64 /media/libstagefright/codecs/on2/dec/SoftVPX.h | |
parent | b72726bad6c9253c26c82fea76bdf99e18b8ba6d (diff) | |
download | frameworks_av-50f939d655a5156157564cb91434f1cce424b2dd.zip frameworks_av-50f939d655a5156157564cb91434f1cce424b2dd.tar.gz frameworks_av-50f939d655a5156157564cb91434f1cce424b2dd.tar.bz2 |
Fix the bug that same video frame has been decoded twice during port reconfig.
This does not hurt normal video playback. But in adaptive playback,
this will lead to a little bit delay for some clips.
Bug: 17202935
Change-Id: I5af0a5911e28a1597c74d79960fac25faf72c9d2
Diffstat (limited to 'media/libstagefright/codecs/on2/dec/SoftVPX.h')
-rw-r--r-- | media/libstagefright/codecs/on2/dec/SoftVPX.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/on2/dec/SoftVPX.h b/media/libstagefright/codecs/on2/dec/SoftVPX.h index cd5eb28..8f68693 100644 --- a/media/libstagefright/codecs/on2/dec/SoftVPX.h +++ b/media/libstagefright/codecs/on2/dec/SoftVPX.h @@ -20,6 +20,10 @@ #include "SoftVideoDecoderOMXComponent.h" +#include "vpx/vpx_decoder.h" +#include "vpx/vpx_codec.h" +#include "vpx/vp8dx.h" + namespace android { struct SoftVPX : public SoftVideoDecoderOMXComponent { @@ -47,6 +51,8 @@ private: void *mCtx; + vpx_image_t *mImg; + status_t initDecoder(); DISALLOW_EVIL_CONSTRUCTORS(SoftVPX); |