From d94e716af0e49d775f0c0c4f36dd2c136ba5f2b2 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Mon, 3 Jun 2013 15:48:11 -0700 Subject: Fix our software decoders to reset (more of) their internal state properly on a transition from idle->loaded. Change-Id: I56ccfeef24c391e50e42b522194206e35c7ab700 related-to-bug: 9105408 --- media/libstagefright/codecs/on2/dec/SoftVPX.h | 1 + 1 file changed, 1 insertion(+) (limited to 'media/libstagefright/codecs/on2/dec/SoftVPX.h') diff --git a/media/libstagefright/codecs/on2/dec/SoftVPX.h b/media/libstagefright/codecs/on2/dec/SoftVPX.h index 3e814a2..4cb05cf 100644 --- a/media/libstagefright/codecs/on2/dec/SoftVPX.h +++ b/media/libstagefright/codecs/on2/dec/SoftVPX.h @@ -40,6 +40,7 @@ protected: virtual void onQueueFilled(OMX_U32 portIndex); virtual void onPortFlushCompleted(OMX_U32 portIndex); virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled); + virtual void onReset(); private: enum { -- cgit v1.1