fix random SEGV issue which is caused by wild pointer in libmix

When resolution changes, we should flush video video pipeline at
first, then free surface buffers.

Bug: 23160948

Change-Id: I84782d886d8a484c2131d0b3f529f82b9c6fd8c9
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
1 file changed
tree: 4ee5893a0368901e9c93c142aed2cd35195c4d22
  1. videocodec/
  2. Android.mk
  3. AUTHORS
  4. COPYING
  5. ebuild.mk
  6. README