[PORT FROM MAIN] libmix: DPB flushing enhancement

BZ: 70555

For H264, we have extra operation on flush to update DPB.
When entering into h264_dpb_flush_dpb(), we fall into a loop
leading to ANR. The solution is to disable dpb output and add
a dpb size check before updating DPB to avoid ANR issue.

Change-Id: Ie5957247ec269a9916716a799b2278df4a484cc6
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/81190
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
2 files changed
tree: e67c7a8fdbe287b6f91243bc4ce72ea1310a2d0b
  1. asfparser/
  2. mix_vbp/
  3. test/
  4. videodecoder/
  5. videoencoder/
  6. Android.mk
  7. README