Skip to content

Commit

Permalink
[VideoThumbLoader] Make == operator more strict.
Browse files Browse the repository at this point in the history
  • Loading branch information
ace20022 committed Mar 1, 2015
1 parent 3f80a3d commit 2e7b267
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/video/VideoThumbLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ bool CThumbExtractor::operator==(const CJob* job) const
if (strcmp(job->GetType(),GetType()) == 0)
{
const CThumbExtractor* jobExtract = dynamic_cast<const CThumbExtractor*>(job);
if (jobExtract && jobExtract->m_listpath == m_listpath)
if (jobExtract && jobExtract->m_listpath == m_listpath
&& jobExtract->m_target == m_target)
return true;
}
return false;
Expand Down

0 comments on commit 2e7b267

Please sign in to comment.