Skip to content

Commit

Permalink
VideoPlayer: continue normal playback if seek fails
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Jun 26, 2016
1 parent 8fb857c commit 9d4ccab
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion xbmc/cores/VideoPlayer/VideoPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2511,7 +2511,13 @@ void CVideoPlayer::HandleMessages()
FlushBuffers(!msg.GetFlush(), start, msg.GetAccurate(), msg.GetSync());
}
else
CLog::Log(LOGWARNING, "error while seeking");
{
CLog::Log(LOGDEBUG, "VideoPlayer: seek failed");
if (m_playSpeed != DVD_PLAYSPEED_PAUSE)
{
SetPlaySpeed(DVD_PLAYSPEED_NORMAL);
}
}

// set flag to indicate we have finished a seeking request
if(!msg.GetTrickPlay())
Expand Down

0 comments on commit 9d4ccab

Please sign in to comment.