Merge change 5420 into donut

* changes:
  Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration.