To fix one xvid clip "can't play" problem

BZ: 80655

The clip itself has some problems. There is no N-VOP
following a {P|B} packed frame. When libmix encounters
such a situation, it will flush all the surfaces. This
will cause the new frame can't obtain free surfaces.

In this patch, it will try to decode the new I or P frame
instead of flushing the surfaces.

Change-Id: If809b8b85503c84b6f84b1fb7f4293d15e023c12
Signed-off-by: wfeng6 <wei.feng@intel.com>
Reviewed-on: http://android.intel.com:8080/87334
Reviewed-by: Wang, Yi A <yi.a.wang@intel.com>
Reviewed-by: Chen, Tianmi <tianmi.chen@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
1 file changed