summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-27 17:17:01 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-27 17:17:01 (GMT)
commit34d59206f9ef15981dad16b2e3443f50f8c15395 (patch)
tree7815e2539f89c2b8da104febcacbe69d8b0e178f
parent523dfedb6333420c40f6e3e0d698ccd109b4f3cd (diff)
No need to unpack full image when we only need thumbnails
-rw-r--r--kstars/indi/indiccd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/indi/indiccd.cpp b/kstars/indi/indiccd.cpp
index 08d7ea1..80ffa6e 100644
--- a/kstars/indi/indiccd.cpp
+++ b/kstars/indi/indiccd.cpp
@@ -1232,7 +1232,7 @@ void CCD::processBLOB(IBLOB* bp)
}
// Let us unpack the image
- if( (ret = RawProcessor.unpack() ) != LIBRAW_SUCCESS)
+ /*if( (ret = RawProcessor.unpack() ) != LIBRAW_SUCCESS)
{
KStars::Instance()->statusBar()->showMessage(i18n("Cannot unpack_thumb %1: %2", rawFileName, libraw_strerror(ret)));
if(LIBRAW_FATAL_ERROR(ret))
@@ -1242,7 +1242,7 @@ void CCD::processBLOB(IBLOB* bp)
return;
}
// if there has been a non-fatal error, we will try to continue
- }
+ }*/
// Let us unpack the thumbnail
if( (ret = RawProcessor.unpack_thumb() ) != LIBRAW_SUCCESS)