[PORT FROM R3] Ensure video decoding completely stops when pipeline is being flushed.

BZ: 35857

When pipeline is flushed, video decoding needs to stop completely.

Change-Id: I8bb596bafdfe58858534921708523daf3a9f006c
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/50574
Reviewed-by: Poornachandran, Rajesh <rajesh.poornachandran@intel.com>
Reviewed-by: Saffores, Ryan D <ryan.d.saffores@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
1 file changed