playback: use mutex after release [1/1]

PD#TV-112495

Problem:
playback status will be set to STOP in update() procedure,
stop_playback() checked the status and return,
left the playback thread running(leak).

Solution:
stop_playback() should check the thread actcually,
not only the player status.

Verify:
Project

Change-Id: I4f7a2b1a383456f8aadc89a75257b1a245824470
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
1 file changed
tree: 06b3a3a80d56bbc183dbe147f2c908187713faa2
  1. include/
  2. src/
  3. test/
  4. Android.bp
  5. Android.mk
  6. Doxyfile
  7. LICENSE
  8. Makefile