diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2015-04-13 07:42:37 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2015-04-13 07:42:37 +0200 |
commit | cc252ce781bd00c06a5d422ce5192d73aafed4f1 (patch) | |
tree | 41d5335ce8f167143fcc16eb34f8d7640bb5ba19 | |
parent | bbae27bb73e59b2e7134ad04bb825ea051805d9f (diff) | |
parent | 3e6a2087757c0f98192c462e5ffb2e712ed45e18 (diff) |
Merge pull request #6934 from FernetMenta/pvrrec
[PVR] disable thumb extraction for pvr recordings
-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()); |