playback: manage the auto-pause in fffb [1/1]
PD#SWPL-161006
Problem:
1. pause in FB is not catched by wrapper
FB -> pause(reach end)
-> set speed(100)(pause not checked, due to race)
-> still pause
2. condition race
the extra logic in wrapper
should be locked with player inner logic.
Solution:
1. correct the mutex location,
make the pause state notified.
2. move the extra logic in set_playback_speed,
they should be inner logic, and should be locked.
Verify:
PB
Change-Id: Ib57f74772d380b56779330d1b0306409b65c3c01
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
2 files changed