Loading an image from disk in AalVideoRendererControl::onSnapshotTaken() instead of passing the preview stops camera from crashing.
Loading an image from disk in ShaderVideoNode::onTakeSnapshot() and passing it as the preview keeps the camera crashing.
All that happens, is that the QImage is passed from ShaderVideoNode::onTakeSnapshot() via signal slot to AalVideoRendererControl::onSnapshotTaken() (maybe crossing thread boundaries).
No idea why that causes the crash...
Loading an image from disk in AalVideoRendere rControl: :onSnapshotTake n() instead of passing the preview stops camera from crashing.
Loading an image from disk in ShaderVideoNode ::onTakeSnapsho t() and passing it as the preview keeps the camera crashing.
All that happens, is that the QImage is passed from ShaderVideoNode ::onTakeSnapsho t() via signal slot to AalVideoRendere rControl: :onSnapshotTake n() (maybe crossing thread boundaries).
No idea why that causes the crash...