Patch from:
https://review.tizen.org/gerrit/#/c/313463/
Issue:
Sometimes video resume failed
Reason:
Because TizenRendererImpl::Suspend() doesn't invoke
MediaPlayerBridgeCapi::Suspend() but invoke MediaPlayerBridgeCapi::Release();
If suspend happened when MediaPlayerBridgeCapiTV is seeking,
the seeking state will not be cleared after Release().
Once resume event comes, the is_seeking_ flag will cause play fail.
Solution:
Reset is_seeking_ in MediaPlayerBridgeCapi::Release()
Change-Id: I4bf297f33231377d3e568ec9d49d58f2ae69295e
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
LOG_ID(INFO, player_id_) << "(" << static_cast<void*>(this) << ") "
<< __func__;
is_preparing_ = false;
+ is_seeking_ = false;
StopCurrentTimeUpdateTimer();
StopBufferingUpdateTimer();
player_unset_completed_cb(player_);