aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2015-04-12 11:54:45 +0200
committerRainer Hochecker <fernetmenta@online.de>2015-04-12 11:55:58 +0200
commit3e6a2087757c0f98192c462e5ffb2e712ed45e18 (patch)
tree0e42860af4891176ac224ebfb2989c798bde7e49
parent1549e4e19ab23f9801ce847a868ce2ad447df67e (diff)
[PVR] disable thumb extraction for pvr recordings
-rw-r--r--xbmc/cores/dvdplayer/DVDFileInfo.cpp7
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());