[0.6.106] fix state transition issue 65/177465/2 submit/tizen/20180502.035414
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 30 Apr 2018 07:50:39 +0000 (16:50 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 30 Apr 2018 07:58:15 +0000 (16:58 +0900)
commiteb2aa046257b2d7074b97930e10eb4621d14037e
treed7720096a55505bd1561d48237649940724a73b0
parent48fa2c606bf5adbd32d2752ba648dfa9c8245159
[0.6.106] fix state transition issue

- there is state transition error during buffering.
- player_start
  -> buffering start(async pause) : not finished
     state : (p)paused, (c)playing, (p)paused, (t)playing
  -> buffering stop(async resume) : not finished
     state : (p)paused, (c)PLAYING, (p)PLAYING, (t)playing
  -> player_pause

  if there is a new pause request in case the buffering handling is not completed
  (== current : playing, pending : playing)
  the request will get failed.

Change-Id: I5f59eb28baa96bef67434d54fb4ee73733d8c771
packaging/libmm-player.spec
src/mm_player_priv.c