[Pkg-phototools-devel] Bug#984276:

Jose Luis Rivero jrivero at openrobotics.org
Sat Nov 6 00:11:13 GMT 2021


Hello! Gazebo maintainer here, affected by this RC bug on opencolorio. I've
looked in the problem and seems something easy to fix:

diff --git a/src/core/ImageDesc.cpp b/src/core/ImageDesc.cpp
index 63156c8..e96e758 100644
--- a/src/core/ImageDesc.cpp
+++ b/src/core/ImageDesc.cpp
@@ -57,8 +57,8 @@ OCIO_NAMESPACE_ENTER
             os << "gData=" << planarImg->getGData() << ", ";
             os << "bData=" << planarImg->getBData() << ", ";
             os << "aData=" << planarImg->getAData() << ", ";
-            os << "width=" << packedImg->getWidth() << ", ";
-            os << "height=" << packedImg->getHeight() << ", ";
+            os << "width=" << planarImg->getWidth() << ", ";
+            os << "height=" << planarImg->getHeight() << ", ";
             os << "yStrideBytes=" << planarImg->getYStrideBytes() << "";
             os << ">";
         }

The repo in salsa seems to be a work in progress to get 2.x series into
Debian, although not finished yet. We could apply this patch on top of the
current version to fix this bug while the 2.x transition is being done.

Let me know if you need more help.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20211106/80556669/attachment.htm>


More information about the Pkg-phototools-devel mailing list