Author: post
Date: 2014-02-06 18:22:26 +0100 (Thu, 06 Feb 2014)
New Revision: 613

Modified:
   RawSpeed/NefDecoder.cpp
Log:
Add Nikon auto black override hint. (For Nikon D5300 and D3300)

Modified: RawSpeed/NefDecoder.cpp
===================================================================
--- RawSpeed/NefDecoder.cpp     2014-01-12 19:27:31 UTC (rev 612)
+++ RawSpeed/NefDecoder.cpp     2014-02-06 17:22:26 UTC (rev 613)
@@ -393,7 +393,7 @@
 
   if (white != 65536)
     mRaw->whitePoint = white;
-  if (black >= 0)
+  if (black >= 0 && hints.find(string("nikon_override_auto_black")) == 
hints.end())
     mRaw->blackLevel = black;
 }
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to