diff options
-rw-r--r-- | xbmc/cores/dvdplayer/DVDFileInfo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/cores/dvdplayer/DVDFileInfo.cpp b/xbmc/cores/dvdplayer/DVDFileInfo.cpp index c7641894d0..ac905b6028 100644 --- a/xbmc/cores/dvdplayer/DVDFileInfo.cpp +++ b/xbmc/cores/dvdplayer/DVDFileInfo.cpp @@ -55,6 +55,7 @@ #include "TextureCache.h" #include "Util.h" #include "utils/LangCodeExpander.h" +#include "pvr/PVRManager.h" bool CDVDFileInfo::GetFileDuration(const std::string &path, int& duration) @@ -116,6 +117,12 @@ bool CDVDFileInfo::ExtractThumb(const std::string &strPath, return false; } + if (pInputStream->IsStreamType(DVDSTREAM_TYPE_PVRMANAGER)) + { + delete pInputStream; + return false; + } + if (!pInputStream->Open(strPath.c_str(), "")) { CLog::Log(LOGERROR, "InputStream: Error opening, %s", redactPath.c_str()); |