aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-11-06 19:32:18 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2008-11-06 19:32:18 +0100
commitfde1aa8770d42e9a5abb598f1db3c54045f0d8c8 (patch)
tree06cc7ffeee2ae14c56045faea8f1822010113b5a /lib/python/Plugins
parent77488b1ad023f9221684e42e23d4e8f2a299d948 (diff)
downloadenigma2-fde1aa8770d42e9a5abb598f1db3c54045f0d8c8.tar.gz
enigma2-fde1aa8770d42e9a5abb598f1db3c54045f0d8c8.zip
allow reading jfif embedded exif thumbnails from jpeg files and use them to speed up thumbnail view in pictureplayer plugin
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/Extensions/PicturePlayer/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py
index a9d61ed9..ea906f0d 100644
--- a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py
@@ -155,7 +155,7 @@ class ThumbView(Screen):
if not createDir(cachedir):
cachefile = ""
- ptr = loadPic(self.path + self.thumblist[self.thumbindex], 180, 160, self.aspect, int(config.pic.resize.value), int(config.pic.rotate.value),1, cachefile)
+ ptr = loadPic(self.path + self.thumblist[self.thumbindex], 180, 160, self.aspect, int(config.pic.resize.value), int(config.pic.rotate.value), 1, cachefile, 1)
if ptr != None:
self["thumb"+str(self.thumbindex)].show()
self["thumb"+str(self.thumbindex)].instance.setPixmap(ptr)
@@ -486,7 +486,7 @@ class picmain(Screen):
if not createDir(cachedir):
cachefile = ""
- ptr = loadPic(self.filelist.getCurrentDirectory() + self.filelist.getFilename(), 180, 160, self.aspect, int(config.pic.resize.value), 0, 0, cachefile)
+ ptr = loadPic(self.filelist.getCurrentDirectory() + self.filelist.getFilename(), 180, 160, self.aspect, int(config.pic.resize.value), 0, 0, cachefile, 1)
if ptr != None:
self["thumbnail"].show()
self["thumbnail"].instance.setPixmap(ptr)