Skip to content

Commit

Permalink
gui: always hide seek dialog when player signals display after seek
Browse files Browse the repository at this point in the history
This fixes stuck seek bar with paplayer
  • Loading branch information
elupus committed Oct 21, 2012
1 parent 2b19840 commit abf5309
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions xbmc/GUIInfoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4056,6 +4056,7 @@ CStdString CGUIInfoManager::GetBuild()

void CGUIInfoManager::SetDisplayAfterSeek(unsigned int timeOut, int seekOffset)
{
g_infoManager.m_performingSeek = false;
if (timeOut>0)
{
m_AfterSeekTimeout = CTimeUtils::GetFrameTime() + timeOut;
Expand Down
3 changes: 0 additions & 3 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2044,10 +2044,7 @@ void CDVDPlayer::HandleMessages()

// set flag to indicate we have finished a seeking request
if(!msg.GetTrickPlay())
{
g_infoManager.m_performingSeek = false;
g_infoManager.SetDisplayAfterSeek();
}

// dvd's will issue a HOP_CHANNEL that we need to skip
if(m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD))
Expand Down

0 comments on commit abf5309

Please sign in to comment.