Skip to content

Commit

Permalink
[VideoPlayer] Remove item type check from CDVDFileInfo::ExtractThumb,…
Browse files Browse the repository at this point in the history
… not needed any longer, as now done in CThumbExtractor::DoWork()
  • Loading branch information
ksooo committed Sep 2, 2016
1 parent 115eed5 commit e52bf39
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xbmc/cores/VideoPlayer/DVDFileInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ bool CDVDFileInfo::ExtractThumb(const std::string &strPath,
unsigned int nTime = XbmcThreads::SystemClockMillis();
CFileItem item(strPath, false);

if (item.IsDiscImage() ||
item.IsPVR())
return false;

item.SetMimeTypeForInternetFile();
CDVDInputStream *pInputStream = CDVDFactoryInputStream::CreateInputStream(NULL, item);
if (!pInputStream)
Expand Down

0 comments on commit e52bf39

Please sign in to comment.