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!
  • Bug#984276: Jose Luis Rivero

Reply via email to