Skip to content

Commit

Permalink
fixed: No need to fetch the resume point in the thumbLoader as this i…
Browse files Browse the repository at this point in the history
…s already done in LoadVideoInfo. Should also fix the race in ticket xbmc#13118 (thanks jmarshall)
  • Loading branch information
arnova committed Aug 23, 2012
1 parent 7935596 commit 2914f2d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions xbmc/ThumbLoader.cpp
Expand Up @@ -198,13 +198,6 @@ bool CVideoThumbLoader::LoadItem(CFileItem* pItem)

m_database->Open();

// resume point
if (pItem->HasVideoInfoTag() && !pItem->GetVideoInfoTag()->m_resumePoint.IsSet())
{
if (m_database->GetResumePoint(*pItem->GetVideoInfoTag()))
pItem->SetInvalid();
}

if (pItem->HasVideoInfoTag() && !pItem->GetVideoInfoTag()->HasStreamDetails() &&
(pItem->GetVideoInfoTag()->m_type == "movie" || pItem->GetVideoInfoTag()->m_type == "episode" || pItem->GetVideoInfoTag()->m_type == "musicvideo"))
{
Expand Down

0 comments on commit 2914f2d

Please sign in to comment.